summaryrefslogtreecommitdiffstats
path: root/kdf/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kdf/CMakeLists.txt')
-rw-r--r--kdf/CMakeLists.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/kdf/CMakeLists.txt b/kdf/CMakeLists.txt
index 43725af..723b9d8 100644
--- a/kdf/CMakeLists.txt
+++ b/kdf/CMakeLists.txt
@@ -67,8 +67,9 @@ install( FILES kdfui.rc
DESTINATION ${DATA_INSTALL_DIR}/kdf
)
-install( FILES kdf.desktop kwikdisk.desktop
- kcmdf.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
-
+foreach( _desktop kdf.desktop kwikdisk.desktop kcmdf.desktop )
+ tde_create_translated_desktop(
+ SOURCE ${_desktop}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kdf-desktops
+ )
+endforeach()