From 303b8236f160298c7c82e7d5915e397e7ddc0778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Tue, 2 Apr 2024 02:23:06 +0300 Subject: [PATCH 1/5] 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/io.github.lainsce.DotMatrix.metainfo.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/io.github.lainsce.DotMatrix.metainfo.xml.in b/data/io.github.lainsce.DotMatrix.metainfo.xml.in index 073c598..84a5b57 100644 --- a/data/io.github.lainsce.DotMatrix.metainfo.xml.in +++ b/data/io.github.lainsce.DotMatrix.metainfo.xml.in @@ -3,7 +3,7 @@ io.github.lainsce.DotMatrix CC0 GPL-3.0+ - Dot Matrix + Dot Matrix The creativity playground of lines and curves

Make out icons, glyphs, or anything you can create with lines in this grid of dots

@@ -21,7 +21,7 @@ ModernToolkit HiDpiIcon - Lains + Lains https://github.com/lainsce/dot-matrix/ https://ko-fi.com/lainsce/ https://github.com/lainsce/dot-matrix/issues From da7a74aada16b9e4c82eee43dab1f9b5e1db7493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Tue, 2 Apr 2024 02:23:19 +0300 Subject: [PATCH 2/5] appdata: Add vcs-browser URL Add vcs-browser URL to point the source code repository. --- data/io.github.lainsce.DotMatrix.metainfo.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/io.github.lainsce.DotMatrix.metainfo.xml.in b/data/io.github.lainsce.DotMatrix.metainfo.xml.in index 84a5b57..d7ddb3d 100644 --- a/data/io.github.lainsce.DotMatrix.metainfo.xml.in +++ b/data/io.github.lainsce.DotMatrix.metainfo.xml.in @@ -26,6 +26,7 @@ https://ko-fi.com/lainsce/ https://github.com/lainsce/dot-matrix/issues https://www.patreon.com/lainsce/ + https://github.com/lainsce/dot-matrix/ https://github.com/lainsce/dot-matrix/blob/main/po/README.md From d2200c46d98307f3ad79506459f99be4cdf060cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Tue, 2 Apr 2024 02:23:29 +0300 Subject: [PATCH 3/5] 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.lainsce.DotMatrix.metainfo.xml.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/io.github.lainsce.DotMatrix.metainfo.xml.in b/data/io.github.lainsce.DotMatrix.metainfo.xml.in index d7ddb3d..fcf1faa 100644 --- a/data/io.github.lainsce.DotMatrix.metainfo.xml.in +++ b/data/io.github.lainsce.DotMatrix.metainfo.xml.in @@ -22,6 +22,9 @@ HiDpiIcon Lains + + Lains + https://github.com/lainsce/dot-matrix/ https://ko-fi.com/lainsce/ https://github.com/lainsce/dot-matrix/issues From 00173534ad09f8185636491c5c6deca8643f97e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Tue, 2 Apr 2024 02:23:45 +0300 Subject: [PATCH 4/5] appdata: Exclude release descriptions from translation GNOME automatically excludes release descriptions on Damned Lies (GNOME Translation Platform). It's a good practice to follow the GNOME way. This can streamline the translation process, allowing translators to focus their efforts on more critical and user-facing aspects of the application. --- data/io.github.lainsce.DotMatrix.metainfo.xml.in | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/data/io.github.lainsce.DotMatrix.metainfo.xml.in b/data/io.github.lainsce.DotMatrix.metainfo.xml.in index fcf1faa..a41ec90 100644 --- a/data/io.github.lainsce.DotMatrix.metainfo.xml.in +++ b/data/io.github.lainsce.DotMatrix.metainfo.xml.in @@ -52,7 +52,7 @@ io.github.lainsce.DotMatrix - +

Release: Yellow Sunset

  • Changed: UI now follows my own style that complements that of Adwaita, called Solo.
  • @@ -60,7 +60,7 @@ - +

    Release: Blue Noon

    • Changed: UI colors.
    • @@ -68,7 +68,7 @@ - +

      Release: Blue Noon

      • Added: Redo button.
      • @@ -77,7 +77,7 @@ - +

        Release: Blue Noon

        • Added: Redo button.
        • @@ -86,7 +86,7 @@ - +

          Release: Orange Sunrise

          • Changed: Using more libadwaita recent UI styling.
          • @@ -94,7 +94,7 @@ - +

            Release: Cyan Sunset

            • Changed: Using libadwaita recent UI styling.
            • @@ -102,7 +102,7 @@ - +

              Release: A New UI Hope

              • New: UI is now following efforts made by me on Notejot.
              • @@ -111,7 +111,7 @@ - +

                Release: Hello, GNOME!

                • Port to GNOME HIG and minor fixes.
                • From 34e94456fd40c4972cba6c40e68af70828ba4cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Tue, 2 Apr 2024 02:23:51 +0300 Subject: [PATCH 5/5] appdata: Remove duplicated donation URL GNOME Software only supports one donation URL --- data/io.github.lainsce.DotMatrix.metainfo.xml.in | 1 - 1 file changed, 1 deletion(-) diff --git a/data/io.github.lainsce.DotMatrix.metainfo.xml.in b/data/io.github.lainsce.DotMatrix.metainfo.xml.in index a41ec90..cd9658c 100644 --- a/data/io.github.lainsce.DotMatrix.metainfo.xml.in +++ b/data/io.github.lainsce.DotMatrix.metainfo.xml.in @@ -28,7 +28,6 @@ https://github.com/lainsce/dot-matrix/ https://ko-fi.com/lainsce/ https://github.com/lainsce/dot-matrix/issues - https://www.patreon.com/lainsce/ https://github.com/lainsce/dot-matrix/ https://github.com/lainsce/dot-matrix/blob/main/po/README.md