From e604ddcc4c22f4baa33b3ac7737271346c5b33c8 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 (cherry picked from commit cb8cda7bca532df21c02bc4d2bfd03387df7f852) --- konq-plugins/rsync/CMakeLists.txt | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'konq-plugins/rsync/CMakeLists.txt') diff --git a/konq-plugins/rsync/CMakeLists.txt b/konq-plugins/rsync/CMakeLists.txt index 697fd75..444e5a4 100644 --- a/konq-plugins/rsync/CMakeLists.txt +++ b/konq-plugins/rsync/CMakeLists.txt @@ -38,14 +38,30 @@ tde_install_icons( ) ##### other data ################################ -install( FILES rsyncplugin.rc rsync_plugin.desktop +install( + FILES rsyncplugin.rc DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins ) -install( FILES rsyncplugin.rc rsync_plugin.desktop +tde_create_translated_desktop( + SOURCE rsync_plugin.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins + PO_DIR konq-plugins-desktops +) + +install( + FILES rsyncplugin.rc + DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins +) + +tde_create_translated_desktop( + SOURCE rsync_plugin.desktop DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins + PO_DIR konq-plugins-desktops ) -install( FILES rsyncplugin.desktop +tde_create_translated_desktop( + SOURCE rsyncplugin.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden + PO_DIR konq-plugins-desktops ) -- cgit v1.2.1