summaryrefslogtreecommitdiffstats
path: root/tdeio/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio/CMakeLists.txt')
-rw-r--r--tdeio/CMakeLists.txt17
1 files changed, 7 insertions, 10 deletions
diff --git a/tdeio/CMakeLists.txt b/tdeio/CMakeLists.txt
index 2a8fc7f3a..26bfc53aa 100644
--- a/tdeio/CMakeLists.txt
+++ b/tdeio/CMakeLists.txt
@@ -44,17 +44,14 @@ add_custom_target(
install( FILES tdeio.magic ${CMAKE_CURRENT_BINARY_DIR}/tdeio.magic.mgc DESTINATION ${CONFIG_INSTALL_DIR}/magic )
-foreach( _service
+tde_create_translated_desktop(
+ SOURCE
application.desktop kurifilterplugin.desktop
kcomprfilter.desktop kscan.desktop kdatatool.desktop
tdefileplugin.desktop tdecmodule.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR tdeio-desktops
)
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
- )
-endforeach()
install( FILES tdeioslave.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
@@ -63,19 +60,19 @@ install( PROGRAMS useragent.pl proxytype.pl DESTINATION ${KCONF_UPDATE_INSTALL_D
tde_create_translated_desktop(
SOURCE renamedlgplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
+ PO_DIR tdeio-desktops
)
tde_create_translated_desktop(
SOURCE kpasswdserver.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
+ PO_DIR tdeio-desktops
)
tde_create_translated_desktop(
SOURCE data.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
+ PO_DIR tdeio-desktops
)