From be3a432653fbb8e7efa938724aa97bb745798bd8 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 15 Nov 2019 13:21:22 +0000 Subject: [PATCH 1/2] translations: find lrelease disguised as lrelease-qt5 --- utils/translations/build-translations.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/translations/build-translations.sh b/utils/translations/build-translations.sh index 1217dca0a..1a2aa4492 100755 --- a/utils/translations/build-translations.sh +++ b/utils/translations/build-translations.sh @@ -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 From 56dced2d6d36569de870498004ca883602115412 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 15 Nov 2019 13:21:46 +0000 Subject: [PATCH 2/2] translations: fix "monero_" prefix when taking languages from file --- utils/translations/build-translations.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/translations/build-translations.sh b/utils/translations/build-translations.sh index 1a2aa4492..c868a691f 100755 --- a/utils/translations/build-translations.sh +++ b/utils/translations/build-translations.sh @@ -21,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"