* add Chinese Traditional add Chinese Traditional * Update KlipperScreen.po * Update translation script and run it. Co-authored-by: Jordan
16 lines
457 B
Bash
16 lines
457 B
Bash
xgettext --keyword=_ --language=Python --no-location --sort-output \
|
|
-o ks_includes/locales/KlipperScreen.pot \
|
|
*.py \
|
|
ks_includes/*.py \
|
|
panels/*.py \
|
|
ks_includes/defaults.conf
|
|
|
|
for FILE in ks_includes/locales/*; do
|
|
if [ -d $FILE ]; then
|
|
echo $FILE
|
|
msgmerge $FILE/LC_MESSAGES/KlipperScreen.po \
|
|
ks_includes/locales/KlipperScreen.pot \
|
|
-o $FILE/LC_MESSAGES/KlipperScreen.po
|
|
fi
|
|
done
|