diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-08 22:39:20 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-08 22:39:20 +0200 |
commit | d36d9267539f12fdaa5a0dd18f6285e4a636e1ac (patch) | |
tree | 65966d4e78c0529e0e56f8586a7d9c2ae530d336 /lanbrowsing/tdeio_lan/CMakeLists.txt | |
parent | 54888da0ae983555ec963c52007c50d49b3c66af (diff) | |
download | tdenetwork-d36d9267539f12fdaa5a0dd18f6285e4a636e1ac.tar.gz tdenetwork-d36d9267539f12fdaa5a0dd18f6285e4a636e1ac.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 'lanbrowsing/tdeio_lan/CMakeLists.txt')
-rw-r--r-- | lanbrowsing/tdeio_lan/CMakeLists.txt | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/lanbrowsing/tdeio_lan/CMakeLists.txt b/lanbrowsing/tdeio_lan/CMakeLists.txt index 50794770..6cdbb791 100644 --- a/lanbrowsing/tdeio_lan/CMakeLists.txt +++ b/lanbrowsing/tdeio_lan/CMakeLists.txt @@ -22,21 +22,29 @@ link_directories( ##### other data ################################ -install( FILES - lan.protocol rlan.protocol - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE lan.protocol rlan.protocol + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR lanbrowsing-desktops +) -install( FILES - lan.desktop - DESTINATION ${DATA_INSTALL_DIR}/konqueror/dirtree/remote ) +tde_create_translated_desktop( + SOURCE lan.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqueror/dirtree/remote + PO_DIR lanbrowsing-desktops +) -install( FILES - lan.desktop - DESTINATION ${DATA_INSTALL_DIR}/remoteview ) +tde_create_translated_desktop( + SOURCE lan.desktop + DESTINATION ${DATA_INSTALL_DIR}/remoteview + PO_DIR lanbrowsing-desktops +) -install( FILES - lisa.desktop - DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/services ) +tde_create_translated_desktop( + SOURCE lisa.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/services + PO_DIR lanbrowsing-desktops +) ##### tdeio_lan (module) ########################## |