From bb5603da8b810eae9b8d3c5a322801db50cfe202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 31 May 2020 19:18: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 cfe279f15a6ca1dad65d63f289a6a6a8a91bb024) --- tdefile-plugins/deb/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tdefile-plugins/deb/CMakeLists.txt') diff --git a/tdefile-plugins/deb/CMakeLists.txt b/tdefile-plugins/deb/CMakeLists.txt index 70ec689..a6503e0 100644 --- a/tdefile-plugins/deb/CMakeLists.txt +++ b/tdefile-plugins/deb/CMakeLists.txt @@ -25,6 +25,8 @@ tde_add_kpart( tdefile_deb AUTOMOC ##### other data ################################ -install( FILES tdefile_deb.desktop +tde_create_translated_desktop( + SOURCE tdefile_deb.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops ) -- cgit v1.2.1