diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-31 19:18:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-31 19:18:47 +0200 |
commit | cfe279f15a6ca1dad65d63f289a6a6a8a91bb024 (patch) | |
tree | a94e1b610ad1a7989454fea921479fcd34e6da7d /ksysv/CMakeLists.txt | |
parent | 1520d3a0913a80a9071c15c1a039e2b1c7dbb993 (diff) | |
download | tdeadmin-cfe279f15a6ca1dad65d63f289a6a6a8a91bb024.tar.gz tdeadmin-cfe279f15a6ca1dad65d63f289a6a6a8a91bb024.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 <slavek.banko@axis.cz>
Diffstat (limited to 'ksysv/CMakeLists.txt')
-rw-r--r-- | ksysv/CMakeLists.txt | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ksysv/CMakeLists.txt b/ksysv/CMakeLists.txt index 223bc80..219ed08 100644 --- a/ksysv/CMakeLists.txt +++ b/ksysv/CMakeLists.txt @@ -42,14 +42,19 @@ install( FILES ksysvui.rc DESTINATION ${DATA_INSTALL_DIR}/ksysv ) -install( FILES ksysv.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE ksysv.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops ) -install( FILES x-ksysv-log.desktop +tde_create_translated_desktop( + SOURCE x-ksysv-log.desktop DESTINATION ${MIME_INSTALL_DIR}/text + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops ) -install( FILES x-ksysv.desktop +tde_create_translated_desktop( + SOURCE x-ksysv.desktop DESTINATION ${MIME_INSTALL_DIR}/application + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops ) |