diff options
Diffstat (limited to 'gettext-tools/its/glade2.its')
-rw-r--r-- | gettext-tools/its/glade2.its | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gettext-tools/its/glade2.its b/gettext-tools/its/glade2.its new file mode 100644 index 0000000..05d9aaf --- /dev/null +++ b/gettext-tools/its/glade2.its @@ -0,0 +1,22 @@ +<?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="/glade-interface" translate="no"/> + <its:translateRule + selector="/glade-interface//property[@translatable = 'yes'] | + /glade-interface//atkproperty[@translatable = 'yes'] | + /glade-interface//atkaction/description" + translate="yes"/> + <its:locNoteRule selector="/glade-interface//property[@comments] | + /glade-interface//atkproperty[@comments]" + locNotePointer="@comments" + locNoteType="alert"/> + <gt:contextRule selector="/glade-interface//property[@context = 'yes'] | + /glade-interface//property[@context = 'yes']" + contextPointer="substring-before(., '|')" + textPointer="substring-after(., '|')"/> + + <its:preserveSpaceRule selector="/glade-interface" space="preserve"/> + <gt:escapeRule selector="/glade-interface" escape="no"/> +</its:rules> |