summaryrefslogtreecommitdiffstats
path: root/kgpg/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kgpg/CMakeLists.txt')
-rw-r--r--kgpg/CMakeLists.txt21
1 files changed, 12 insertions, 9 deletions
diff --git a/kgpg/CMakeLists.txt b/kgpg/CMakeLists.txt
index 3121421..ef72aab 100644
--- a/kgpg/CMakeLists.txt
+++ b/kgpg/CMakeLists.txt
@@ -57,11 +57,13 @@ install( FILES kgpg_anim.gif kgpg_docked.png
DESTINATION ${DATA_INSTALL_DIR}/kgpg/pics
)
-install( FILES kgpg.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE kgpg.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kgpg-desktops
)
-install( FILES kgpg.desktop
+install(
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/kgpg.desktop
DESTINATION ${AUTOSTART_INSTALL_DIR}
)
@@ -69,13 +71,14 @@ install( FILES kgpg.rc listkeys.rc tips
DESTINATION ${DATA_INSTALL_DIR}/kgpg
)
-install( FILES encryptfile.desktop
- encryptfolder.desktop
- DESTINATION
- ${DATA_INSTALL_DIR}/konqueror/servicemenus
-)
+foreach( _desktop encryptfile.desktop encryptfolder.desktop )
+ tde_create_translated_desktop(
+ SOURCE ${_desktop}
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kgpg-desktops
+ )
+endforeach()
install( FILES kgpg.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
)
-