diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-01-29 22:01:52 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-01-29 22:01:52 +0300 |
| commit | 46db7715f9d37be244c0cb8dd8f9e1b48f2bcbd0 (patch) | |
| tree | 9d8b1af33ab1cf1bbcf5fd8053f1b8e64b3fcb38 | |
| parent | ef66f9bf162292dd1da9c74fad31e14a92c35494 (diff) | |
| download | monzero-gui-46db7715f9d37be244c0cb8dd8f9e1b48f2bcbd0.tar.gz monzero-gui-46db7715f9d37be244c0cb8dd8f9e1b48f2bcbd0.tar.xz monzero-gui-46db7715f9d37be244c0cb8dd8f9e1b48f2bcbd0.zip | |
German and English translation files
| -rw-r--r-- | monero-core.pro | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/monero-core.pro b/monero-core.pro index 75812a7e..2d608aa8 100644 --- a/monero-core.pro +++ b/monero-core.pro @@ -11,6 +11,30 @@ SOURCES += main.cpp \ filter.cpp \ clipboardAdapter.cpp +lupdate_only { +SOURCES = *.qml \ + components/*.qml \ + pages/*.qml \ + wizard/*.qml +} + +# translations files; +TRANSLATIONS = monero-core_en.ts \ # English (could be untranslated) + monero-core_de.ts # Deutsch + + +# extra make targets for lupdate and lrelease invocation +lupdate.commands = lupdate $$_PRO_FILE_ +lupdate.depends = $$SOURCES $$HEADERS $$TRANSLATIONS +lrelease.commands = lrelease $$_PRO_FILE_ +lrelease.depends = lupdate +translate.commands = $(COPY) *.qm ${DESTDIR} +translate.depends = lrelease + +QMAKE_EXTRA_TARGETS += lupdate lrelease + + + CONFIG(release, debug|release) { DESTDIR=release } |
