summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar/trees/init/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/sidebar/trees/init/CMakeLists.txt')
-rw-r--r--konqueror/sidebar/trees/init/CMakeLists.txt36
1 files changed, 25 insertions, 11 deletions
diff --git a/konqueror/sidebar/trees/init/CMakeLists.txt b/konqueror/sidebar/trees/init/CMakeLists.txt
index 02df2aba3..46f26818b 100644
--- a/konqueror/sidebar/trees/init/CMakeLists.txt
+++ b/konqueror/sidebar/trees/init/CMakeLists.txt
@@ -15,20 +15,34 @@ add_subdirectory( services )
##### other data ################################
-install( FILES
+tde_create_translated_desktop(
+ SOURCE
home.desktop root.desktop history.desktop bookmarks.desktop
services.desktop remote.desktop system.desktop
- DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries )
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries
+ PO_DIR konqueror-desktops
+)
-install( FILES
- home.desktop root.desktop history.desktop bookmarks.desktop
- services.desktop remote.desktop
- DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/kicker_entries )
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/home.desktop
+ ${CMAKE_CURRENT_BINARY_DIR}/root.desktop
+ ${CMAKE_CURRENT_BINARY_DIR}/history.desktop
+ ${CMAKE_CURRENT_BINARY_DIR}/bookmarks.desktop
+ ${CMAKE_CURRENT_BINARY_DIR}/services.desktop
+ ${CMAKE_CURRENT_BINARY_DIR}/remote.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/kicker_entries
+)
-install( FILES
- virtualfolderadd.desktop
- DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add )
+tde_create_translated_desktop(
+ SOURCE virtualfolderadd.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add
+ PO_DIR konqueror-desktops
+)
-install( FILES
+tde_create_translated_desktop(
+ SOURCE
history_module.desktop dirtree_module.desktop bookmarks_module.desktop
- DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/dirtree )
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/dirtree
+ PO_DIR konqueror-desktops
+)