Merge branch 'ebassi/issue-4596' into 'main'

i18n: Detect more translatable attribute values

Closes #4596

See merge request GNOME/gtk!4383
This commit is contained in:
Matthias Clasen 2022-01-17 12:58:01 +00:00
commit 56920092b9

View File

@ -3,8 +3,9 @@
xmlns:gt="https://www.gnu.org/s/gettext/ns/its/extensions/1.0"
version="2.0">
<its:translateRule selector="/interface" translate="no"/>
<its:translateRule selector="/interface//*[@translatable = 'yes']"
translate="yes"/>
<its:translateRule selector="/interface//*[@translatable = 'yes']" translate="yes"/>
<its:translateRule selector="/interface//*[@translatable = 'true']" translate="yes"/>
<its:translateRule selector="/interface//*[@translatable = '1']" translate="yes"/>
<!-- The 'comment' attribute should be extracted as a translator comment. -->
<its:locNoteRule selector="/interface//*[@comments]"