summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/CMakeLists.txt')
-rw-r--r--kbabel/kbabeldict/CMakeLists.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/kbabel/kbabeldict/CMakeLists.txt b/kbabel/kbabeldict/CMakeLists.txt
index 32bb588f..3db2b618 100644
--- a/kbabel/kbabeldict/CMakeLists.txt
+++ b/kbabel/kbabeldict/CMakeLists.txt
@@ -36,8 +36,17 @@ install( FILES
##### other data ################################
tde_install_icons( kbabeldict )
-install( FILES kbabeldict.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES kbabeldict_module.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+tde_create_translated_desktop(
+ SOURCE kbabeldict.desktop
+ PO_DIR kbabel-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE kbabeldict_module.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR kbabel-desktops
+)
##### kbabeldict (executable) ###################