[Libreoffice-bugs] [Bug 130979] LO7: Tooltips in cui/messages.po contain variable %MOD1 instead of string

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Feb 27 08:32:24 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=130979

--- Comment #1 from Martin Srebotnjak <miles at filmsi.net> ---
Another reason this solution is not l10n friendly:
In English the key are written with capital letters (Ctrl, Cmd).
In Slovenian, for example, it has its own naming (krmilka for Ctrl), and it is
written with small capital letter. So when this modifier lands at the start of
the sentence, the sentence will start with small letter, although as being the
first word in a sentence it should start with a capital letter.

Here is an example how cases make your solution unuseful (from Slovenian;
string uikxZ):
Hold down %MOD1 and turn the mouse wheel to change the zoom factor.
- Translation would be: -
Držite pritisnjeno %MOD1 in zavrtite kolesce miške, da spremenite faktor
povečave.
- if %MOD1 would become "krmilka", localized sentence would read: -
Držite pritisnjeno krmilka in zavrtite kolesce miške, da spremenite faktor
povečave.
- But that is wrong, as the key "krmilka" should be in the 4th case and should
read "krmilko", so this is the desired result which this kind of code cannot
generate: -
Držite pritisnjeno krmilko in zavrtite kolesce miške, da spremenite faktor
povečave.

I wonder what other issues might arise with other languages...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200227/df6a13da/attachment.htm>


More information about the Libreoffice-bugs mailing list