From cb8cda7bca532df21c02bc4d2bfd03387df7f852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 15 Jul 2020 20:12:47 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- konq-plugins/webarchiver/CMakeLists.txt | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'konq-plugins/webarchiver/CMakeLists.txt') diff --git a/konq-plugins/webarchiver/CMakeLists.txt b/konq-plugins/webarchiver/CMakeLists.txt index efe0480..38f1576 100644 --- a/konq-plugins/webarchiver/CMakeLists.txt +++ b/konq-plugins/webarchiver/CMakeLists.txt @@ -38,16 +38,27 @@ tde_install_icons( webarchiver ) ##### other data ################################ -install( FILES plugin_webarchiver.rc plugin_webarchiver.desktop +install( + FILES plugin_webarchiver.rc DESTINATION ${DATA_INSTALL_DIR}/tdehtml/kpartplugins ) -install( FILES webarchivethumbnail.desktop +tde_create_translated_desktop( + SOURCE plugin_webarchiver.desktop + DESTINATION ${DATA_INSTALL_DIR}/tdehtml/kpartplugins + PO_DIR konq-plugins-desktops +) + +tde_create_translated_desktop( + SOURCE webarchivethumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR konq-plugins-desktops ) -install( FILES plugin_webarchiver.desktop +tde_create_translated_desktop( + SOURCE plugin_webarchiver.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden + PO_DIR konq-plugins-desktops ) install( FILES ../uninstall.desktop -- cgit v1.2.1