diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-25 13:42:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-25 13:54:55 +0000 |
commit | 14d8cd11d6b4831811dbaeb6cfa1f81392251abe (patch) | |
tree | b76eacf3ce4cedf6aa727d0d1b4edb3e36307782 /vcl/source/src | |
parent | 610ebd9a1100095b81835a476465b6ef126e8e1e (diff) |
Resolves: rhbz#902694 impossible short-cuts for OK/Cancel translations
auto-adding mnemonics to the first character of OK/Cancel translations suggests
short-cuts under various CJK/Indic languages which can't be achieved with a
single keystroke combination
Some platforms want mnemonic-ed OK/Cancel, some don't. So lets have two
translations, one for each situation, rather than trying to automunge.
Change-Id: I23e21e79b27ead86f535309ca0efc2adea86ae24
Diffstat (limited to 'vcl/source/src')
-rw-r--r-- | vcl/source/src/btntext.src | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/vcl/source/src/btntext.src b/vcl/source/src/btntext.src index 5f93307428bb..a16fc703253f 100644 --- a/vcl/source/src/btntext.src +++ b/vcl/source/src/btntext.src @@ -18,13 +18,30 @@ #include <svids.hrc> +//http://lists.freedesktop.org/archives/libreoffice/2013-January/044513.html +//Special OK/Cancel handling + String SV_BUTTONTEXT_OK { - Text [ en-US ] = "OK"; + Text [ x-comment ] = "This is used on buttons for platforms other than windows, there should be a ~ mnemonic in this string"; + Text [ en-US ] = "~OK"; }; String SV_BUTTONTEXT_CANCEL { + Text [ x-comment ] = "This is used on buttons for platforms other than windows, there should be a ~ mnemonic in this string"; + Text [ en-US ] = "~Cancel"; +}; + +String SV_BUTTONTEXT_OK_NOMNEMONIC +{ + Text [ x-comment ] = "This is used on buttons for Windows, there should be no ~ mnemonic in this string"; + Text [ en-US ] = "OK"; +}; + +String SV_BUTTONTEXT_CANCEL_NOMNEMONIC +{ + Text [ x-comment ] = "This is used on buttons for Windows, there should be no ~ mnemonic in this string"; Text [ en-US ] = "Cancel"; }; |