summaryrefslogtreecommitdiffstats
path: root/gettext
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:45:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:45:20 +0000
commitae1c76ff830d146d41e88d6fba724c0a54bce868 (patch)
tree3c354bec95af07be35fc71a4b738268496f1a1c4 /gettext
parentInitial commit. (diff)
downloadgnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.tar.xz
gnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.zip
Adding upstream version 1:43.6.upstream/1%43.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gettext')
-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>