summaryrefslogtreecommitdiffstats
path: root/translations/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-04-09 15:50:06 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-09 11:57:30 -0700
commita8d06b848edf547376bc32a8b26e947cdcd2c28a (patch)
tree6ad5a51354f0d7ca76fcac6a01c1b0469da314df /translations/CMakeLists.txt
parent1a662df648ef705ee82049adb6dba119ad9df0a8 (diff)
downloadsubsurface-a8d06b848edf547376bc32a8b26e947cdcd2c28a.tar.gz
Move the translations to it's own subfolder
By adding a new CMakeLists.txt file and configuring the translations inside of it's folder, the buildsystem will compile everything on that folder. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'translations/CMakeLists.txt')
-rw-r--r--translations/CMakeLists.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
new file mode 100644
index 000000000..71ffa6d39
--- /dev/null
+++ b/translations/CMakeLists.txt
@@ -0,0 +1,34 @@
+QT5_ADD_TRANSLATION(TRANSLATIONS
+ subsurface_source.ts
+ subsurface_bg_BG.ts
+ subsurface_cs.ts
+ subsurface_da_DK.ts
+ subsurface_de_CH.ts
+ subsurface_de_DE.ts
+ subsurface_en_GB.ts
+ subsurface_es_ES.ts
+ subsurface_et_EE.ts
+ subsurface_fi_FI.ts
+ subsurface_fr_FR.ts
+ subsurface_it_IT.ts
+ subsurface_lv_LV.ts
+ subsurface_nb_NO.ts
+ subsurface_nl_NL.ts
+ subsurface_pl_PL.ts
+ subsurface_pt_BR.ts
+ subsurface_pt_PT.ts
+ subsurface_ru_RU.ts
+ subsurface_sk_SK.ts
+ subsurface_sv_SE.ts
+ subsurface_tr.ts
+ subsurface_zh_TW.ts
+)
+
+# disabled translations as they are below 50%:
+# translations/subsurface_el_GR.ts \
+# translations/subsurface_he.ts \
+# translations/subsurface_hu.ts \
+# translations/subsurface_ro_RO.ts \
+
+SET(TRANSLATIONS ${TRANSLATIONS} PARENT_SCOPE)
+ADD_CUSTOM_TARGET (translations ALL DEPENDS ${TRANSLATIONS})