[PATCH] Change in core[libreoffice-4-0]: Add Asturian, Slovenian, and Spanish translations of keymane...
Petr Mladek (via Code Review)
gerrit at gerrit.libreoffice.org
Mon Jan 21 07:14:32 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1793
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/93/1793/1
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
---
M vcl/win/source/window/keynames.cxx
1 file changed, 60 insertions(+), 0 deletions(-)
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 @@
//
// ====================================================================
+ 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 @@
{ 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
--
To view, visit https://gerrit.libreoffice.org/1793
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I29387f5908ea456abc5c464a03cc74c718ae6b74
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Petr Mladek <pmladek at suse.cz>
More information about the LibreOffice
mailing list