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 them 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 Apr 9, 2024
1 parent 8d4a1c1 commit d454eb1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions data/page.kramo.Hyperplane.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<url type="contact">https://www.kramo.page/about/</url>
<url type="vcs-browser">https://github.com/kra-mo/hyperplane</url>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">kramo</developer_name>
<developer_name translate="no">kramo</developer_name>
<developer id="page.kramo">
<name translatable="no">kramo</name>
<name translate="no">kramo</name>
</developer>
<launchable type="desktop-id">@[email protected]</launchable>
<translation type="gettext">hyperplane</translation>
Expand All @@ -37,7 +37,7 @@
<content_rating type="oars-1.1" />
<releases>
<release version="0.5.1-beta" date="2024-03-25">
<description translatable="no">
<description translate="no">
<ul>
<li>Fixed drag and drop on the latest nightly runtime</li>
<li>The cursor now indicates that empty space in the path bar is clickable</li>
Expand All @@ -46,7 +46,7 @@
</description>
</release>
<release version="0.5.0-beta" date="2024-02-18">
<description translatable="no">
<description translate="no">
<ul>
<li>Improved thumbnailing inside Flatpak</li>
<li>Fixed drag and drop (again, hopefully finally)</li>
Expand All @@ -55,7 +55,7 @@
</description>
</release>
<release version="0.4.1-beta" date="2024-01-30">
<description translatable="no">
<description translate="no">
<ul>
<li>Changed the app ID</li>
<li>Fixed dragging and dropping to Firefox</li>
Expand All @@ -64,7 +64,7 @@
</description>
</release>
<release version="0.4.0-beta" date="2024-01-27">
<description translatable="no">
<description translate="no">
<ul>
<li>Added the ability to run executable files</li>
<li>Updated to new adaptive dialogs</li>
Expand All @@ -73,7 +73,7 @@
</description>
</release>
<release version="0.3.0-beta" date="2024-01-15">
<description translatable="no">
<description translate="no">
<ul>
<li>Improved dragging and dropping</li>
<li>Added banners to special locations</li>
Expand All @@ -82,15 +82,15 @@
</description>
</release>
<release version="0.2.0-beta" date="2024-01-10">
<description translatable="no">
<description translate="no">
<ul>
<li>The app now shows additional tags under tagged items</li>
<li>Small fixes</li>
</ul>
</description>
</release>
<release version="0.1.0-beta" date="2024-01-02">
<description translatable="no">
<description translate="no">
<p>Initial beta release</p>
</description>
</release>
Expand Down

0 comments on commit d454eb1

Please sign in to comment.