mail-hosting-mirror/update-translation.sh
2022-12-31 21:27:40 +01:00

3 lines
228 B
Bash
Executable file

#!/bin/bash
xgettext -o locale/mail-hosting.pot `find . -iname '*.php'`
for translation in `find locale -iname '*.po'`; do msgmerge -U "$translation" locale/mail-hosting.pot; msgfmt -o ${translation:0:-2}mo "$translation"; done