mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 13:19:25 -05: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`
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user