Merge pull request #6139

56dced2d translations: fix "monero_" prefix when taking languages from file (moneromooo-monero)
be3a4326 translations: find lrelease disguised as lrelease-qt5 (moneromooo-monero)
This commit is contained in:
Alexander Blair 2020-01-16 17:43:53 -08:00
commit 252092441b
No known key found for this signature in database
GPG key ID: C64552D877C32479

View file

@ -6,6 +6,10 @@ then
lrelease=`which lrelease-qt4 2> /dev/null`
fi
if test -z "$lrelease"
then
lrelease=`which lrelease-qt5 2> /dev/null`
fi
if test -z "$lrelease"
then
echo "lrelease not found"
exit 1
@ -17,7 +21,7 @@ then
languages=""
for language in $(cat translations/ready)
do
languages="$languages translations/$language.ts"
languages="$languages translations/monero_$language.ts"
done
else
languages="translations/*.ts"