translation creation updated

This commit is contained in:
Arin Alexander 2018-05-22 11:24:29 +03:00
parent 77f26a846b
commit 05df8021ba

View File

@ -102,10 +102,10 @@ contains(CONFIG,build_translations){
qtPrepareTool(LUPDATE, lupdate) qtPrepareTool(LUPDATE, lupdate)
greaterThan(QT_MAJOR_VERSION, 4) { greaterThan(QT_MAJOR_VERSION, 4) {
ts.commands = $$LUPDATE $$shell_quote($$PWD) -ts $$TRANSLATIONS ts.commands = $$LUPDATE $$shell_quote($$PWD) -no-obsolete -ts $$TRANSLATIONS
} }
lessThan(QT_MAJOR_VERSION, 5){ lessThan(QT_MAJOR_VERSION, 5){
ts.commands = $$LUPDATE $$quote($$PWD) -ts $$TRANSLATIONS ts.commands = $$LUPDATE $$quote($$PWD) -no-obsolete -ts $$TRANSLATIONS
} }
TRANSLATIONS_FILES = TRANSLATIONS_FILES =
qtPrepareTool(LRELEASE, lrelease) qtPrepareTool(LRELEASE, lrelease)