Translations: Fix plurals

This commit is contained in:
alfrix committed 2022-02-26 16:03:08 -03:00
1 parent dd027c0583
commit c77bdfe617
29 files changed
+435 -153

No files matched your search

+2 -1
View File
@@ -1,4 +1,4 @@
xgettext --keyword=_ --language=Python --no-location --sort-output \
xgettext --keyword=_ --keyword=_n:1,2 --language=Python --no-location --sort-output \
-o ks_includes/locales/KlipperScreen.pot \
*.py \
ks_includes/*.py \
@@ -11,5 +11,6 @@ for FILE in ks_includes/locales/*; do
msgmerge $FILE/LC_MESSAGES/KlipperScreen.po \
ks_includes/locales/KlipperScreen.pot \
-o $FILE/LC_MESSAGES/KlipperScreen.po
msgfmt -o $FILE/LC_MESSAGES/KlipperScreen.mo $FILE/LC_MESSAGES/KlipperScreen.po
fi
done