From b929ac308baf00a396d01b75ad462c09a66a22a3 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Sun, 2 Jun 2019 09:34:42 +0300 Subject: [PATCH] Translation build has been changed --- limereport/limereport.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/limereport/limereport.pro b/limereport/limereport.pro index 1407b72..d1ac03d 100644 --- a/limereport/limereport.pro +++ b/limereport/limereport.pro @@ -119,7 +119,7 @@ contains(CONFIG,build_translations){ return($$result) } - TRANSLATIONS = $$prependAll(LANGUAGES, \"$$TRANSLATIONS_PATH/limereport_,.ts\") + TRANSLATIONS = $$prependAll(LANGUAGES, $$TRANSLATIONS_PATH/limereport_,.ts) qtPrepareTool(LUPDATE, lupdate) @@ -133,7 +133,7 @@ lessThan(QT_MAJOR_VERSION, 5){ qtPrepareTool(LRELEASE, lrelease) for(tsfile, TRANSLATIONS) { qmfile = $$tsfile - qmfile ~= s,".ts\"$",".qm\"", + qmfile ~= s,".ts$",".qm", qm.commands += $$LRELEASE -removeidentical $$tsfile -qm $$qmfile $$escape_expand(\\n\\t) tmp_command = $$LRELEASE -removeidentical $$tsfile -qm $$qmfile $$escape_expand(\\n\\t) TRANSLATIONS_FILES += $$qmfile