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