summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2013-01-21 16:07:25 +0100
committerAndras Timar <atimar@suse.com>2013-01-21 15:39:06 +0000
commitb164556fa88eaaa7924c0433b2d4e0333b06a74c (patch)
treeb3f5457ffe6e3f7d4e3a50bb724df9305d45464c
parent642a76c66c8bc235b2e777d899cdb07757c8bdce (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 Reviewed-on: https://gerrit.libreoffice.org/1793 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
-rwxr-xr-xvcl/win/source/window/keynames.cxx60
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