From a1066b66a7b397f1cdac40d6970b9640184fe8f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 22 May 2020 02:49:40 +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 296306a273438f476ab2266d1c03616de1fd5ef7) --- kmilo/demo/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kmilo/demo/CMakeLists.txt') diff --git a/kmilo/demo/CMakeLists.txt b/kmilo/demo/CMakeLists.txt index 270bbca..a5ec42d 100644 --- a/kmilo/demo/CMakeLists.txt +++ b/kmilo/demo/CMakeLists.txt @@ -33,7 +33,8 @@ tde_add_kpart( kmilo_demo AUTOMOC ##### other data ################################ -install( FILES kmilo_demo.desktop +tde_create_translated_desktop( + SOURCE kmilo_demo.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kmilo + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops ) - -- cgit v1.2.1