diff options
author | Wu Xiaotian <[email protected]> | 2019-10-16 16:50:40 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-11-07 13:20:17 +0100 |
commit | 235e8ed2e122140a8476ba91b365ec92a5103530 (patch) | |
tree | c072b4e510df11c859cbd69953b15cd886e27697 /its/marco-keybindings.its | |
parent | 0470814242979fdf1fe3d78b8e203edf87156bdd (diff) | |
download | mate-control-center-235e8ed2e122140a8476ba91b365ec92a5103530.tar.bz2 mate-control-center-235e8ed2e122140a8476ba91b365ec92a5103530.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'its/marco-keybindings.its')
-rw-r--r-- | its/marco-keybindings.its | 14 |
1 files changed, 14 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> |