Add translation

This commit is contained in:
danwin1210 committed 2022-12-31 21:27:40 +01:00
1 parent 32cbcc35cc
commit a8ebc0d9bb
14 files changed
+2344 -346

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
#!/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