use the cmake built-in ts->qm conversion instead of keeping binary files in trunk
authorkoda
Mon, 21 Jun 2010 16:52:14 +0200
changeset 3530 390e5048d39c
parent 3529 0e968ba12a84
child 3531 66c403badff6
use the cmake built-in ts->qm conversion instead of keeping binary files in trunk
share/hedgewars/Data/Locale/CMakeLists.txt
share/hedgewars/Data/Locale/hedgewars_bg.qm
share/hedgewars/Data/Locale/hedgewars_cs.qm
share/hedgewars/Data/Locale/hedgewars_de.qm
share/hedgewars/Data/Locale/hedgewars_en.qm
share/hedgewars/Data/Locale/hedgewars_es.qm
share/hedgewars/Data/Locale/hedgewars_fi.qm
share/hedgewars/Data/Locale/hedgewars_fr.qm
share/hedgewars/Data/Locale/hedgewars_it.qm
share/hedgewars/Data/Locale/hedgewars_ja.qm
share/hedgewars/Data/Locale/hedgewars_pl.qm
share/hedgewars/Data/Locale/hedgewars_pt_BR.qm
share/hedgewars/Data/Locale/hedgewars_pt_PT.qm
share/hedgewars/Data/Locale/hedgewars_ru.qm
share/hedgewars/Data/Locale/hedgewars_sk.qm
share/hedgewars/Data/Locale/hedgewars_sv.qm
share/hedgewars/Data/Locale/hedgewars_tr_TR.qm
share/hedgewars/Data/Locale/hedgewars_uk.qm
share/hedgewars/Data/Locale/hedgewars_zh_CN.qm
share/hedgewars/Data/Locale/hedgewars_zh_TW.qm
--- a/share/hedgewars/Data/Locale/CMakeLists.txt	Mon Jun 21 16:08:24 2010 +0200
+++ b/share/hedgewars/Data/Locale/CMakeLists.txt	Mon Jun 21 16:52:14 2010 +0200
@@ -1,9 +1,12 @@
 file(GLOB txttrans2 ??.txt)
 file(GLOB txttrans5 ?????.txt)
-file(GLOB qmtrans hedgewars_*.qm)
+
+set(ts_files *.ts)
+QT4_CREATE_TRANSLATION(qm_files ts_files)
+#file(GLOB qmtrans hedgewars_*.qm)
 
 install(FILES
 	${txttrans2}
 	${txttrans5}
-	${qmtrans}
+	${qm_files}
 	DESTINATION ${SHAREPATH}Data/Locale)
Binary file share/hedgewars/Data/Locale/hedgewars_bg.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_cs.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_de.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_en.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_es.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_fi.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_fr.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_it.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_ja.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_pl.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_pt_BR.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_pt_PT.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_ru.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_sk.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_sv.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_tr_TR.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_uk.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_zh_CN.qm has changed
Binary file share/hedgewars/Data/Locale/hedgewars_zh_TW.qm has changed