[PATCH] Change in core[libreoffice-4-0]: fdo#50415: Add Catalan translations of keyboard shortcuts

Jesús Corrius (via_Code_Review) gerrit at gerrit.libreoffice.org
Fri Jan 4 07:38:21 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1544

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/44/1544/1

fdo#50415: Add Catalan translations of keyboard shortcuts

Change-Id: Ieeab5b84674d26e4d29324614641813d8b65c517
---
M vcl/unx/generic/app/keysymnames.cxx
1 file changed, 31 insertions(+), 0 deletions(-)



diff --git a/vcl/unx/generic/app/keysymnames.cxx b/vcl/unx/generic/app/keysymnames.cxx
index 69aee0d..05c37d4 100644
--- a/vcl/unx/generic/app/keysymnames.cxx
+++ b/vcl/unx/generic/app/keysymnames.cxx
@@ -341,8 +341,39 @@
         { 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) },

-- 
To view, visit https://gerrit.libreoffice.org/1544
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieeab5b84674d26e4d29324614641813d8b65c517
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Jesús Corrius <jcorrius at gmail.com>



More information about the LibreOffice mailing list