summaryrefslogtreecommitdiffstats
path: root/kolf/CMakeL10n.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/CMakeL10n.txt')
-rw-r--r--kolf/CMakeL10n.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/kolf/CMakeL10n.txt b/kolf/CMakeL10n.txt
index cec25801..7e788221 100644
--- a/kolf/CMakeL10n.txt
+++ b/kolf/CMakeL10n.txt
@@ -1,3 +1,20 @@
##### create translation templates ##############
tde_l10n_create_template( "kolf" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kolf-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
+
+file( GLOB _courses RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/courses/* )
+list( REMOVE_ITEM _courses courses/CMakeLists.txt courses/Makefile.am courses/ADDING_COURSES )
+list( SORT _courses )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kolf-courses/"
+ SOURCES_DESKTOP intro tutorial.kolf ${_courses}
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)