##### 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"
)
