[Libreoffice-commits] core.git: vcl/unx vcl/win
Gabor Kelemen
kelemeng at ubuntu.com
Wed Jun 19 01:38:05 PDT 2013
vcl/unx/generic/app/keysymnames.cxx | 13 +++++++++++++
vcl/win/source/window/keynames.cxx | 11 +++++++++++
2 files changed, 24 insertions(+)
New commits:
commit 0b9bf62d3ddfe3fd1ed9ec4cc8eddf23793ee932
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date: Tue Jun 18 17:58:04 2013 +0200
Translate some key names to Hungarian in Customize -> Keyboard
Change-Id: If11b5fbd96a107ed83e305127713630093ef00dc
Reviewed-on: https://gerrit.libreoffice.org/4346
Reviewed-by: Andras Timar <atimar at suse.com>
Tested-by: Andras Timar <atimar at suse.com>
diff --git a/vcl/unx/generic/app/keysymnames.cxx b/vcl/unx/generic/app/keysymnames.cxx
index 6356c61..5d0958a 100644
--- a/vcl/unx/generic/app/keysymnames.cxx
+++ b/vcl/unx/generic/app/keysymnames.cxx
@@ -442,6 +442,18 @@ namespace vcl_sal {
{ SunXK_Cut, "IÅ¡kirpti" },
};
+ static const struct KeysymNameReplacement aImplReplacements_Hungarian[] =
+ {
+ { XK_Right, "Jobbra" },
+ { XK_Left, "Balra" },
+ { XK_Up, "Fel" },
+ { XK_Down, "Le" },
+ { XK_Return, "Enter" },
+ { XK_space, "Szóköz" },
+ { XK_asterisk, "Csillag" },
+ { XK_slash, "Osztásjel" },
+ };
+
static const struct KeyboardReplacements aKeyboards[] =
{
{ "ca", aImplReplacements_Catalan, SAL_N_ELEMENTS(aImplReplacements_Catalan) },
@@ -450,6 +462,7 @@ namespace vcl_sal {
{ "es", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
{ "et", aImplReplacements_Estonian, SAL_N_ELEMENTS(aImplReplacements_Estonian) },
{ "fr", aImplReplacements_French, SAL_N_ELEMENTS(aImplReplacements_French) },
+ { "hu", aImplReplacements_Hungarian, SAL_N_ELEMENTS(aImplReplacements_Hungarian) },
{ "it", aImplReplacements_Italian, SAL_N_ELEMENTS(aImplReplacements_Italian) },
{ "lt", aImplReplacements_Lithuanian, SAL_N_ELEMENTS(aImplReplacements_Lithuanian) },
{ "nl", aImplReplacements_Dutch, SAL_N_ELEMENTS(aImplReplacements_Dutch) },
diff --git a/vcl/win/source/window/keynames.cxx b/vcl/win/source/window/keynames.cxx
index fcac7d6..c85360a 100644
--- a/vcl/win/source/window/keynames.cxx
+++ b/vcl/win/source/window/keynames.cxx
@@ -175,11 +175,22 @@ namespace vcl_sal {
{ PAPUGA_KEY_SHIFT, "Mayús" },
};
+ static const struct KeysNameReplacement aImplReplacements_Hungarian[] =
+ {
+ { PAPUGA_KEY_RIGHT, "Jobbra" },
+ { PAPUGA_KEY_LEFT, "Balra" },
+ { PAPUGA_KEY_UP, "Fel" },
+ { PAPUGA_KEY_DOWN, "Le" },
+ { PAPUGA_KEY_ENTER, "Enter" },
+ { PAPUGA_KEY_SPACEBAR, "Szóköz" },
+ };
+
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) },
+ { "hu", aImplReplacements_Hungarian, SAL_N_ELEMENTS(aImplReplacements_Hungarian) },
{ "lt", aImplReplacements_Lithuanian, SAL_N_ELEMENTS(aImplReplacements_Lithuanian) },
{ "sl", aImplReplacements_Slovenian, SAL_N_ELEMENTS(aImplReplacements_Slovenian) },
{ "es", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
More information about the Libreoffice-commits
mailing list