2022-10-31 13:25:02 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
echo "Merging backend translations..."
|
2022-12-13 04:21:43 +01:00
|
|
|
for file in ./assets/locales/**/*.po; do msgmerge --previous --no-fuzzy-matching --update "${file}" ./assets/locales/messages.pot; done
|
2022-10-31 13:25:02 +01:00
|
|
|
|
|
|
|
echo "Merging frontend translations..."
|
2022-12-13 04:29:32 +01:00
|
|
|
for file in ./frontend/src/locales/*.po; do msgmerge --previous --no-fuzzy-matching --no-wrap --update "${file}" ./frontend/src/locales/translations.pot; done
|
2022-10-31 13:25:02 +01:00
|
|
|
|
|
|
|
echo "Done."
|