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 files related changes #36

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Commits on Apr 6, 2024

  1. appdata: Mark release descriptions as untranslatable

    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.
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    5059aa1 View commit details
    Browse the repository at this point in the history
  2. appdata: Add bugtracker, vcs-browser and translate URLs

    Add bugtracker, vcs-browser and translate URLs to show bug tracker, source code and translation repositories.
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    f3fc980 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    acf2561 View commit details
    Browse the repository at this point in the history
  4. appdata: Add translation tag

    > 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
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    8451592 View commit details
    Browse the repository at this point in the history
  5. data: Make desktop file translatable

    - Make desktop file translatable
    - Validate desktop file
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    da5016f View commit details
    Browse the repository at this point in the history
  6. data: Simplify po meson file

    One line is better than 10 lines
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    9e75624 View commit details
    Browse the repository at this point in the history
  7. 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 id="tld.vendor">
      <name>Developer name</name>
    </developer>
    ```
    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
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    3a10252 View commit details
    Browse the repository at this point in the history
  8. appdata: Rename metainfo.xml

    Rename metainfo.xml as metainfo.xml.in as preparation for translation support
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    01a4ff6 View commit details
    Browse the repository at this point in the history
  9. data: Create metainfo file

    - Create metainfo.xml from metainfo.xml.in to make it translatable
    - Validate metainfo.xml via appstreamcli
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    b30f2b6 View commit details
    Browse the repository at this point in the history
  10. i18n: Mark two files translatable

    Make the gradebook.desktop and gradebook.metainfo.xml files as translatable.
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    4a11ed0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8d367eb View commit details
    Browse the repository at this point in the history
  12. i18n: Activate de.po

    Activate de.po translation
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    8124b21 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ea6b311 View commit details
    Browse the repository at this point in the history
  14. i18n: Update POT file

    Add new strings from desktop and metainfo files
    yakushabb committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    1ae78c0 View commit details
    Browse the repository at this point in the history