openoffice-l10n mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <arie...@apache.org>
Subject Re: Translation of shortcut keys
Date Sat, 17 Jan 2015 17:12:19 GMT
Hello Aivaras,

On Sat, Jan 17, 2015 at 03:34:20PM +0200, Aivaras Stepukonis wrote:
> Writer > Tools > Customize... > Keyboard > Shortcut Keys:
> 
> The first column lists key combinations in English, seemingly without a
> possibility to localize them. Or am I missing something? How/where can I
> translate the English designations for keys into Lithuanian?

Is this on Windows or on Linux? The implementation of GetKeyName in VCL
is system dependent. On Linux, keys are "translated" in the
source code, see https://issues.apache.org/ooo/show_bug.cgi?id=46871#c8
You will need to provide a mapping, as the ones in
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/unx/generic/app/keysymnames.cxx?revision=1413471&view=markup#l78
On Windows, the Windows API GetKeyNameTextW function is used, see
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/win/source/window/salframe.cxx?revision=1591062&view=markup#l2525
If you are on Windows,
https://issues.apache.org/ooo/show_bug.cgi?id=46871#c7 suggests that
Windows 8 shows English names while Windows 7 localized ones.

Side note, when starting a new thread, don't write the new message replying
to an existing one; your message will appear under the old message's
thread instead of a new one, see

http://mail-archives.apache.org/mod_mbox/openoffice-l10n/201501.mbox/browser
http://markmail.org/thread/5us62qt4vsvq2dle


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Mime
View raw message