summaryrefslogtreecommitdiffstats
path: root/interfaces/tdemediaplayer/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/tdemediaplayer/CMakeLists.txt')
-rw-r--r--interfaces/tdemediaplayer/CMakeLists.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/interfaces/tdemediaplayer/CMakeLists.txt b/interfaces/tdemediaplayer/CMakeLists.txt
index fbbcf1e3b..ba0a8c475 100644
--- a/interfaces/tdemediaplayer/CMakeLists.txt
+++ b/interfaces/tdemediaplayer/CMakeLists.txt
@@ -38,9 +38,16 @@ install( FILES
##### other data ################################
-install( FILES
- tdemediaplayerengine.desktop tdemediaplayer.desktop
- DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+foreach( _service
+ tdemediaplayerengine.desktop
+ tdemediaplayer.desktop
+)
+ tde_create_translated_desktop(
+ SOURCE ${_service}
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
+ )
+endforeach()
##### tdemediaplayer ##############################