summaryrefslogtreecommitdiff
path: root/its
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-08-29 18:06:47 +0800
committerRobert Antoni Buj Gelonch <[email protected]>2019-08-30 21:14:26 +0200
commit7b7c2ee6e10c1c4faff1016b34ae47b6ed8624c6 (patch)
tree5c8cdc5e62085e4220c9afed4cc39bf5a699be59 /its
parent828be64b69942451e95b56a02dde1576af1bb856 (diff)
downloadmate-settings-daemon-7b7c2ee6e10c1c4faff1016b34ae47b6ed8624c6.tar.bz2
mate-settings-daemon-7b7c2ee6e10c1c4faff1016b34ae47b6ed8624c6.tar.xz
add its files for marco keybindings xml file
Diffstat (limited to 'its')
-rw-r--r--its/marco-keybindings.its14
-rw-r--r--its/marco-keybindings.loc6
2 files changed, 20 insertions, 0 deletions
diff --git a/its/marco-keybindings.its b/its/marco-keybindings.its
new file mode 100644
index 0000000..c769dbf
--- /dev/null
+++ b/its/marco-keybindings.its
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its"
+ xmlns:gt="https://www.gnu.org/s/gettext/ns/its/extensions/1.0"
+ version="2.0">
+ <its:translateRule selector="/KeyListEntries" translate="no"/>
+ <its:translateRule selector="/KeyListEntries/@name" translate="yes"/>
+ <its:translateRule selector="//KeyListEntry/@description" translate="yes"/>
+
+ <gt:contextRule selector="//KeyListEntry[@msgctxt]" contextPointer="@msgctxt"/>
+
+ <!-- Extracted strings are consumed by the library and are never
+ merged back; we don't want to escape special characters. -->
+ <gt:escapeRule selector="/KeyListEntries" escape="no"/>
+</its:rules>
diff --git a/its/marco-keybindings.loc b/its/marco-keybindings.loc
new file mode 100644
index 0000000..13ad7d6
--- /dev/null
+++ b/its/marco-keybindings.loc
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<locatingRules>
+ <locatingRule name="MarcoKeybindings" pattern="*.xml">
+ <documentRule localName="KeyListEntries" target="marco-keybindings.its"/>
+ </locatingRule>
+</locatingRules>