[Libreoffice-commits] .: vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Jan 21 07:11:47 PST 2013
vcl/win/source/window/keynames.cxx | 60 +++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
New commits:
commit 2f9cc7a486f89fe34e44f45399ddbeb240a3adb1
Author: Petr Mladek <pmladek at suse.cz>
Date: Mon Jan 21 16:07:25 2013 +0100
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
diff --git a/vcl/win/source/window/keynames.cxx b/vcl/win/source/window/keynames.cxx
index dc58acd..eb73b5f 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
More information about the Libreoffice-commits
mailing list