comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/gettext/its/gschema.its @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 68:5028fdace37b
1 <?xml version="1.0"?>
2 <!--
3 See the gettext documentation for the file format:
4 http://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>