From ea47da4e59a7ad6bbd99583388dcfb4764a42ce4 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Sun, 5 Apr 2020 11:56:32 +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 dcded97665311ec2c62a8b34122b495f720b373a) --- fileplugin/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fileplugin') diff --git a/fileplugin/CMakeLists.txt b/fileplugin/CMakeLists.txt index 78af279..a139813 100644 --- a/fileplugin/CMakeLists.txt +++ b/fileplugin/CMakeLists.txt @@ -28,7 +28,8 @@ tde_add_kpart( tdefile_kbarcode AUTOMOC ##### other data -install( - FILES tdefile_kbarcode.desktop +tde_create_translated_desktop( + SOURCE tdefile_kbarcode.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ ) -- cgit v1.2.3