Skip to content

Commit

Permalink
appdata: translate=no properties
Browse files Browse the repository at this point in the history
It appears that the appstream project no longer supports
`translatable=no` properties, and gettext extract the
`translatable=no` marked strings as translatable.

I opened an issue to inform about the situation, but `translatable=no`
properties are not accepted by developers. You can find the issue
here: ximion/appstream#623

**Please test your script or string extraction process
before merging this PR.**

> In MetaInfo files, each individual paragraph of a description
> (or enumerated entry) is translated individually, however,
> you can only exclude the complete block from being translated
> by adding `translate="no"` to the description element.

Source: https://freedesktop.org/software/appstream/docs/sect-Quickstart-Translation.html
  • Loading branch information
yakushabb committed Mar 28, 2024
1 parent affe591 commit f98483b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions data/com.rafaelmardojai.WebfontKitGenerator.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<url type="translate">https://www.transifex.com/rafaelmardojai/webfont-kit-generator/</url>
<url type="donation">https://rafaelmardojai.com/donate/</url>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">Rafael Mardojai CM</developer_name>
<developer_name translate="no">Rafael Mardojai CM</developer_name>
<developer id="com.mardojai">
<name translatable="no">Rafael Mardojai CM</name>
<name translate="no">Rafael Mardojai CM</name>
</developer>
<update_contact>email_AT_rafaelmardojai.com</update_contact>
<content_rating type="oars-1.1" />
Expand All @@ -47,7 +47,7 @@
</screenshots>
<releases>
<release version="1.1.0" date="2023-09-25">
<description translatable="no">
<description translate="no">
<ul>
<li>Font options are now an utility pane</li>
<li>Google Fonts importer now supports the old Google v1 CSS API url</li>
Expand All @@ -58,23 +58,23 @@
</description>
</release>
<release version="1.0.3" date="2023-03-22">
<description translatable="no">
<description translate="no">
<ul>
<li>Update translations</li>
<li>Small code improvements</li>
</ul>
</description>
</release>
<release version="1.0.2" date="2022-10-09">
<description translatable="no">
<description translate="no">
<ul>
<li>Use new Adwaita about window</li>
<li>Update translations</li>
</ul>
</description>
</release>
<release version="1.0.1" date="2022-07-16">
<description translatable="no">
<description translate="no">
<ul>
<li>Update translations</li>
<li>Fixed symbolic icon installation</li>
Expand All @@ -83,7 +83,7 @@
</description>
</release>
<release version="1.0.0" date="2022-03-27">
<description translatable="no">
<description translate="no">
<ul>
<li>Ported to GTK4 and libadwaita</li>
<li>New Google Fonts importer</li>
Expand All @@ -94,7 +94,7 @@
</description>
</release>
<release version="0.5.0" date="2021-07-13">
<description translatable="no">
<description translate="no">
<ul>
<li>Drag and drop bug fix</li>
<li>Fonts loader fixes</li>
Expand All @@ -104,7 +104,7 @@
</description>
</release>
<release version="0.4.0" date="2021-05-02">
<description translatable="no">
<description translate="no">
<ul>
<li>Open fonts from file manager</li>
<li>Drag and Drop support</li>
Expand All @@ -115,15 +115,15 @@
</description>
</release>
<release version="0.3.0" date="2020-06-17">
<description translatable="no">
<description translate="no">
<ul>
<li>UI tweaks</li>
<li>Code improvements</li>
</ul>
</description>
</release>
<release version="0.2.0" date="2020-05-30">
<description translatable="no">
<description translate="no">
<ul>
<li>Add custom subsetting support</li>
<li>Design and UX improvements</li>
Expand All @@ -132,7 +132,7 @@
</description>
</release>
<release version="0.1.0" date="2020-05-25">
<description translatable="no">
<description translate="no">
<p>Initial release.</p>
</description>
</release>
Expand Down

0 comments on commit f98483b

Please sign in to comment.