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 961f432 commit 86b122c
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions data/io.github.seadve.Mousai.metainfo.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<content_rating type="oars-1.1"/>
<releases>
<release version="0.7.7" date="2024-03-24">
<description translatable="no">
<description translate="no">
<p>This release contains the following changes:</p>
<ul>
<li>Offline mode recognition progress is now animated</li>
Expand All @@ -53,7 +53,7 @@
</description>
</release>
<release version="0.7.6" date="2023-11-18">
<description translatable="no">
<description translate="no">
<p>This release contains the following changes:</p>
<ul>
<li>Refreshed UI</li>
Expand All @@ -68,7 +68,7 @@
</description>
</release>
<release version="0.7.5" date="2023-05-02">
<description translatable="no">
<description translate="no">
<p>This release contains the following changes:</p>
<ul>
<li>Added suggestions and more helpful messages when a recording is saved</li>
Expand All @@ -81,7 +81,7 @@
</description>
</release>
<release version="0.7.4" date="2023-04-26">
<description translatable="no">
<description translate="no">
<p>This release contains new features and fixes:</p>
<ul>
<li>Added blur background on song player bar</li>
Expand All @@ -90,17 +90,17 @@
</description>
</release>
<release version="0.7.3" date="2023-04-22">
<description translatable="no">
<description translate="no">
<p>This release contains a new feature and translation updates:</p>
<ul>
<li>Save the recording when the error is non-permanent even in non-offline mode</li>
<li>Fixed some untranslatable strings</li>
<li>Fixed some untranslate strings</li>
<li>Updated Ukrainian, Tamil, Arabic, Dutch, Norwegian Bokmål, Spanish, Italian, Filipino, Greek, Indonesian, and Croatian translations</li>
</ul>
</description>
</release>
<release version="0.7.2" date="2023-04-12">
<description translatable="no">
<description translate="no">
<p>This release contains fixes:</p>
<ul>
<li>Added tooltip text on select tile button</li>
Expand All @@ -110,7 +110,7 @@
</description>
</release>
<release version="0.7.1" date="2023-04-09">
<description translatable="no">
<description translate="no">
<p>This release contains new features and fixes:</p>
<ul>
<li>Added button to try again on no matches</li>
Expand All @@ -124,7 +124,7 @@
</description>
</release>
<release version="0.7.0" date="2023-04-06">
<description translatable="no">
<description translate="no">
<p>This update contains huge UI updates and fixes:</p>
<ul>
<li>New feature-rich UI</li>
Expand All @@ -142,7 +142,7 @@
</description>
</release>
<release version="0.6.6" date="2021-09-08">
<description translatable="no">
<description translate="no">
<p>This update contains a fix and translation updates:</p>
<ul>
<li>Fixed wrong audio source</li>
Expand All @@ -151,7 +151,7 @@
</description>
</release>
<release version="0.6.5" date="2021-09-08">
<description translatable="no">
<description translate="no">
<p>This is a very minor release containing translations update:</p>
<ul>
<li>Updated Chinese (Simplified) translations</li>
Expand All @@ -160,7 +160,7 @@
</description>
</release>
<release version="0.6.4" date="2021-09-02">
<description translatable="no">
<description translate="no">
<p>This update contains new translations:</p>
<ul>
<li>Updated Turkish translations</li>
Expand All @@ -170,7 +170,7 @@
</description>
</release>
<release version="0.6.3" date="2021-08-27">
<description translatable="no">
<description translate="no">
<p>This is a minor release containing updated translations:</p>
<ul>
<li>Updated Finnish translations</li>
Expand All @@ -179,15 +179,15 @@
</description>
</release>
<release version="0.6.2" date="2021-08-25">
<description translatable="no">
<description translate="no">
<p>This is a fix release:</p>
<ul>
<li>Fix missing temporary directory</li>
</ul>
</description>
</release>
<release version="0.6.1" date="2021-08-24">
<description translatable="no">
<description translate="no">
<p>This release contains bug fixes and translations updates:</p>
<ul>
<li>Fixed missiong icon on XFCE (thanks to @apandada1)</li>
Expand All @@ -198,7 +198,7 @@
</description>
</release>
<release version="0.6.0" date="2021-08-22">
<description translatable="no">
<description translate="no">
<p>This release contains UI and translation improvements:</p>
<ul>
<li>Improved playing animation</li>
Expand All @@ -213,7 +213,7 @@
</description>
</release>
<release version="0.5.2" date="2021-08-10">
<description translatable="no">
<description translate="no">
<p>This is a small update with miscellaneous improvements:</p>
<ul>
<li>Added a beep sound when trying to do something</li>
Expand All @@ -227,7 +227,7 @@
</description>
</release>
<release version="0.5.1" date="2021-08-08">
<description translatable="no">
<description translate="no">
<p>This is a small update with miscellaneous improvements:</p>
<ul>
<li>More fine-tuned user interface</li>
Expand All @@ -237,7 +237,7 @@
</description>
</release>
<release version="0.5.0" date="2021-08-06">
<description translatable="no">
<description translate="no">
<p>A semi-big release containing new features and major bug fixes:</p>
<ul>
<li>Added the ability to select preferred audio source (Either microphone or from desktop audio)</li>
Expand All @@ -253,7 +253,7 @@
</description>
</release>
<release version="0.4.4" date="2021-08-03">
<description translatable="no">
<description translate="no">
<p>This update contains translations and minor ui fixes:</p>
<ul>
<li>Minor user interface improvements</li>
Expand All @@ -263,7 +263,7 @@
</description>
</release>
<release version="0.4.3" date="2021-07-28">
<description translatable="no">
<description translate="no">
<p>This update contains translations and minor fixes:</p>
<ul>
<li>Better user experience with token dialog</li>
Expand All @@ -277,7 +277,7 @@
</description>
</release>
<release version="0.4.2" date="2021-07-03">
<description translatable="no">
<description translate="no">
<p>This update contains minor fixes:</p>
<ul>
<li>Added option to not show token dialog at startup</li>
Expand All @@ -287,7 +287,7 @@
</description>
</release>
<release version="0.4.1" date="2021-05-23">
<description translatable="no">
<description translate="no">
<p>This contains some fixes for the last update:</p>
<ul>
<li>Improved UI icons</li>
Expand All @@ -298,7 +298,7 @@
</description>
</release>
<release version="0.4.0" date="2021-05-22">
<description translatable="no">
<description translate="no">
<p>A release containing exciting new features and fixes!</p>
<ul>
<li>New built-in player for the identified music</li>
Expand All @@ -319,7 +319,7 @@
</description>
</release>
<release version="0.3.2" date="2021-05-05">
<description translatable="no">
<description translate="no">
<p>Not a big release, but it has some notable changes:</p>
<ul>
<li>Improved UI experience</li>
Expand All @@ -340,7 +340,7 @@
</description>
</release>
<release version="0.3.1" date="2021-04-09">
<description translatable="no">
<description translate="no">
<p>Minor improvements:</p>
<ul>
<li>Minor UI Improvements</li>
Expand All @@ -350,7 +350,7 @@
</description>
</release>
<release version="0.3.0" date="2021-04-08">
<description translatable="no">
<description translate="no">
<p>New features and performance improvements:</p>
<ul>
<li>Added a play button to preview songs</li>
Expand All @@ -362,7 +362,7 @@
</description>
</release>
<release version="0.2.0" date="2021-03-31">
<description translatable="no">
<description translate="no">
<p>This update brings few bug fixes:</p>
<ul>
<li>Fixed a bug when there are two similar named songs</li>
Expand All @@ -375,7 +375,7 @@
</description>
</release>
<release version="0.1.0" date="2021-03-30">
<description translatable="no">
<description translate="no">
<p>Initial release.</p>
</description>
</release>
Expand All @@ -385,9 +385,9 @@
<kudo>HiDpiIcon</kudo>
</kudos>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">Dave Patrick Caberto</developer_name>
<developer_name translate="no">Dave Patrick Caberto</developer_name>
<developer id="io.github.seadve">
<name translatable="no">Dave Patrick Caberto</name>
<name translate="no">Dave Patrick Caberto</name>
</developer>
<update_contact>[email protected]</update_contact>
<translation type="gettext">@gettext-package@</translation>
Expand Down

0 comments on commit 86b122c

Please sign in to comment.