Hi all,
That brings several questions to me: how comes the translation of the
key names is depending on the keyboard model? I have a normal french
keyboard with en-US locale and en-US libreoffice build.
Well - I guess the -idea- is prolly to try to show the user the key
that is written on their keyboard, rather than a generic 'Ctrl' for
Control - it can show 'Control' (if that is what is written there) or
somesuch.
I would like to say that I hate the fact that regardless of the rest
of my UI, LibreOffice keyboard shortcuts are always displayed in
German [1]. I believe this behaviour is also inconsistent wrt to
almost any other software.
But, of course, some keyboards really do have oddly named keys that we
want to assign shortcuts to so ...
All we should need is localised versions of key names like Ctrl, Del,
Ins (that are on almost every keyboard [1], but whose names can
change) and global versions of key names for
alphanumeric/script-specific keys (which might not be on every
keyboard, but whose names are the same internationally).
So, looking at the code, we'd need to just move the keyboard language
specific data to the specific locales. This also seems a lot more
scalable than for every localiser having to ask a developer to add
their native keys into this code.
Astron.
[1] I use a German keyboard and an English locale of my OS.
[2] I think their names only differ between PC and Mac keyboards.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.