generate messages.po at upload time

pull/314/head
Lex Neva 2018-09-15 13:01:58 -04:00
rodzic 3405a24e4a
commit 5c8fcb9512
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -158,9 +158,12 @@ script:
wget https://downloads.crowdin.com/cli/v2/crowdin-cli.zip
unzip -j crowdin-cli.zip
java -jar crowdin-cli.jar upload -b master
java -jar crowdin-cli.jar pull -b master
make messages.po
java -jar crowdin-cli.jar upload -b master
make clean
java -jar crowdin-cli.jar pull -b master
# Try to only commit if translations changed. Crowdin will update all
# files when a new translation string is added but we don't need to
# commit those until folks actually translate the new strings.