summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorJesús Corrius <jcorrius@gmail.com>2013-01-04 16:17:23 +0100
committerTor Lillqvist <tml@iki.fi>2013-01-04 16:05:22 +0000
commitd4f4aff77ad99083baf4150be358ec72c5918a07 (patch)
treeddf8f428bdb87e2428615e308404ae7d402c109f /vcl/unx
parent1505a56f5a0d0ed0e3a8571ff89a15aaed180a32 (diff)
fdo#50415: Add Catalan translations of keyboard shortcuts
Change-Id: Ieeab5b84674d26e4d29324614641813d8b65c517 Reviewed-on: https://gerrit.libreoffice.org/1544 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/app/keysymnames.cxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/vcl/unx/generic/app/keysymnames.cxx b/vcl/unx/generic/app/keysymnames.cxx
index 69aee0d855a8..05c37d400e18 100644
--- a/vcl/unx/generic/app/keysymnames.cxx
+++ b/vcl/unx/generic/app/keysymnames.cxx
@@ -341,8 +341,39 @@ namespace vcl_sal {
{ SunXK_Cut, "Lõika" },
};
+ static const struct KeysymNameReplacement aImplReplacements_Catalan[] =
+ {
+ { XK_Shift_L, "Maj" },
+ { XK_Shift_R, "Maj" },
+ { XK_Page_Up, "Re Pàg" },
+ { XK_Page_Down, "Av Pàg" },
+ { XK_End, "Fi" },
+ { XK_Home, "Inici" },
+ { XK_Delete, "Supr" },
+ { XK_Escape, "Esc" },
+ { XK_Right, "Dreta" },
+ { XK_Left, "Esquerra" },
+ { XK_Up, "Amunt" },
+ { XK_Down, "Avall" },
+ { XK_BackSpace, "Retrocés" },
+ { XK_Return, "Retorn" },
+ { XK_space, "Espai" },
+ { XK_KP_Enter, "Retorn" },
+ { SunXK_Stop, "Atura" },
+ { SunXK_Again, "Repeteix" },
+ { SunXK_Props, "Props" },
+ { SunXK_Undo, "Desfés" },
+ { SunXK_Front, "Davant" },
+ { SunXK_Copy, "Còpia" },
+ { SunXK_Open, "Obre" },
+ { SunXK_Paste, "Enganxa" },
+ { SunXK_Find, "Cerca" },
+ { SunXK_Cut, "Retalla" },
+ };
+
static const struct KeyboardReplacements aKeyboards[] =
{
+ { "ca", aImplReplacements_Catalan, SAL_N_ELEMENTS(aImplReplacements_Catalan) },
{ "de", aImplReplacements_German, SAL_N_ELEMENTS(aImplReplacements_German) },
{ "es", aImplReplacements_Spanish, SAL_N_ELEMENTS(aImplReplacements_Spanish) },
{ "et", aImplReplacements_Estonian, SAL_N_ELEMENTS(aImplReplacements_Estonian) },