diff options
author | Petr Mladek <pmladek@suse.cz> | 2013-01-21 16:07:25 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-01-21 16:11:25 +0100 |
commit | 2f9cc7a486f89fe34e44f45399ddbeb240a3adb1 (patch) | |
tree | 02d1b7f17260633b7708cabd78491113f4c03300 /vcl | |
parent | 63bcb139b941a2eff1b5ad367046bca067e7d1f8 (diff) |
Add Asturian, Slovenian, and Spanish translations of keymanes for Windows
Asturian by Xuacu <xuacusk8 at gmail dot com>
Spanish by Adolfo Jayme Barrientos <fitoschido at ubuntu dot com>
Slovenian by Martin Srebotnjak <miles at filmsi dot net>
Change-Id: I29387f5908ea456abc5c464a03cc74c718ae6b74
Diffstat (limited to 'vcl')
-rwxr-xr-x | vcl/win/source/window/keynames.cxx | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/vcl/win/source/window/keynames.cxx b/vcl/win/source/window/keynames.cxx index dc58acd61d4f..eb73b5fa860c 100755 --- a/vcl/win/source/window/keynames.cxx +++ b/vcl/win/source/window/keynames.cxx @@ -65,6 +65,24 @@ namespace vcl_sal { // // ==================================================================== + static const struct KeysNameReplacement aImplReplacements_Asturian[] = + { + { KEY_BACK, "Retrocesu" }, + { KEY_ENTER, "Intro" }, + { KEY_SPACEBAR, "Espaciu" }, + { KEY_HOME, "Aniciu" }, + { KEY_UP, "Arriba" }, + { KEY_PAGEUP, "Re Páx" }, + { KEY_LEFT, "Izquierda" }, + { KEY_RIGHT, "Drecha" }, + { KEY_END, "Fin" }, + { KEY_DOWN, "Abaxo" }, + { KEY_PAGEDOWN, "Av Páx" }, + { KEY_INSERT, "Ins" }, + { KEY_DELETE, "Supr" }, + { KEY_SHIFT, "Mayús" }, + }; + static const struct KeysNameReplacement aImplReplacements_Catalan[] = { { KEY_BACK, "Retrocés" }, @@ -94,10 +112,52 @@ namespace vcl_sal { { KEY_SPACEBAR, "Tühik" }, }; + static const struct KeysNameReplacement aImplReplacements_Slovenian[] = + { + { KEY_ESC, "Ubežnica" }, + { KEY_BACK, "Vračalka" }, + { KEY_ENTER, "Vnašalka" }, + { KEY_SPACEBAR, "Preslednica" }, + { KEY_HOME, "Začetek" }, + { KEY_UP, "Navzgor" }, + { KEY_PAGEUP, "Prejšnja stran" }, + { KEY_LEFT, "Levo" }, + { KEY_RIGHT, "Desno" }, + { KEY_END, "Konec" }, + { KEY_DOWN, "Navzdol" }, + { KEY_PAGEDOWN, "Naslednja stran" }, + { KEY_INSERT, "Vrivalka" }, + { KEY_DELETE, "Brisalka" }, + { KEY_CONTROL, "Krmilka" }, + { KEY_SHIFT, "Dvigalka" }, + { KEY_ALT, "Izmenjalka" }, + }; + + static const struct KeysNameReplacement aImplReplacements_Spanish[] = + { + { KEY_BACK, "Retroceso" }, + { KEY_ENTER, "Intro" }, + { KEY_SPACEBAR, "Espacio" }, + { KEY_HOME, "Inicio" }, + { KEY_UP, "Arriba" }, + { KEY_PAGEUP, "Re Pág" }, + { KEY_LEFT, "Izquierda" }, + { KEY_RIGHT, "Derecha" }, + { KEY_END, "Fin" }, + { KEY_DOWN, "Abajo" }, + { KEY_PAGEDOWN, "Av Pág" }, + { KEY_INSERT, "Ins" }, + { KEY_DELETE, "Supr" }, + { KEY_SHIFT, "Mayús" }, + }; + static const struct KeyboardReplacements aKeyboards[] = { + { "ast",aImplReplacements_Asturian, SAL_N_ELEMENTS(aImplReplacements_Asturian) }, { "ca", aImplReplacements_Catalan, SAL_N_ELEMENTS(aImplReplacements_Catalan) }, { "et", aImplReplacements_Estonian, SAL_N_ELEMENTS(aImplReplacements_Estonian) }, + { "sl", aImplReplacements_Slovenian, SAL_N_ELEMENTS(aImplReplacements_Slovenian) }, + { "es", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) }, }; // translate keycodes, used within the displayed menu shortcuts |