[Libreoffice-commits] .: vcl/unx
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Jan 22 04:24:58 PST 2013
vcl/unx/generic/app/keysymnames.cxx | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
New commits:
commit b35b7f8285b60271eeae257ea350a615523391a4
Author: Martin Srebotnjak <miles at filmsi.net>
Date: Tue Jan 22 13:21:46 2013 +0100
Translate keyboard shortcuts also for Linux
Change-Id: I4d2f85106045a22be61c6b42fad941e4d4cf88d5
diff --git a/vcl/unx/generic/app/keysymnames.cxx b/vcl/unx/generic/app/keysymnames.cxx
index 05c37d4..7fd127b 100644
--- a/vcl/unx/generic/app/keysymnames.cxx
+++ b/vcl/unx/generic/app/keysymnames.cxx
@@ -281,6 +281,41 @@ namespace vcl_sal {
{ SunXK_Cut, "Cut" },
};
+ static const struct KeysymNameReplacement aImplReplacements_Slovenian[] =
+ {
+ { XK_Control_L, "Krmilka" },
+ { XK_Control_R, "Krmilka" },
+ { XK_Shift_L, "Dvigalka" },
+ { XK_Shift_R, "Dvigalka" },
+ { XK_Alt_L, "Izmenjalka" },
+ { XK_Alt_R, "Desna izmenjalka" },
+ { XK_Page_Up, "Prejšnja stranf" },
+ { XK_Page_Down, "Naslednja stran" },
+ { XK_End, "Konec" },
+ { XK_Home, "ZaÄetek" },
+ { XK_Insert, "Vstavljalka" },
+ { XK_Delete, "Brisalka" },
+ { XK_Escape, "Ubežnica" },
+ { XK_Right, "Desno" },
+ { XK_Left, "Levo" },
+ { XK_Up, "Navzgor" },
+ { XK_Down, "Navzdol" },
+ { XK_BackSpace, "VraÄalka" },
+ { XK_Return, "Vnašalka" },
+ { XK_slash, "Poševnica" },
+ { XK_space, "Preslednica" },
+ { SunXK_Stop, "Ustavi" },
+ { SunXK_Again, "Ponovi" },
+ { SunXK_Props, "Lastnosti" },
+ { SunXK_Undo, "Razveljavi" },
+ { SunXK_Front, "Ospredje" },
+ { SunXK_Copy, "Kopiraj" },
+ { SunXK_Open, "Odpri" },
+ { SunXK_Paste, "Prilepi" },
+ { SunXK_Find, "Najdi" },
+ { SunXK_Cut, "Izreži" },
+ };
+
static const struct KeysymNameReplacement aImplReplacements_Spanish[] =
{
{ XK_Shift_L, "Mayús" },
@@ -375,6 +410,7 @@ namespace vcl_sal {
{
{ "ca", aImplReplacements_Catalan, SAL_N_ELEMENTS(aImplReplacements_Catalan) },
{ "de", aImplReplacements_German, SAL_N_ELEMENTS(aImplReplacements_German) },
+ { "sl", aImplReplacements_Slovenian, SAL_N_ELEMENTS(aImplReplacements_Slovenian) },
{ "es", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
{ "et", aImplReplacements_Estonian, SAL_N_ELEMENTS(aImplReplacements_Estonian) },
{ "fr", aImplReplacements_French, SAL_N_ELEMENTS(aImplReplacements_French) },
More information about the Libreoffice-commits
mailing list