diff options
author | Slávek Banko <[email protected]> | 2020-07-12 16:15:10 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-12 16:15:10 +0200 |
commit | 0d3043b6308af148da06ac14c53defc4b1e7e138 (patch) | |
tree | 2e9364cb143e70ee062e443275b852b8e2061888 /tderesources/groupdav/CMakeLists.txt | |
parent | 7c7363c3ca7fb9633d93cefde3cd54b144eee633 (diff) | |
download | tdepim-0d3043b6308af148da06ac14c53defc4b1e7e138.tar.gz tdepim-0d3043b6308af148da06ac14c53defc4b1e7e138.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]>
Diffstat (limited to 'tderesources/groupdav/CMakeLists.txt')
-rw-r--r-- | tderesources/groupdav/CMakeLists.txt | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/tderesources/groupdav/CMakeLists.txt b/tderesources/groupdav/CMakeLists.txt index 13e314b9b..8ee6f6742 100644 --- a/tderesources/groupdav/CMakeLists.txt +++ b/tderesources/groupdav/CMakeLists.txt @@ -26,9 +26,20 @@ link_directories( ##### other data ################################ -install( FILES kcal_groupdav.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/kcal ) +tde_create_translated_desktop( + SOURCE kcal_groupdav.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/kcal + PO_DIR tderesources-desktops +) + install( FILES uninstall.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/kcal RENAME kcal_opengroupware.desktop ) -install( FILES tdeabc_groupdav.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc ) + +tde_create_translated_desktop( + SOURCE tdeabc_groupdav.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc + PO_DIR tderesources-desktops +) + install( FILES uninstall.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc RENAME tdeabc_opengroupware.desktop) |