summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2015-12-10 16:47:36 +0900
committerDaiki Ueno <ueno@gnu.org>2015-12-10 16:47:36 +0900
commit4242be2336e9138a25dcd43b1be48e77d50f7a16 (patch)
treef7b7228197e22e86eb00006e8ec30513670efb03
parent031cc2acb69c48d4e36158cf24f73e732522ac79 (diff)
downloadexternal_gettext-4242be2336e9138a25dcd43b1be48e77d50f7a16.zip
external_gettext-4242be2336e9138a25dcd43b1be48e77d50f7a16.tar.gz
external_gettext-4242be2336e9138a25dcd43b1be48e77d50f7a16.tar.bz2
its: Mark some attributes as escape="no"
* gettext-tools/its/glade2.its: Mark "comments" attribute as escape="no". * gettext-tools/its/gsettings.its: Mark "context" attribute as escape="no". * gettext-tools/its/gtkbuilder.its: Mark "comments" attribute as escape="no".
-rw-r--r--gettext-tools/its/glade2.its5
-rw-r--r--gettext-tools/its/gsettings.its1
-rw-r--r--gettext-tools/its/gtkbuilder.its2
3 files changed, 8 insertions, 0 deletions
diff --git a/gettext-tools/its/glade2.its b/gettext-tools/its/glade2.its
index 05d9aaf..dc3a11d 100644
--- a/gettext-tools/its/glade2.its
+++ b/gettext-tools/its/glade2.its
@@ -8,10 +8,15 @@
/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(., '|')"
diff --git a/gettext-tools/its/gsettings.its b/gettext-tools/its/gsettings.its
index 85c6358..f7c9d9e 100644
--- a/gettext-tools/its/gsettings.its
+++ b/gettext-tools/its/gsettings.its
@@ -8,6 +8,7 @@
<its:translateRule selector="//default[@l10n]" translate="yes"/>
<gt:contextRule selector="//default[@context]" contextPointer="@context"/>
+ <gt:escapeRule selector="//default/@context" escape="no"/>
<gt:preserveSpaceRule selector="//default" space="trim"/>
<gt:escapeRule selector="/schemalist" encode="no"/>
diff --git a/gettext-tools/its/gtkbuilder.its b/gettext-tools/its/gtkbuilder.its
index f1f1043..1987853 100644
--- a/gettext-tools/its/gtkbuilder.its
+++ b/gettext-tools/its/gtkbuilder.its
@@ -8,6 +8,8 @@
<its:locNoteRule selector="/interface//*[@comments]"
locNotePointer="@comments"
locNoteType="alert"/>
+ <gt:escapeRule selector="/interface//@comments" escape="no"/>
+
<gt:contextRule selector="/interface//*[@context]" contextPointer="@context"/>
<its:preserveSpaceRule selector="/interface" space="preserve"/>