Optimize translations

This commit is contained in:
paniy
2025-02-06 22:11:37 +08:00
committed by yunshu
parent 3f9f616889
commit 5a25198da3
23 changed files with 3391 additions and 1649 deletions
+4 -1
View File
@@ -89,7 +89,10 @@ jobs:
- name: Compile MO files
run: |
for lang in zh_CN en fa ru ko; do
msgfmt --check -v --statistics -o languages/${lang}/LC_MESSAGES/xray_install.mo po/${lang}.po
if ! msgfmt --check -v --statistics -o languages/${lang}/LC_MESSAGES/xray_install.mo po/${lang}.po; then
echo "Error in ${lang}.po file:"
cat po/${lang}.po
fi
done
- name: Run i18nspector checks on PO files