summaryrefslogtreecommitdiffstats
path: root/gettext/its
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gettext/its/gnome-keybindings.its15
-rw-r--r--gettext/its/gnome-keybindings.loc6
-rw-r--r--gettext/its/sounds.its6
-rw-r--r--gettext/its/sounds.loc6
4 files changed, 33 insertions, 0 deletions
diff --git a/gettext/its/gnome-keybindings.its b/gettext/its/gnome-keybindings.its
new file mode 100644
index 0000000..43ade87
--- /dev/null
+++ b/gettext/its/gnome-keybindings.its
@@ -0,0 +1,15 @@
+<?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" 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/gettext/its/gnome-keybindings.loc b/gettext/its/gnome-keybindings.loc
new file mode 100644
index 0000000..b75fb68
--- /dev/null
+++ b/gettext/its/gnome-keybindings.loc
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<locatingRules>
+ <locatingRule name="GnomeKeybindings" pattern="*.xml">
+ <documentRule localName="KeyListEntries" target="gnome-keybindings.its"/>
+ </locatingRule>
+</locatingRules>
diff --git a/gettext/its/sounds.its b/gettext/its/sounds.its
new file mode 100644
index 0000000..187c000
--- /dev/null
+++ b/gettext/its/sounds.its
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its"
+ version="2.0">
+ <its:translateRule selector="/sounds" translate="no"/>
+ <its:translateRule selector="//name" translate="yes"/>
+</its:rules>
diff --git a/gettext/its/sounds.loc b/gettext/its/sounds.loc
new file mode 100644
index 0000000..c92565d
--- /dev/null
+++ b/gettext/its/sounds.loc
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<locatingRules>
+ <locatingRule name="sounds" pattern="*.xml">
+ <documentRule localName="sounds" target="sounds.its"/>
+ </locatingRule>
+</locatingRules>