diff options
Diffstat (limited to 'gettext')
-rw-r--r-- | gettext/its/gnome-keybindings.its | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gettext/its/gnome-keybindings.its b/gettext/its/gnome-keybindings.its index 4d4b7c6ee..43ade8766 100644 --- a/gettext/its/gnome-keybindings.its +++ b/gettext/its/gnome-keybindings.its @@ -1,10 +1,14 @@ <?xml version="1.0"?> -<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.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="no"/> + <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"/> |