From 296306a273438f476ab2266d1c03616de1fd5ef7 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 --- kdf/CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'kdf/CMakeLists.txt') diff --git a/kdf/CMakeLists.txt b/kdf/CMakeLists.txt index 43725af..723b9d8 100644 --- a/kdf/CMakeLists.txt +++ b/kdf/CMakeLists.txt @@ -67,8 +67,9 @@ install( FILES kdfui.rc DESTINATION ${DATA_INSTALL_DIR}/kdf ) -install( FILES kdf.desktop kwikdisk.desktop - kcmdf.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) - +foreach( _desktop kdf.desktop kwikdisk.desktop kcmdf.desktop ) + tde_create_translated_desktop( + SOURCE ${_desktop} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kdf-desktops + ) +endforeach() -- cgit v1.2.3