summaryrefslogtreecommitdiffstats
path: root/konq-plugins/minitools/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-15 20:12:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-16 14:56:12 +0200
commite604ddcc4c22f4baa33b3ac7737271346c5b33c8 (patch)
tree5801d6f9c361d087b54fff6d554d02c91befcb57 /konq-plugins/minitools/CMakeLists.txt
parent02e3da597ed8db74f0a8e8866682d4549da9fbd0 (diff)
downloadtdeaddons-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/minitools/CMakeLists.txt')
-rw-r--r--konq-plugins/minitools/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/konq-plugins/minitools/CMakeLists.txt b/konq-plugins/minitools/CMakeLists.txt
index 4ec9181..4580c39 100644
--- a/konq-plugins/minitools/CMakeLists.txt
+++ b/konq-plugins/minitools/CMakeLists.txt
@@ -29,6 +29,13 @@ tde_install_icons( )
##### other data ################################
-install( FILES minitoolsplugin.rc minitoolsplugin.desktop
+install(
+ FILES minitoolsplugin.rc
DESTINATION ${DATA_INSTALL_DIR}/tdehtml/kpartplugins
)
+
+tde_create_translated_desktop(
+ SOURCE minitoolsplugin.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/tdehtml/kpartplugins
+ PO_DIR konq-plugins-desktops
+)