mirror of
https://github.com/DanWin/mail-hosting.git
synced 2024-11-21 07:00:25 +00:00
3 lines
246 B
Bash
Executable file
3 lines
246 B
Bash
Executable file
#!/bin/bash
|
|
xgettext --from-code UTF-8 -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
|