mirror of
https://github.com/libratbag/piper.git
synced 2026-02-19 23:23:51 -05:00
- Translate new strings - Avoid adding another space after the full-width `:` colon (which comes with the spacing built-in) - Revise the application description to be less cryptic - Revise the resolution and profile switching commands to be like next/previous instead of increase/decrease. "Resolution Up" is the next resolution setting, which the user may have configured to be lower than the current resolution. - Also revise the resolution and profile switching commands to not try to use 循環 as a verb. Usually it isn't. - Revise "generate" to use 產生 which is more familiar in zh_TW.
i18n
This directory contains the translations of Piper.
For errors in translations, please file an issue.
New or updated translations are always welcome. To start a new translation, run:
$ meson translation-build
$ ninja -C translation-build piper-pot
# Now you can optionally remove the build directory
$ rm -rf translation-build
$ cp po/piper.pot po/$lang.po
where $lang is the language code of your target language, e.g. nl for Dutch
or en_GB for British English. Edit the
LINGUAS file and
add your language code, keeping the list sorted alphabetically. Finally, open
the .po file you just created and translate all the strings. Don't forget to
fill in the information in the header!
To update an existing translation, run:
$ meson translation-build
$ ninja -C translation-build piper-update-po
# Now you can optionally remove the build directory
$ rm -rf translation-build
and update the po/$lang.po file of your target language.
When you are done translating, file a pull request on
GitHub or, if you don't know how to, open
an issue and attach the .po
file there.