mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Translations: Fuzzy merge of .pot files with .po files #2083
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
36e3600d39
commit
13d32f3294
98 changed files with 45690 additions and 32159 deletions
9
scripts/gettext-merge.sh
Executable file
9
scripts/gettext-merge.sh
Executable file
|
|
@ -0,0 +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
|
||||
|
||||
echo "Merging frontend translations..."
|
||||
for file in ./frontend/src/locales/*.po; do msgmerge --update "${file}" ./frontend/src/locales/translations.pot; done
|
||||
|
||||
echo "Done."
|
||||
Loading…
Add table
Add a link
Reference in a new issue