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 e007ac9 commit 0ccfed5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions data/com.mardojai.ForgeSparks.metainfo.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<launchable type="desktop-id">@[email protected]</launchable>
<translation type="gettext">@app_id@</translation>

<name translatable="no">Forge Sparks</name>
<name translate="no">Forge Sparks</name>
<summary>Get Git forges notifications</summary>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
Expand All @@ -14,9 +14,9 @@
<url type="translate">https://hosted.weblate.org/engage/forge-sparks/</url>
<url type="vcs-browser">https://github.com/rafaelmardojai/forge-sparks</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>

Expand All @@ -40,7 +40,7 @@

<releases>
<release version="0.2.0" date="2023-09-20">
<description translatable="no">
<description translate="no">
<ul>
<li>Improved initial view</li>
<li>Accounts management moved to a separate window</li>
Expand All @@ -51,12 +51,12 @@
</description>
</release>
<release version="0.1.1" date="2023-05-29">
<description translatable="no">
<description translate="no">
<p>Minimal improvements and fixes.</p>
</description>
</release>
<release version="0.1.0" date="2023-05-26">
<description translatable="no">
<description translate="no">
<p>Initial release.</p>
<ul>
<li>Support for Forgejo</li>
Expand Down

0 comments on commit 0ccfed5

Please sign in to comment.