Not creating default ts file

This commit is contained in:
Muki 2019-04-22 12:37:20 +02:00
parent 975e795380
commit f58ebaab3d

View file

@ -58,12 +58,12 @@ qm.CONFIG += no_check_exist
# update the ts files in the src dir and then copy them to the out dir
sailfishapp_i18n_include_obsolete {
qm.commands += lupdate $${TRANSLATION_SOURCES} -ts $${TS_FILE} $$TRANSLATIONS_IN && \
qm.commands += lupdate $${TRANSLATION_SOURCES} -ts $$TRANSLATIONS_IN && \
mkdir -p translations && \
[ \"$${OUT_PWD}\" != \"$${_PRO_FILE_PWD_}\" -a $$HAVE_TRANSLATIONS -eq 1 ] && \
cp -af $${TRANSLATIONS_IN} $${OUT_PWD}/translations || :
} else {
qm.commands += lupdate -noobsolete $${TRANSLATION_SOURCES} -ts $${TS_FILE} $$TRANSLATIONS_IN && \
qm.commands += lupdate -noobsolete $${TRANSLATION_SOURCES} -ts $$TRANSLATIONS_IN && \
mkdir -p translations && \
[ \"$${OUT_PWD}\" != \"$${_PRO_FILE_PWD_}\" -a $$HAVE_TRANSLATIONS -eq 1 ] && \
cp -af $${TRANSLATIONS_IN} $${OUT_PWD}/translations || :