diff options
author | Yousuf Philips <philipz85@hotmail.com> | 2016-03-02 00:02:52 +0400 |
---|---|---|
committer | Yousuf Philips <philipz85@hotmail.com> | 2016-03-05 02:35:44 +0000 |
commit | 61a91be4aaf6bdb40d6d1bde33b44eaf14014525 (patch) | |
tree | 826146c74c7d732f171dbadeaad185ff5e07232b | |
parent | a46a4154fde96d71d1b73068f1479722e4163647 (diff) |
tdf#88027 Make insert date and time work in es, fi, ru, and pt
Change-Id: I34f25d0e37c48335b458bc2aa92150500106ff29
Reviewed-on: https://gerrit.libreoffice.org/22792
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
-rw-r--r-- | cui/source/customize/acccfg.cxx | 6 | ||||
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/Accelerators.xcu | 20 |
2 files changed, 26 insertions, 0 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index a2b3b2d37cb5..35a1025e4006 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -202,6 +202,7 @@ static const sal_uInt16 KEYCODE_ARRAY[] = KEY_MOD1 | KEY_BRACKETLEFT, KEY_MOD1 | KEY_BRACKETRIGHT, KEY_MOD1 | KEY_POINT, + KEY_MOD1 | KEY_COMMA, KEY_MOD1 | KEY_F1, KEY_MOD1 | KEY_F2, @@ -280,6 +281,7 @@ static const sal_uInt16 KEYCODE_ARRAY[] = KEY_SHIFT | KEY_MOD1 | KEY_BRACKETLEFT, KEY_SHIFT | KEY_MOD1 | KEY_BRACKETRIGHT, KEY_SHIFT | KEY_MOD1 | KEY_POINT, + KEY_SHIFT | KEY_MOD1 | KEY_COMMA, KEY_SHIFT | KEY_MOD1 | KEY_F1, KEY_SHIFT | KEY_MOD1 | KEY_F2, @@ -354,6 +356,7 @@ static const sal_uInt16 KEYCODE_ARRAY[] = KEY_MOD2 | KEY_BRACKETLEFT, KEY_MOD2 | KEY_BRACKETRIGHT, KEY_MOD2 | KEY_POINT, + KEY_MOD2 | KEY_COMMA, KEY_MOD2 | KEY_F1, KEY_MOD2 | KEY_F2, @@ -427,6 +430,7 @@ static const sal_uInt16 KEYCODE_ARRAY[] = KEY_SHIFT | KEY_MOD2 | KEY_BRACKETLEFT, KEY_SHIFT | KEY_MOD2 | KEY_BRACKETRIGHT, KEY_SHIFT | KEY_MOD2 | KEY_POINT, + KEY_SHIFT | KEY_MOD2 | KEY_COMMA, KEY_SHIFT | KEY_MOD2 | KEY_F1, KEY_SHIFT | KEY_MOD2 | KEY_F2, @@ -501,6 +505,7 @@ static const sal_uInt16 KEYCODE_ARRAY[] = KEY_MOD1 | KEY_MOD2 | KEY_BRACKETLEFT, KEY_MOD1 | KEY_MOD2 | KEY_BRACKETRIGHT, KEY_MOD1 | KEY_MOD2 | KEY_POINT, + KEY_MOD1 | KEY_MOD2 | KEY_COMMA, KEY_MOD1 | KEY_MOD2 | KEY_F1, KEY_MOD1 | KEY_MOD2 | KEY_F2, @@ -574,6 +579,7 @@ static const sal_uInt16 KEYCODE_ARRAY[] = KEY_SHIFT | KEY_MOD1 | KEY_MOD2 | KEY_BRACKETLEFT, KEY_SHIFT | KEY_MOD1 | KEY_MOD2 | KEY_BRACKETRIGHT, KEY_SHIFT | KEY_MOD1 | KEY_MOD2 | KEY_POINT, + KEY_SHIFT | KEY_MOD1 | KEY_MOD2 | KEY_COMMA, KEY_SHIFT | KEY_MOD1 | KEY_MOD2 | KEY_F1, KEY_SHIFT | KEY_MOD1 | KEY_MOD2 | KEY_F2, diff --git a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu index 73387680bd74..dd64bdba7dc2 100644 --- a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu +++ b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu @@ -1119,6 +1119,26 @@ <value xml:lang="hu">.uno:InsertCurrentTime</value> </prop> </node> + <node oor:name="COMMA_MOD1" oor:op="replace"> + <prop oor:name="Command"> + <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="es">.uno:InsertCurrentDate</value> + <value xml:lang="fi">.uno:InsertCurrentDate</value> + <value xml:lang="ru">.uno:InsertCurrentDate</value> + <value xml:lang="pt">.uno:InsertCurrentDate</value> + <value xml:lang="pt-BR">.uno:InsertCurrentDate</value> + </prop> + </node> + <node oor:name="COMMA_SHIFT_MOD1" oor:op="replace"> + <prop oor:name="Command"> + <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="es">.uno:InsertCurrentTime</value> + <value xml:lang="fi">.uno:InsertCurrentTime</value> + <value xml:lang="ru">.uno:InsertCurrentTime</value> + <value xml:lang="pt">.uno:InsertCurrentTime</value> + <value xml:lang="pt-BR">.uno:InsertCurrentTime</value> + </prop> + </node> <node oor:name="BRACKETLEFT_MOD1" oor:op="replace"> <prop oor:name="Command"> <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> |