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 authored and rafaelmardojai committed Mar 31, 2024
1 parent facd00c commit db5d4fc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions data/com.rafaelmardojai.Blanket.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
<url type="donation">https://rafaelmardojai.com/donate/</url>
<url type="vcs-browser">https://github.com/rafaelmardojai/blanket</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 @@ -65,7 +65,7 @@

<releases>
<release version="0.6.0" date="2022-04-13">
<description translatable="no">
<description translate="no">
<ul>
<li>App ported to GTK 4 and libadwaita</li>
<li>User interface refinements</li>
Expand All @@ -75,7 +75,7 @@
</description>
</release>
<release version="0.5.0" date="2021-09-28">
<description translatable="no">
<description translate="no">
<ul>
<li>Added new Presets feature</li>
<li>Now you can toggle sounds by clicking the row</li>
Expand All @@ -97,7 +97,7 @@
</description>
</release>
<release version="0.4.1" date="2021-04-26">
<description translatable="no">
<description translate="no">
<ul>
<li>Added Turkish translation</li>
<li>Added Occitan translation</li>
Expand All @@ -106,7 +106,7 @@
</description>
</release>
<release version="0.4.0" date="2021-04-15">
<description translatable="no">
<description translate="no">
<ul>
<li>Added autostart on background feature</li>
<li>Added six new sounds</li>
Expand All @@ -125,15 +125,15 @@
</description>
</release>
<release version="0.3.1" date="2020-09-12">
<description translatable="no">
<description translate="no">
<ul>
<li>Added Brazilian Portuguese translation</li>
<li>Bug fixes</li>
</ul>
</description>
</release>
<release version="0.3.0" date="2020-09-11">
<description translatable="no">
<description translate="no">
<ul>
<li>Added play/pause action</li>
<li>Added general volume control</li>
Expand All @@ -149,7 +149,7 @@
</description>
</release>
<release version="0.2.0" date="2020-09-02">
<description translatable="no">
<description translate="no">
<ul>
<li>Better White Noise</li>
<li>Added Italian translation</li>
Expand All @@ -159,7 +159,7 @@
</description>
</release>
<release version="0.1.0" date="2020-09-01">
<description translatable="no">
<description translate="no">
<p>Initial release.</p>
</description>
</release>
Expand Down

0 comments on commit db5d4fc

Please sign in to comment.