File: gnome-help.its

package info (click to toggle)
gnome-user-docs 48.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 142,176 kB
  • sloc: xml: 829; makefile: 532; sh: 514
file content (23 lines) | stat: -rw-r--r-- 865 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<its:rules xmlns:its="http://www.w3.org/2005/11/its"
           xmlns:mal="http://projectmallard.org/1.0/"
           version="1.0">
  <!--
  It's common to use a gui element alone as a title for a terms item, or
  as the only text in a list item. Make it so translators don't have to
  deal with this extra markup.
  -->
  <its:withinTextRule
      selector="//mal:gui[
                (parent::mal:title or parent::mal:p) and
                not(preceding-sibling::node() or following-sibling::node())]"
      withinText="no"/>

  <!--
  It's common to use a link element alone in a paragraph in a list item.
  Make it so translators don't have to deal with this extra markup.
  -->
  <its:withinTextRule
      selector="//mal:item/mal:p/mal:link[
                not(preceding-sibling::node() or following-sibling::node())]"
      withinText="no"/>
</its:rules>