diff options
author | Slávek Banko <[email protected]> | 2020-05-30 00:57:03 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-30 01:05:29 +0200 |
commit | d11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d (patch) | |
tree | 060933b7cc6b5aa928a37c4868330f58fb5b6294 /kscd/CMakeLists.txt | |
parent | 77d1049eb65f4d8bd24351c5c1a8d6344bf3ec62 (diff) | |
download | tdemultimedia-d11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d.tar.gz tdemultimedia-d11ce98ed0b2a0508fcfbe8bb0f956e3f671ad0d.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 ff3f2006ce72b2edabc534188a4ad006e89b4f84)
Diffstat (limited to 'kscd/CMakeLists.txt')
-rw-r--r-- | kscd/CMakeLists.txt | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/kscd/CMakeLists.txt b/kscd/CMakeLists.txt index d6f74be7..ee3ea4ab 100644 --- a/kscd/CMakeLists.txt +++ b/kscd/CMakeLists.txt @@ -59,8 +59,23 @@ tde_add_executable( kscd AUTOMOC install( PROGRAMS workman2cddb.pl DESTINATION ${BIN_INSTALL_DIR} ) -install( FILES kscd.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) -install( FILES xmcd.desktop DESTINATION ${MIME_INSTALL_DIR}/text ) +tde_create_translated_desktop( + SOURCE kscd.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops +) + +tde_create_translated_desktop( + SOURCE xmcd.desktop + DESTINATION ${MIME_INSTALL_DIR}/text + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops +) + install( FILES kscd.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) + install( FILES kscd.profile.xml DESTINATION ${DATA_INSTALL_DIR}/profiles ) -install( FILES audiocd_play.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus ) + +tde_create_translated_desktop( + SOURCE audiocd_play.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops +) |