mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 03:46:32 +02:00
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:
commit
252092441b
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user