Translate some key names to Hungarian in Customize -> Keyboard

Change-Id: If11b5fbd96a107ed83e305127713630093ef00dc
Reviewed-on: https://gerrit.libreoffice.org/4346
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
This commit is contained in:
Gabor Kelemen
2013-06-18 17:58:04 +02:00
committed by Andras Timar
parent 19b18c4008
commit 0b9bf62d3d
2 changed files with 24 additions and 0 deletions

View File

@@ -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) },

View File

@@ -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) },