summaryrefslogtreecommitdiffstats
path: root/tdewallet/konfigurator/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tdewallet/konfigurator/CMakeLists.txt')
-rw-r--r--tdewallet/konfigurator/CMakeLists.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/tdewallet/konfigurator/CMakeLists.txt b/tdewallet/konfigurator/CMakeLists.txt
index d9283f8..b640df8 100644
--- a/tdewallet/konfigurator/CMakeLists.txt
+++ b/tdewallet/konfigurator/CMakeLists.txt
@@ -33,13 +33,15 @@ tde_add_kpart( kcm_tdewallet AUTOMOC
##### other data ################################
-install( FILES tdewalletconfig.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE tdewalletconfig.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdewallet-desktops
)
-install(
- FILES
- tdewallet_config.desktop
- tdewalletmanager_show.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}
-)
+foreach( _desktop tdewallet_config.desktop tdewalletmanager_show.desktop )
+ tde_create_translated_desktop(
+ SOURCE ${_desktop}
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdewallet-desktops
+ )
+endforeach()