From 7c7c238be19c9d17b1182d0b0fad31479aa7f59a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 11 Jun 2020 14:54:26 +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 --- twin-styles/cde/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'twin-styles/cde/CMakeLists.txt') diff --git a/twin-styles/cde/CMakeLists.txt b/twin-styles/cde/CMakeLists.txt index 790ff84c..b03936c6 100644 --- a/twin-styles/cde/CMakeLists.txt +++ b/twin-styles/cde/CMakeLists.txt @@ -23,7 +23,12 @@ link_directories( ##### other data ################################ -install( FILES cde.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) +tde_create_translated_desktop( + SOURCE cde.desktop + DESTINATION ${DATA_INSTALL_DIR}/twin + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops +) + ##### twin3_cde ################################## -- cgit v1.2.1