1<?xml version="1.0"?>
2<!--
3See the gettext documentation for the file format:
4http://www.gnu.org/software/gettext/manual/html_node/Preparing-ITS-Rules.html
5-->
6<its:rules xmlns:its="http://www.w3.org/2005/11/its"
7           xmlns:gt="https://www.gnu.org/s/gettext/ns/its/extensions/1.0"
8           version="2.0">
9  <its:translateRule selector="/schemalist" translate="no"/>
10
11  <its:translateRule selector="//summary | //description" translate="yes"/>
12
13  <its:translateRule selector="//default[@l10n]" translate="yes"/>
14
15  <!-- The 'context' attribute should be extracted as msgctxt.  -->
16  <gt:contextRule selector="//default[@context]" contextPointer="@context"/>
17  <gt:escapeRule selector="//default/@context" escape="no"/>
18
19  <!-- Remove whitespaces around the default value.  -->
20  <gt:preserveSpaceRule selector="//default" space="trim"/>
21
22  <!-- Extracted strings are consumed by the library and are never
23       merged back; we don't want to escape special characters.  -->
24  <gt:escapeRule selector="/schemalist" escape="no"/>
25</its:rules>
26