android/app/jni/scripts/build-po.sh
raw| 1 | #!/bin/bash |
| 2 | EXPORT_LANGS=("de" "es" "fr" "fi" "hy" "id" "ko" "nl" "pl" "pt_BR" "ru" "sk" "sv" "th" "tr" "uk" "zh" "zh_HK") |
| 3 | |
| 4 | for i in ${EXPORT_LANGS[@]}; do |
| 5 | echo "compiling $i.po..." |
| 6 | mkdir -p "po/locale/$i/LC_MESSAGES/" && msgfmt "po/$i.po" -o "po/locale/$i/LC_MESSAGES/furnace.mo" || exit 1 |
| 7 | done |