diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-15 20:12:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-16 14:56:12 +0200 |
commit | e604ddcc4c22f4baa33b3ac7737271346c5b33c8 (patch) | |
tree | 5801d6f9c361d087b54fff6d554d02c91befcb57 /konq-plugins/dirfilter/CMakeLists.txt | |
parent | 02e3da597ed8db74f0a8e8866682d4549da9fbd0 (diff) | |
download | tdeaddons-e604ddcc4c22f4baa33b3ac7737271346c5b33c8.tar.gz tdeaddons-e604ddcc4c22f4baa33b3ac7737271346c5b33c8.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>
(cherry picked from commit cb8cda7bca532df21c02bc4d2bfd03387df7f852)
Diffstat (limited to 'konq-plugins/dirfilter/CMakeLists.txt')
-rw-r--r-- | konq-plugins/dirfilter/CMakeLists.txt | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/konq-plugins/dirfilter/CMakeLists.txt b/konq-plugins/dirfilter/CMakeLists.txt index 2eff71a..aed49cc 100644 --- a/konq-plugins/dirfilter/CMakeLists.txt +++ b/konq-plugins/dirfilter/CMakeLists.txt @@ -27,14 +27,30 @@ tde_add_kpart( libdirfilterplugin AUTOMOC ##### other data ################################ -install( FILES dirfilterplugin.rc dirfilter_plugin.desktop +install( + FILES dirfilterplugin.rc DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins ) -install( FILES dirfilterplugin.rc dirfilter_plugin.desktop +tde_create_translated_desktop( + SOURCE dirfilter_plugin.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins + PO_DIR konq-plugins-desktops +) + +install( + FILES dirfilterplugin.rc + DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins +) + +tde_create_translated_desktop( + SOURCE dirfilter_plugin.desktop DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins + PO_DIR konq-plugins-desktops ) -install( FILES dirfilterplugin.desktop +tde_create_translated_desktop( + SOURCE dirfilterplugin.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden + PO_DIR konq-plugins-desktops ) |