summaryrefslogtreecommitdiffstats
path: root/kontact/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/src/CMakeLists.txt')
-rw-r--r--kontact/src/CMakeLists.txt23
1 files changed, 20 insertions, 3 deletions
diff --git a/kontact/src/CMakeLists.txt b/kontact/src/CMakeLists.txt
index 39ea8df98..e15e5c66f 100644
--- a/kontact/src/CMakeLists.txt
+++ b/kontact/src/CMakeLists.txt
@@ -28,10 +28,27 @@ link_directories(
##### other data ################################
tde_install_icons( )
-install( FILES Kontact.desktop kontactdcop.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+tde_create_translated_desktop(
+ SOURCE Kontact.desktop kontactdcop.desktop
+ PO_DIR kontact-desktops
+)
+
install( FILES kontact.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
-install( FILES kontactconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kontactui.rc kontact.setdlg DESTINATION ${DATA_INSTALL_DIR}/kontact )
+
+tde_create_translated_desktop(
+ SOURCE kontactconfig.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kontact-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE kontact.setdlg
+ DESTINATION ${DATA_INSTALL_DIR}/kontact
+ PO_DIR kontact-desktops
+)
+
+install( FILES kontactui.rc DESTINATION ${DATA_INSTALL_DIR}/kontact )
##### kcm_kontact (module) ######################