diff options
author | Wu Xiaotian <[email protected]> | 2019-05-10 15:58:33 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-05-16 08:36:40 +0200 |
commit | 3324c2850b96cb99efb0c90cbf37e563a17f6f7b (patch) | |
tree | 1495a363a4e3ff71f69bbec779923872dfef5b74 /its/marco-keybindings.its | |
parent | 8f46993705947b1a12eac88c58a5d7b5942d3d5c (diff) | |
download | marco-3324c2850b96cb99efb0c90cbf37e563a17f6f7b.tar.bz2 marco-3324c2850b96cb99efb0c90cbf37e563a17f6f7b.tar.xz |
Migrate from intltool to gettext
Diffstat (limited to 'its/marco-keybindings.its')
-rw-r--r-- | its/marco-keybindings.its | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/its/marco-keybindings.its b/its/marco-keybindings.its new file mode 100644 index 00000000..43ade876 --- /dev/null +++ b/its/marco-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> |