Translations: Update gettext-merge.sh script

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2022-12-13 04:29:32 +01:00
parent 29cbcff0b6
commit 74e020d568

View file

@ -4,6 +4,6 @@ echo "Merging backend translations..."
for file in ./assets/locales/**/*.po; do msgmerge --previous --no-fuzzy-matching --update "${file}" ./assets/locales/messages.pot; done
echo "Merging frontend translations..."
for file in ./frontend/src/locales/*.po; do msgmerge --previous --no-fuzzy-matching --update "${file}" ./frontend/src/locales/translations.pot; done
for file in ./frontend/src/locales/*.po; do msgmerge --previous --no-fuzzy-matching --no-wrap --update "${file}" ./frontend/src/locales/translations.pot; done
echo "Done."