furnace/scripts/build-po.sh
Wilhelm M. L 779a4269af
Fix up the po guide so U don't have to. (#1959)
* let there be zh_HK zh_CN

* fix the guide for U so you don't have to

* zh.po rev 0.2A added

* well, it's not needed to have it leak in to relase
2024-06-24 14:32:37 -05:00

7 lines
300 B
Bash
Executable file

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