From ef54a9cd2f4f39f926c28a1816514f6edae59242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Mon, 1 Apr 2024 18:17:14 +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 --- data/com.github.tenderowl.frog.appdata.xml.in | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/data/com.github.tenderowl.frog.appdata.xml.in b/data/com.github.tenderowl.frog.appdata.xml.in index aa4a748..cb9be50 100644 --- a/data/com.github.tenderowl.frog.appdata.xml.in +++ b/data/com.github.tenderowl.frog.appdata.xml.in @@ -20,12 +20,12 @@ - +

Updated translations.

- +

What's new:

  • New look and feel for language selection popover.
  • @@ -37,7 +37,7 @@ - +

    What's new:

    • Translations updated.
    • @@ -45,7 +45,7 @@ - +

      In this update, we've made a number of improvements to our app.

      • Share extracted text: This means you can now share your findings with the wider community.
      • @@ -63,7 +63,7 @@ - +

        In this update, we've made a number of improvements to our app.

        • We have redesigned the settings dialog to make it more user-friendly and understandable.
        • @@ -77,7 +77,7 @@ - +

          What's new:

          • Open image button now available.
          • @@ -86,7 +86,7 @@ - +

            What's new:

            • Translations updated.
            • @@ -94,7 +94,7 @@ - +

              What's new:

              • When no text is found, Frog returns to the main window.
              • @@ -103,7 +103,7 @@ - +

                What's new:

                • Updated UI
                • @@ -112,7 +112,7 @@ - +

                  What's new:

                  • Updated UI
                  • @@ -123,18 +123,18 @@ - +

                    Frog now is available on the Flathub and use modern Portal implementation. We also updated the UI accordingly to the GNOME HIG and fixed some bugs we've found :)

                    - +

                    Now you're free to run Frog with `-e` option to extract text and instantly copy it to the clipboard.

                    - +

                    What's new:

                    • English model included with Frog itself
                    • @@ -145,12 +145,12 @@ - +

                      Fix language packs download.

                      - +

                      Dark mode+

                      • Dark mode support.
                      • @@ -159,13 +159,13 @@ - +

                        Quickly extract any text from anywhere you need it: webpages, videos, photos, etc.

                        - Tender Owl + Tender Owl com.github.tenderowl.frog.desktop frog https://getfrog.app From fa99cc112517eeaf677e2f7de615fd12ce7ac39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Mon, 1 Apr 2024 18:17:25 +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/com.github.tenderowl.frog.appdata.xml.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/com.github.tenderowl.frog.appdata.xml.in b/data/com.github.tenderowl.frog.appdata.xml.in index cb9be50..1e61a88 100644 --- a/data/com.github.tenderowl.frog.appdata.xml.in +++ b/data/com.github.tenderowl.frog.appdata.xml.in @@ -166,6 +166,9 @@ Tender Owl + + Tender Owl + com.github.tenderowl.frog.desktop frog https://getfrog.app