* add russian locale * update script update_translation_files.sh * Defining Python Source Code Encodings * Update Russian locale * Update German locale * update to PO files for new changes * fix typo * Update Russian locale Co-authored-by: schpuntik <schpuntik@freenet.de>
14 lines
470 B
Bash
14 lines
470 B
Bash
xgettext --keyword=_ --language=Python --add-comments --sort-output \
|
|
-o ks_includes/locales/KlipperScreen.pot \
|
|
*.py \
|
|
ks_includes/*.py \
|
|
panels/*.py \
|
|
ks_includes/KlipperScreen.conf
|
|
|
|
langs=(de_DE en fr_FR he_IL ru_RU zh_CN)
|
|
for lang in ${langs[@]}; do
|
|
msgmerge ks_includes/locales/$lang/LC_MESSAGES/KlipperScreen.po \
|
|
ks_includes/locales/KlipperScreen.pot \
|
|
-o ks_includes/locales/$lang/LC_MESSAGES/KlipperScreen.po
|
|
done
|