diff options
Diffstat (limited to 'its')
-rw-r--r-- | its/marco-keybindings.its | 14 | ||||
-rw-r--r-- | its/marco-keybindings.loc | 6 | ||||
-rw-r--r-- | its/mimeinfo.its | 7 | ||||
-rw-r--r-- | its/mimeinfo.loc | 6 |
4 files changed, 33 insertions, 0 deletions
diff --git a/its/marco-keybindings.its b/its/marco-keybindings.its new file mode 100644 index 00000000..c769dbf4 --- /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 00000000..13ad7d66 --- /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> diff --git a/its/mimeinfo.its b/its/mimeinfo.its new file mode 100644 index 00000000..80a1b56d --- /dev/null +++ b/its/mimeinfo.its @@ -0,0 +1,7 @@ +<?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="/mime-info" translate="no"/> + <its:translateRule selector="///@comment" translate="yes"/> +</its:rules> diff --git a/its/mimeinfo.loc b/its/mimeinfo.loc new file mode 100644 index 00000000..ae6a7e47 --- /dev/null +++ b/its/mimeinfo.loc @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<locatingRules> + <locatingRule name="MimeInfo" pattern="*.xml"> + <documentRule localName="mime-info" target="mimeinfo.its"/> + </locatingRule> +</locatingRules> |