mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 21:01:58 +08:00
9 lines
409 B
Bash
Executable File
9 lines
409 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
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 --no-wrap --update "${file}" ./frontend/src/locales/translations.pot; done
|
|
|
|
echo "Done." |