Merge pull request #5757

a12ca68 translations: add a ready file to control which translations to build (moneromooo-monero)
This commit is contained in:
luigi1111 2019-08-21 15:25:18 -05:00
commit f1e66a03f1
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
2 changed files with 15 additions and 1 deletions

4
translations/ready Normal file
View file

@ -0,0 +1,4 @@
fr
it
ja
sv

View file

@ -12,5 +12,15 @@ then
fi fi
echo "using $lrelease" echo "using $lrelease"
"$lrelease" translations/*.ts if test -f translations/ready
then
languages=""
for language in $(cat translations/ready)
do
languages="$languages translations/$language.ts"
done
else
languages="translations/*.ts"
fi
"$lrelease" $languages