Translations: Update English backend messages in default.po #2083

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2022-10-31 16:48:55 +01:00
parent b708b963c2
commit 6e27210f9f
4 changed files with 86 additions and 97 deletions

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env bash
echo "Merging backend translations..."
for file in ./assets/locales/**/*.po; do msgmerge --update "${file}" ./assets/locales/messages.pot; done
for file in ./assets/locales/**/*.po; do msgmerge --previous --no-location --no-wrap --update "${file}" ./assets/locales/messages.pot; done
echo "Merging frontend translations..."
for file in ./frontend/src/locales/*.po; do msgmerge --update "${file}" ./frontend/src/locales/translations.pot; done
for file in ./frontend/src/locales/*.po; do msgmerge --previous --no-location --no-wrap --update "${file}" ./frontend/src/locales/translations.pot; done
echo "Done."