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/searchbar/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'konq-plugins/searchbar/CMakeLists.txt') diff --git a/konq-plugins/searchbar/CMakeLists.txt b/konq-plugins/searchbar/CMakeLists.txt index 928ba07..71ed5f8 100644 --- a/konq-plugins/searchbar/CMakeLists.txt +++ b/konq-plugins/searchbar/CMakeLists.txt @@ -26,10 +26,17 @@ tde_add_kpart( libsearchbarplugin AUTOMOC ##### other data ################################ -install( FILES searchbar.rc searchbar.desktop +install( + FILES searchbar.rc DESTINATION ${DATA_INSTALL_DIR}/konqueror/kpartplugins ) +tde_create_translated_desktop( + SOURCE searchbar.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqueror/kpartplugins + PO_DIR konq-plugins-desktops +) + install( FILES ../uninstall.desktop RENAME searchbarplugin.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/kpartplugins -- cgit v1.2.1