summaryrefslogtreecommitdiffstats
path: root/kontact/CMakeL10n.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/CMakeL10n.txt')
-rw-r--r--kontact/CMakeL10n.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/kontact/CMakeL10n.txt b/kontact/CMakeL10n.txt
index bbfad480f..1df9203a9 100644
--- a/kontact/CMakeL10n.txt
+++ b/kontact/CMakeL10n.txt
@@ -3,3 +3,23 @@
tde_l10n_create_template( "kontact" )
tde_l10n_auto_add_subdirectories( )
+
+file(
+ GLOB_RECURSE _desktops
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/*.desktop
+)
+list( SORT _desktops )
+
+file(
+ GLOB_RECURSE _profiles
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/*profile.cfg
+)
+list( SORT _profiles )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kontact-desktops/"
+ SOURCES_DESKTOP ${_desktops} ${_profiles} src/kontact.setdlg
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)