mirror of
https://github.com/QuasarApp/installer-framework.git
synced 2025-04-26 21:54:31 +00:00
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 <katja.marttila@qt.io>
This commit is contained in:
parent
149b580743
commit
a6abb9fe5a
@ -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 = "<TS></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 = \
|
||||
"<RCC>" \
|
||||
" <qresource prefix=\"/\">"
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user