diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-03-31 13:39:09 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-31 13:39:09 -0700 |
commit | d9a6acf4be071aab8c2516495a1751fe20a58758 (patch) | |
tree | 47a8ece77e10adadd40922605cc6c0f808c3e21e /CMakeLists.txt | |
parent | 499aeaf645146fff4aa369ac7fb07d383d8843e5 (diff) | |
download | subsurface-d9a6acf4be071aab8c2516495a1751fe20a58758.tar.gz |
cmake: add Qt translation files
Not doing anything with them, yet.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7eebc0c78..617b7655a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -373,6 +373,21 @@ set(TRANSLATION_SRC translations/subsurface_zh_TW.ts ) +set(QTTRANSLATIONS_BASE + qt_da.qm + qt_de.qm + qt_es.qm + qt_fr.qm + qt_he.qm + qt_hu.qm + qt_pl.qm + qt_pt.qm + qt_ru.qm + qt_sk.qm + qt_sv.qm + qt_zh_TW.qm +) + # disabled translations as they are below 50%: # translations/subsurface_el_GR.ts \ # translations/subsurface_he.ts \ @@ -398,6 +413,10 @@ foreach(TRANSLATION ${TRANSLATION_SRC}) set(TRANSLATIONS ${TRANSLATIONS} ${CMAKE_BINARY_DIR}/${TRANSLATION_QM}) endforeach() +foreach(QTTRANSLATION ${QTTRANSLATIONS_BASE}) + set(QTTRANSLATIONS ${QTTRANSLATIONS} ${QT_TRANSLATION_DIR}/${QTTRANSLATION}) +endforeach() + # now for each platform the install instructions if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") |