mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cmake: add Qt translation files
Not doing anything with them, yet. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
499aeaf645
commit
d9a6acf4be
1 changed files with 19 additions and 0 deletions
|
@ -373,6 +373,21 @@ set(TRANSLATION_SRC
|
||||||
translations/subsurface_zh_TW.ts
|
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%:
|
# disabled translations as they are below 50%:
|
||||||
# translations/subsurface_el_GR.ts \
|
# translations/subsurface_el_GR.ts \
|
||||||
# translations/subsurface_he.ts \
|
# translations/subsurface_he.ts \
|
||||||
|
@ -398,6 +413,10 @@ foreach(TRANSLATION ${TRANSLATION_SRC})
|
||||||
set(TRANSLATIONS ${TRANSLATIONS} ${CMAKE_BINARY_DIR}/${TRANSLATION_QM})
|
set(TRANSLATIONS ${TRANSLATIONS} ${CMAKE_BINARY_DIR}/${TRANSLATION_QM})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
foreach(QTTRANSLATION ${QTTRANSLATIONS_BASE})
|
||||||
|
set(QTTRANSLATIONS ${QTTRANSLATIONS} ${QT_TRANSLATION_DIR}/${QTTRANSLATION})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
# now for each platform the install instructions
|
# now for each platform the install instructions
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||||
|
|
Loading…
Add table
Reference in a new issue