diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-26 11:36:35 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-28 00:41:12 +0200 |
commit | 2f706891f32258c2b070471905f983e4585296d2 (patch) | |
tree | 6c74e28fd7c74d26b1c36c371a9ed56295cc05ae /konqueror/sidebar/trees/init/CMakeLists.txt | |
parent | 98f2d732f33659ba749b70fb939e8eaa0c97edf8 (diff) | |
download | tdebase-2f706891f32258c2b070471905f983e4585296d2.tar.gz tdebase-2f706891f32258c2b070471905f983e4585296d2.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 'konqueror/sidebar/trees/init/CMakeLists.txt')
-rw-r--r-- | konqueror/sidebar/trees/init/CMakeLists.txt | 37 |
1 files changed, 26 insertions, 11 deletions
diff --git a/konqueror/sidebar/trees/init/CMakeLists.txt b/konqueror/sidebar/trees/init/CMakeLists.txt index bf320041b..ebcc7da06 100644 --- a/konqueror/sidebar/trees/init/CMakeLists.txt +++ b/konqueror/sidebar/trees/init/CMakeLists.txt @@ -15,20 +15,35 @@ add_subdirectory( services ) ##### other data ################################ -install( FILES +tde_create_translated_desktop( + SOURCE home.desktop root.desktop history.desktop bookmarks.desktop services.desktop remote.desktop system.desktop trash.desktop - DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries ) + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries + PO_DIR konqueror-desktops +) -install( FILES - home.desktop root.desktop history.desktop bookmarks.desktop - services.desktop remote.desktop trash.desktop - DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/kicker_entries ) +install( + FILES + ${CMAKE_CURRENT_BINARY_DIR}/home.desktop + ${CMAKE_CURRENT_BINARY_DIR}/root.desktop + ${CMAKE_CURRENT_BINARY_DIR}/history.desktop + ${CMAKE_CURRENT_BINARY_DIR}/bookmarks.desktop + ${CMAKE_CURRENT_BINARY_DIR}/services.desktop + ${CMAKE_CURRENT_BINARY_DIR}/remote.desktop + ${CMAKE_CURRENT_BINARY_DIR}/trash.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/kicker_entries +) -install( FILES - virtualfolderadd.desktop - DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add ) +tde_create_translated_desktop( + SOURCE virtualfolderadd.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add + PO_DIR konqueror-desktops +) -install( FILES +tde_create_translated_desktop( + SOURCE history_module.desktop dirtree_module.desktop bookmarks_module.desktop - DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/dirtree ) + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/dirtree + PO_DIR konqueror-desktops +) |