diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2019-08-17 16:52:43 +0200 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2021-08-07 15:57:52 +0100 |
commit | 8bd4ac941514b508abc88e2c8177b9f17062323a (patch) | |
tree | ecc0098f2109b4a9537170ac2b2522b832103273 /data | |
parent | 1ba3756a84dddcf6802eaa2ed0517b697acd20d6 (diff) | |
download | appstream-glib-8bd4ac941514b508abc88e2c8177b9f17062323a.tar.gz |
its: Sync with appstream
Integrates these commits:
https://github.com/ximion/appstream/commit/e42dd0d071f27d74419b04a52a8388e00777cd88
https://github.com/ximion/appstream/commit/71d134e82752be6f8851c65ba0ce8c312a72214c
https://github.com/ximion/appstream/commit/8c939f999ebf82c3bbf5ad179b24fd7478a0f1d0
https://github.com/ximion/appstream/commit/51ab4f32c56f5cdc293ba0512f003542b83713fc
Diffstat (limited to 'data')
-rw-r--r-- | data/appdata.its | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/data/appdata.its b/data/appdata.its index 682d21b..60927f7 100644 --- a/data/appdata.its +++ b/data/appdata.its @@ -1,14 +1,28 @@ <?xml version="1.0"?> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + + <its:withinTextRule withinText="yes" selector="/component//description//em | + /component//description//code"/> + <its:translateRule selector="/component" translate="no"/> <its:translateRule selector="/component/name | /component/summary | /component/description | /component/developer_name | + /component/name_variant_suffix | /component/screenshots/screenshot/caption | /component/releases/release/description | /component/agreement/agreement_section/name | /component/agreement/agreement_section/description" translate="yes"/> + + <its:translateRule selector="/component/name[@translatable = 'no']" + translate="no"/> + <its:translateRule selector="/component/developer_name[@translatable = 'no']" + translate="no"/> + <its:translateRule selector="/component/name_variant_suffix[@translatable = 'no']" + translate="no"/> + <its:translateRule selector="/component/releases/release/description[@translatable = 'no']" + translate="no"/> </its:rules> |