From ff1e1dff57c1cc5729b5c6c90d8cce95d55f62ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= <161761531+yakushabb@users.noreply.github.com> Date: Wed, 10 Apr 2024 19:09:22 +0300 Subject: [PATCH] Appdata related changes (#17) * 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 * 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 --- ...avidoc26.wallpaper_selector.metainfo.xml.in.in | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/data/io.github.davidoc26.wallpaper_selector.metainfo.xml.in.in b/data/io.github.davidoc26.wallpaper_selector.metainfo.xml.in.in index a691293..7d9c6c5 100644 --- a/data/io.github.davidoc26.wallpaper_selector.metainfo.xml.in.in +++ b/data/io.github.davidoc26.wallpaper_selector.metainfo.xml.in.in @@ -28,32 +28,32 @@ - +

Minor improvements and runtime version update

- +

Minor improvements and the ability to open the folder with installed wallpapers

- +

Small correction: window refresh after category selection

- +

Added preferences window and the ability to choose a wallpaper category

- +

Removed flatpak d-bus access, uses portals instead

- +

First release! Supports only gnome now

@@ -63,6 +63,9 @@ HiDpiIcon David Eritsyan + + David Eritsyan + dav.eritsyan@gmail.com @gettext-package@ @app-id@.desktop