Update translation files

This commit is contained in:
2023-01-06 20:41:03 +01:00
parent fc6d0a15d7
commit b1f8bced8f
5 changed files with 20 additions and 20 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
xgettext -o locale/main-website.pot `find . -iname '*.php'`
xgettext --from-code UTF-8 -o locale/main-website.pot `find . -iname '*.php'`
for translation in `find locale -iname '*.po'`; do msgmerge -U "$translation" locale/main-website.pot; msgfmt -o ${translation:0:-2}mo "$translation"; done