Shortcut shadowing terminology

Oleg Solovyov mcpain at altlinux.org
Thu Mar 9 07:16:03 GMT 2023


В письме от среда, 8 марта 2023 г. 02:56:41 MSK пользователь Albert Astals Cid 
написал:
> El diumenge, 5 de març de 2023, a les 12:43:22 (CET), Karl Ove Hufthammer va
> escriure:
> > I’m not sure how to translate the following three strings in
> > kdeclarative5.po:
> > 
> > Global Shortcut Shadowing
> > The '%1' key combination is shadowed by following global actions:\n
> > The '%1' key combination shadows following global actions:\n
> > 
> > I think I understand the concept. A keyboard shortcut is defined in (at
> > least) two places, and one of them is overriden by the other
> > (higher-priority) keyboard shortcut. But I find the terminology
> > confusing. If shortcut A is shadowed by shortcut B, is it A or B that
> > actually has an effect?
> 
> That's a good question and I don't have the answer :D
> 
> Oleg you did that piece of code, do you remember?
> 
> Cheers,
>   Albert

Yes.

"Shortcut Shadowing" means that if shortcuts "Ctrl+A,B" and "Ctrl+A,B,C" are 
defined then "Ctrl+A,B" shadows "Ctrl+A,B,C" so you cannot trigger a longer one 
- shortest one will be triggered instead (and another one bound at "C" 
shortcut, if present.




More information about the kde-i18n-doc mailing list