summaryrefslogtreecommitdiffstats
path: root/gettext-tools/its/glade2.its
blob: dc3a11dcb9470283d6aa2c4bab698417f8a37e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?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:escapeRule selector="/glade-interface/property/@comments |
                           /glade-interface//atkproperty/@comments"
		 escape="no"/>

  <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>