aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-01-16 17:43:53 -0800
committerAlexander Blair <snipa@jagtech.io>2020-01-16 17:43:53 -0800
commit252092441b051eb6ad07bb55b4ed64ba6a9949dc (patch)
treed028311475beb69c6f6a75175105093a54e7aabe
parentMerge pull request #6134 (diff)
parenttranslations: fix "monero_" prefix when taking languages from file (diff)
downloadmonero-252092441b051eb6ad07bb55b4ed64ba6a9949dc.tar.xz
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)
-rwxr-xr-xutils/translations/build-translations.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/translations/build-translations.sh b/utils/translations/build-translations.sh
index 1217dca0a..c868a691f 100755
--- a/utils/translations/build-translations.sh
+++ b/utils/translations/build-translations.sh
@@ -7,6 +7,10 @@ then
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
fi
@@ -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"