Pass LANG variable to msgfilter in crowdin script

This commit is contained in:
Alexey Sokolov
2018-05-05 20:55:11 +01:00
parent fa06d08c4d
commit a59af385d5
+1 -1
View File
@@ -38,7 +38,7 @@ timestamps {
sh "$crowdin_cli download --branch ${upstream_branch}"
}
}
sh 'find . -name "*.po" -exec msgfilter -i "{}" -o "{}.replacement" .ci/cleanup-po.pl ";"'
sh 'LANG=en_US.utf8 find . -name "*.po" -exec msgfilter -i "{}" -o "{}.replacement" .ci/cleanup-po.pl ";"'
sh 'find . -name "*.po" -exec mv "{}.replacement" "{}" ";"'
}
stage('Push') {