From a25cdc59c6302046b3121276f5a33f6b1b55a538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 10 Jun 2020 21:25:06 +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 --- kolf/courses/CMakeLists.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'kolf/courses/CMakeLists.txt') diff --git a/kolf/courses/CMakeLists.txt b/kolf/courses/CMakeLists.txt index 01fde2a4..ac4a494e 100644 --- a/kolf/courses/CMakeLists.txt +++ b/kolf/courses/CMakeLists.txt @@ -1,6 +1,11 @@ # This file is genereted by trinity-automake-cmake-convert script by Fat-Zer -install( FILES Classic.kolf Hard.kolf Medium.kolf Easy.kolf ReallyEasy Practice - Impossible USApro - DESTINATION ${DATA_INSTALL_DIR}/kolf/courses +foreach( _course Classic.kolf Hard.kolf Medium.kolf Easy.kolf + ReallyEasy Practice Impossible USApro ) + tde_create_translated_desktop( + SOURCE ${_course} + DESTINATION ${DATA_INSTALL_DIR}/kolf/courses + PO_DIR ${CMAKE_SOURCE_DIR}translations/desktop_files/kolf-courses + ) +endforeach() -- cgit v1.2.1