diff options
author | Slávek Banko <[email protected]> | 2020-06-07 18:25:52 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-07 18:48:13 +0200 |
commit | 9756408b0ebb206b53abd2597926d8fead731977 (patch) | |
tree | 62caa2c2ebd6ebccc5472fdc7469fe54dad8b24f /tdeioslave/iso/CMakeLists.txt | |
parent | c95c7a29338aa309fab071b5a4475400fdce97a8 (diff) | |
download | tdelibs-9756408b0ebb206b53abd2597926d8fead731977.tar.gz tdelibs-9756408b0ebb206b53abd2597926d8fead731977.zip |
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 4b7a4e17362206fd2eade35ba947a850263b0ea1)
Diffstat (limited to 'tdeioslave/iso/CMakeLists.txt')
-rw-r--r-- | tdeioslave/iso/CMakeLists.txt | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/tdeioslave/iso/CMakeLists.txt b/tdeioslave/iso/CMakeLists.txt index 79c795ceb..b26827a2d 100644 --- a/tdeioslave/iso/CMakeLists.txt +++ b/tdeioslave/iso/CMakeLists.txt @@ -30,10 +30,29 @@ link_directories( ##### other data ################################ -install( FILES iso.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES isoservice.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus ) -install( FILES tdeio_isorc DESTINATION ${CONFIG_INSTALL_DIR} ) -install( FILES tdeio_iso.desktop DESTINATION ${APPS_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE iso.protocol + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops +) + +tde_create_translated_desktop( + SOURCE isoservice.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops +) + +tde_create_translated_desktop( + SOURCE tdeio_isorc + DESTINATION ${CONFIG_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops +) + +tde_create_translated_desktop( + SOURCE tdeio_iso.desktop + DESTINATION ${APPS_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops +) ##### tdeio_iso ################################### |