furnace/scripts/build-po.sh

8 lines
275 B
Bash
Raw Normal View History

2024-06-01 00:55:56 +00:00
#!/bin/sh
2024-06-14 08:10:19 +00:00
EXPORT_LANGS=("de" "es" "fr" "fi" "hy" "id" "ko" "nl" "pl" "pt_BR" "ru" "sk" "sv" "th" "tr" "uk")
2024-06-01 00:55:56 +00:00
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"
done