mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 22:33:28 +01: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:
parent
fd3ff74164
commit
a12ca687e0
4
translations/ready
Normal file
4
translations/ready
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
fr
|
||||||
|
it
|
||||||
|
ja
|
||||||
|
sv
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user