summaryrefslogtreecommitdiffstats
path: root/kolf/courses/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-10 21:25:06 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-12 15:23:06 +0200
commit87f08539f4780f52819ddb9e7d291decbc14fa6f (patch)
tree902840117702b8d2c955b33f0402e0df6446a22c /kolf/courses/CMakeLists.txt
parentbd46b20a12f3634ad167206c497bb9a050ac533c (diff)
downloadtdegames-87f08539f4780f52819ddb9e7d291decbc14fa6f.tar.gz
tdegames-87f08539f4780f52819ddb9e7d291decbc14fa6f.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a25cdc59c6302046b3121276f5a33f6b1b55a538)
Diffstat (limited to 'kolf/courses/CMakeLists.txt')
-rw-r--r--kolf/courses/CMakeLists.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/kolf/courses/CMakeLists.txt b/kolf/courses/CMakeLists.txt
index 01fde2a4..ac4a494e 100644
--- a/kolf/courses/CMakeLists.txt
+++ b/kolf/courses/CMakeLists.txt
@@ -1,6 +1,11 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
-install( FILES Classic.kolf Hard.kolf Medium.kolf Easy.kolf ReallyEasy Practice
- Impossible USApro
- DESTINATION ${DATA_INSTALL_DIR}/kolf/courses
+foreach( _course Classic.kolf Hard.kolf Medium.kolf Easy.kolf
+ ReallyEasy Practice Impossible USApro
)
+ tde_create_translated_desktop(
+ SOURCE ${_course}
+ DESTINATION ${DATA_INSTALL_DIR}/kolf/courses
+ PO_DIR ${CMAKE_SOURCE_DIR}translations/desktop_files/kolf-courses
+ )
+endforeach()