Files
onion-link-list/update-translation.sh
2023-01-22 20:35:33 +01:00

4 lines
252 B
Bash
Executable File

#!/bin/bash
xgettext --from-code UTF-8 -o locale/onion-link-list.pot `find . -iname '*.php'`
for translation in `find locale -iname '*.po'`; do msgmerge -U "$translation" locale/onion-link-list.pot; msgfmt -o ${translation:0:-2}mo "$translation"; done