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