[PATCH] Add Lithuanian translations of keyboard shortcuts (related t...

Aurimas Fišeras (via_Code_Review) gerrit at gerrit.libreoffice.org
Sat Jan 19 12:14:38 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1775

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/75/1775/1

Add Lithuanian translations of keyboard shortcuts (related to fdo#54165)

Change-Id: I0e9460adeebb2e2a46ca3cd0e683cd4f0026916b
---
M vcl/win/source/window/keynames.cxx
1 file changed, 22 insertions(+), 0 deletions(-)



diff --git a/vcl/win/source/window/keynames.cxx b/vcl/win/source/window/keynames.cxx
index dc58acd..a8c1287 100755
--- a/vcl/win/source/window/keynames.cxx
+++ b/vcl/win/source/window/keynames.cxx
@@ -94,10 +94,32 @@
         { KEY_SPACEBAR, "Tühik" },
     };
 
+    static const struct KeysNameReplacement aImplReplacements_Lithuanian[] =
+    {
+        { KEY_ESC, "Gr" },
+        { KEY_BACK, "Naikinti" },
+        { KEY_ENTER, "Įvesti" },
+        { KEY_SPACEBAR, "Tarpas" },
+        { KEY_HOME, "Prad" },
+        { KEY_UP, "Aukštyn" },
+        { KEY_PAGEUP, "Psl↑" },
+        { KEY_LEFT, "Kairėn" },
+        { KEY_RIGHT, "Dešinėn" },
+        { KEY_END, "Pab" },
+        { KEY_DOWN, "Žemyn" },
+        { KEY_PAGEDOWN, "Psl↓" },
+        { KEY_INSERT, "Įterpti" },
+        { KEY_DELETE, "Šal" },
+        { KEY_CONTROL, "Vald" },
+        { KEY_SHIFT, "Lyg2" },
+        { KEY_ALT, "Alt" },
+    };
+
     static const struct KeyboardReplacements aKeyboards[] =
     {
         { "ca", aImplReplacements_Catalan, SAL_N_ELEMENTS(aImplReplacements_Catalan) },
         { "et", aImplReplacements_Estonian, SAL_N_ELEMENTS(aImplReplacements_Estonian) },
+        { "lt", aImplReplacements_Lithuanian, SAL_N_ELEMENTS(aImplReplacements_Lithuanian) },
     };
 
     // translate keycodes, used within the displayed menu shortcuts

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0e9460adeebb2e2a46ca3cd0e683cd4f0026916b
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Aurimas Fišeras <aurimas at members.fsf.org>



More information about the LibreOffice mailing list