From a6357b2bb969b95bc8f8bbda777c5fac99d89117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Mon, 1 Apr 2024 18:29:12 +0300 Subject: [PATCH 1/2] appdata: `translate=no` properties 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: `https://github.com/ximion/appstream/issues/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 --- ....github.mightycreak.Diffuse.appdata.xml.in | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/data/io.github.mightycreak.Diffuse.appdata.xml.in b/data/io.github.mightycreak.Diffuse.appdata.xml.in index ddabdba..27d92ea 100644 --- a/data/io.github.mightycreak.Diffuse.appdata.xml.in +++ b/data/io.github.mightycreak.Diffuse.appdata.xml.in @@ -36,7 +36,7 @@ - Romain Failliot + Romain Failliot romain@foolstep.com @@ -65,7 +65,7 @@ - +

Use more modern, symbolic icons, add Dutch translation, and a couple of small fixes.

Added:

    @@ -88,7 +88,7 @@ - +

    Fix for the shortcuts that weren't working anymore due to migration to Gtk.Application.

    @@ -108,7 +108,7 @@
    - +

    Update to GNOME 44, improved GTK 3 support, initial support for Rust, added Turkish and Georgian translations, and a couple of fixes. @@ -145,7 +145,7 @@ - +

    Update translations.

    @@ -158,7 +158,7 @@
    - +

    Add port to Mac OS.

    @@ -179,7 +179,7 @@
    - +

    Crashfix and French translation.

    @@ -196,7 +196,7 @@
    - +

    Mainly a maintenance release. It does increase the GNOME SDK's version.

    @@ -230,7 +230,7 @@
    - +

    Patch release that introduces linters (flake8 and mypy).

    @@ -255,7 +255,7 @@
    - +

    Patch release that fixes an error about APP_NAME and the Brazilian translation.

    @@ -283,7 +283,7 @@
    - +

    Patch release to fix a bug when using the Flatpak package.

    @@ -297,7 +297,7 @@
    - +

    With this release, the main end-user change is the new icon. The rest is mainly maintenance improvements with a much more standard folder @@ -336,7 +336,7 @@ - +

    Mainly under the hood changes in this release, so nothing really visible to the users in this version. That said, I figured it was a @@ -361,7 +361,7 @@ - +

    Here is the v0.5.0. Unintentionally, this release happens exactly 6 years after the previous v0.4.8 release! From b1040571d75862c6ae000e57e257330d51754e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Mon, 1 Apr 2024 18:29:20 +0300 Subject: [PATCH 2/2] appdata: Add developer ID Flathub requires a developer tag and developer ID. Also Appstream decided to use rdns structure for developer ID. It allows reverse-dns IDs like sh.cozy, de.geigi or Fediverse handle (like @user@example.org) > A developer tag with a name child tag must be present. > Only one developer tag is allowed and the name tag also must be present only once in untranslated form. ``` Developer name ``` Source: https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/#name-summary-and-developer-name > The element should have a id property, containing a unique ID to identify the component developer / development team. It is recommended to use a reverse-DNS name, like org.gnome or io.github.ximion, or a Fediverse handle (like @user@example.org) as ID to achieve a higher chance of uniqueness. Source: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer --- data/io.github.mightycreak.Diffuse.appdata.xml.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/io.github.mightycreak.Diffuse.appdata.xml.in b/data/io.github.mightycreak.Diffuse.appdata.xml.in index 27d92ea..191e6df 100644 --- a/data/io.github.mightycreak.Diffuse.appdata.xml.in +++ b/data/io.github.mightycreak.Diffuse.appdata.xml.in @@ -37,6 +37,9 @@ Romain Failliot + + Romain Failliot + romain@foolstep.com