diff options
Diffstat (limited to 'krec/CMakeLists.txt')
-rw-r--r-- | krec/CMakeLists.txt | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/krec/CMakeLists.txt b/krec/CMakeLists.txt index 298d4877..834cb1f7 100644 --- a/krec/CMakeLists.txt +++ b/krec/CMakeLists.txt @@ -111,9 +111,31 @@ tde_add_kpart( libkrecexport_wave AUTOMOC ##### other data ################################ -install( FILES krec.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE krec.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops +) + install( FILES krecui.rc DESTINATION ${DATA_INSTALL_DIR}/krec ) -install( FILES kcm_krec.desktop kcm_krec_files.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + +foreach( _service kcm_krec.desktop kcm_krec_files.desktop ) + tde_create_translated_desktop( + SOURCE ${_service} + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops + ) +endforeach() + install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/krec ) -install( FILES krec_exportitem.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) -install( FILES krec_exportwave.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + +tde_create_translated_desktop( + SOURCE krec_exportitem.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops +) + +tde_create_translated_desktop( + SOURCE krec_exportwave.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops +) |