0
0
mirror of https://github.com/monero-project/monero synced 2025-10-06 00:32:44 +02:00

translations: add a ready file to control which translations to build

Some translations are committed before they're ready to be used
This commit is contained in:
moneromooo-monero
2019-07-16 19:24:56 +00:00
parent fd3ff74164
commit a12ca687e0
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
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