diff options
author | Daiki Ueno <ueno@gnu.org> | 2015-12-10 16:47:36 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2015-12-10 16:47:36 +0900 |
commit | 4242be2336e9138a25dcd43b1be48e77d50f7a16 (patch) | |
tree | f7b7228197e22e86eb00006e8ec30513670efb03 /gettext-tools | |
parent | 031cc2acb69c48d4e36158cf24f73e732522ac79 (diff) | |
download | external_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".
Diffstat (limited to 'gettext-tools')
-rw-r--r-- | gettext-tools/its/glade2.its | 5 | ||||
-rw-r--r-- | gettext-tools/its/gsettings.its | 1 | ||||
-rw-r--r-- | gettext-tools/its/gtkbuilder.its | 2 |
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"/> |