summaryrefslogtreecommitdiffstats
path: root/tdecore/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/CMakeLists.txt')
-rw-r--r--tdecore/CMakeLists.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/tdecore/CMakeLists.txt b/tdecore/CMakeLists.txt
index fb39d1bea..e9b909acc 100644
--- a/tdecore/CMakeLists.txt
+++ b/tdecore/CMakeLists.txt
@@ -80,8 +80,11 @@ install( FILES
##### other data ################################
-install( FILES all_languages.desktop
- DESTINATION ${LOCALE_INSTALL_DIR} RENAME all_languages )
+tde_create_translated_desktop(
+ SOURCE all_languages.desktop
+ DESTINATION ${LOCALE_INSTALL_DIR}
+ OUTPUT_NAME all_languages
+)
install( FILES 40.colors Web.colors Royal.colors Rainbow.colors
DESTINATION ${CONFIG_INSTALL_DIR}/colors )
@@ -92,8 +95,11 @@ install( FILES kdebug.areas kdebugrc language.codes
install( FILES kmdcodec_compat.h
DESTINATION ${INCLUDE_INSTALL_DIR}/tdeio RENAME kmdcodec.h )
-install( FILES eventsrc
- DESTINATION ${DATA_INSTALL_DIR}/knotify )
+tde_create_translated_desktop(
+ SOURCE eventsrc
+ DESTINATION ${DATA_INSTALL_DIR}/knotify
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdecore-eventsrc
+)
##### libtdecore ################################