diff options
author | Slávek Banko <[email protected]> | 2020-06-26 11:36:35 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-28 00:41:12 +0200 |
commit | 2f706891f32258c2b070471905f983e4585296d2 (patch) | |
tree | 6c74e28fd7c74d26b1c36c371a9ed56295cc05ae /konqueror/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 <[email protected]>
Diffstat (limited to 'konqueror/CMakeLists.txt')
-rw-r--r-- | konqueror/CMakeLists.txt | 69 |
1 files changed, 59 insertions, 10 deletions
diff --git a/konqueror/CMakeLists.txt b/konqueror/CMakeLists.txt index 0c99b911c..bd6f9d974 100644 --- a/konqueror/CMakeLists.txt +++ b/konqueror/CMakeLists.txt @@ -55,23 +55,72 @@ install( FILES ##### other data ################################ install( FILES konqueror.rc konq-simplebrowser.rc DESTINATION ${DATA_INSTALL_DIR}/konqueror ) -install( FILES konqueror.desktop DESTINATION ${APPS_INSTALL_DIR} ) -install( FILES konqfilemgr.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden ) + +tde_create_translated_desktop( + SOURCE konqueror.desktop + DESTINATION ${APPS_INSTALL_DIR} + PO_DIR konqueror-desktops +) + +tde_create_translated_desktop( + SOURCE konqfilemgr.desktop + DESTINATION ${APPS_INSTALL_DIR}/.hidden + PO_DIR konqueror-desktops +) + install( FILES konqueror.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) -install( FILES +tde_create_translated_desktop( + SOURCE kfmclient.desktop kfmclient_dir.desktop kfmclient_html.desktop kfmclient_war.desktop konqbrowser.desktop konquerorsu.desktop Home.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} ) + PO_DIR konqueror-desktops +) set( PROFILEDIR ${DATA_INSTALL_DIR}/konqueror/profiles ) -install( FILES profile_webbrowsing.desktop DESTINATION ${PROFILEDIR} RENAME webbrowsing ) -install( FILES profile_filemanagement.desktop DESTINATION ${PROFILEDIR} RENAME filemanagement ) -install( FILES profile_midnightcommander.desktop DESTINATION ${PROFILEDIR} RENAME midnightcommander ) -install( FILES profile_tabbedbrowsing.desktop DESTINATION ${PROFILEDIR} RENAME tabbedbrowsing ) -install( FILES profile_kde_devel.desktop DESTINATION ${PROFILEDIR} RENAME kde_devel ) -install( FILES profile_simplebrowser.desktop DESTINATION ${PROFILEDIR} RENAME simplebrowser ) + +tde_create_translated_desktop( + SOURCE profile_webbrowsing.desktop + DESTINATION ${PROFILEDIR} + OUTPUT_NAME webbrowsing + PO_DIR konqueror-desktops +) + +tde_create_translated_desktop( + SOURCE profile_filemanagement.desktop + DESTINATION ${PROFILEDIR} + OUTPUT_NAME filemanagement + PO_DIR konqueror-desktops +) + +tde_create_translated_desktop( + SOURCE profile_midnightcommander.desktop + DESTINATION ${PROFILEDIR} + OUTPUT_NAME midnightcommander + PO_DIR konqueror-desktops +) + +tde_create_translated_desktop( + SOURCE profile_tabbedbrowsing.desktop + DESTINATION ${PROFILEDIR} + OUTPUT_NAME tabbedbrowsing + PO_DIR konqueror-desktops +) + +tde_create_translated_desktop( + SOURCE profile_kde_devel.desktop + DESTINATION ${PROFILEDIR} + OUTPUT_NAME kde_devel + PO_DIR konqueror-desktops +) + +tde_create_translated_desktop( + SOURCE profile_simplebrowser.desktop + DESTINATION ${PROFILEDIR} + OUTPUT_NAME simplebrowser + PO_DIR konqueror-desktops +) ##### konqueror_intern (static lib) ############# |