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

Translate .desktop files with gettext #2719

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

Conversation

tomodachi94
Copy link

@tomodachi94 tomodachi94 commented Dec 20, 2024

Motivation

This encourages translators to translate these strings by including them with the other translations. It also keeps them in one spot, avoiding duplicating them between the two .desktop files.

Implementation

Changes made to incorporate this:

Also, migrated most of the existing translations in the .desktop files. I didn't migrate zh_HK because it doesn't have any other translations.

Places for improvement

I am not fond of the .template.desktop setup; let me know if anyone thinks of a viable alternative.

Sorry for the massive diff; that is a result of running tools/update-po.sh on the files I changed when moving the existing translations into the gettext ones.

@pfps
Copy link
Collaborator

pfps commented Jan 1, 2025

Sounds good, but now conflicts with specific updates to translations so needs to be updated.

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.

2 participants