Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appdata and desktop file related changes #193

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

yakushabb
Copy link

Please review individually.

These changes may seem significant, but they are primarily related to appdata and desktop files.

These patches accomplish three main tasks:

  • Make desktop and metainfo files translatable
  • Validate desktop and metainfo files
  • Update metainfo file entries

In addition to these changes, this PR contains two translation-related updates:

  • Addition of Turkish translation
  • Update of POT file

yakushabb added 15 commits April 6, 2024 19:34
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.
Add vcs-browser URL to show source code repository.
> The `<translation/>` tag is an optional tag which can be added to specify the translation domain used for this software component. It may be used by the AppStream distro metadata generator to determine the translation status of the respective software (e.g. which languages the software is translated into and how complete the translations are).

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-translation
> If there’s a type="desktop-id" launchable, they are pulled from the
> desktop file and merged in the AppStream Catalog data.
> So defining them separately in the MetaInfo is not necessary.

More information: https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/#categories-and-keywords
b, and i tags are not allowed in p tags
Improve desktop file categories and keywords
Rename appdata.xml as metainfo.xml.in as preparation for translation support.
Rename thiefmd.desktop as thiefmd.desktop.in to prepare translation.
- Create desktop file from desktop.in
- Validate desktop file
- Create metainfo file from metainfo.in
- Use appstreamcli to validate metainfo file
Add desktop and metainfo files to POTFILES.in to mark them as translatable.
- Remove unused files
- Order file entries alphabetically
Use https connection for a missing file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant