From a6abb9fe5a034b2d7fa05f3fb326e49a9420eb6e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 12 May 2017 18:36:04 +0200 Subject: auto-generate english "translation" this file is merely a placeholder. there is no point in it being in the repository. Change-Id: Id07be46a9fa0c2eb14cbc567cb95e67c00f18b02 Reviewed-by: Katja Marttila --- src/sdk/sdk.pro | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sdk/sdk.pro') diff --git a/src/sdk/sdk.pro b/src/sdk/sdk.pro index 75e714ee4..90becf933 100644 --- a/src/sdk/sdk.pro +++ b/src/sdk/sdk.pro @@ -23,6 +23,7 @@ DESTDIR = $$IFW_APP_PATH exists($$LRELEASE) { IB_TRANSLATIONS = $$files($$PWD/translations/??.ts) $$files($$PWD/translations/??_??.ts) + IB_TRANSLATIONS -= $$PWD/translations/en.ts wd = $$toNativeSeparators($$IFW_SOURCE_TREE) sources = src @@ -55,6 +56,11 @@ exists($$LRELEASE) { } QMAKE_EXTRA_TARGETS += commit-ts + empty_ts = "" + write_file($$OUT_PWD/translations/en.ts, empty_ts)|error("Aborting.") + IB_TRANSLATIONS += $$OUT_PWD/translations/en.ts + QMAKE_DISTCLEAN += translations/en.ts + qrc_cont = \ "" \ " " -- cgit v1.2.3