hhd-dev / hhd

Handheld Daemon, a tool for configuring handheld devices.
GNU General Public License v3.0
109 stars 14 forks source link

add brazilian portuguese translation #49

Closed victor-borges closed 5 months ago

victor-borges commented 6 months ago

Adds brazilian portuguese translation (hope I did the generating steps right). There was a section about inverting gyro axis and asking for pictures or text, I kept the information in english (like Manufacturer and Product) as those seem to be for the devs to make sense of, and not the user (mostly).

antheas commented 6 months ago

Thanks Victor. Translations are not supported yet. I added the export to get translations started and received the chinese translations a few days ago. So I will get that going hopefully next week.

I will merge your pull requests too then, and I will be in touch. It is good that you updated the translations before you did the work, as the chinese translation will need to be updated too now.

antheas commented 5 months ago

Hi Victor, I added initial localization to hhd.

At your leisure, can you do the following?

Copying your translated Portuguese file to ./i18n/pt/LC_MESSAGES/hhd.po of the current repository.

Running the following:

pybabel init -i i18n/adjustor.pot -d i18n -D adjustor -l pt
pybabel update -i i18n/hhd.pot -d i18n -D hhd -l pt

Updating the translations.

Then force push to this pull request git push -f so I can merge Portuguese.

Thanks and sorry for the wait.

I prioritized some other features, which I hope you are enjoying.

If you don't want to translate further, I can also cherry pick your Portuguese file as is and someone else can move it further.

antheas commented 5 months ago

image

Preview of the Chinese translation I have on hand.

victor-borges commented 5 months ago

I force-pushed to sync my fork and github closed the PR 🫠

Updated the hhd translation, and added the adjustor translations

victor-borges commented 5 months ago

I prioritized some other features, which I hope you are enjoying.

I'm VERY MUCH enjoying everything being made here, wanted to contribute back in the small ways that I can, and by advocating for Bazzite and HHD in every opportunity! Thank you so much!

antheas commented 5 months ago

Nice!

antheas commented 5 months ago

https://github.com/hhd-dev/hhd/releases/tag/v2.6.1