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 --- styles/dotnet/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'styles/dotnet/CMakeLists.txt') diff --git a/styles/dotnet/CMakeLists.txt b/styles/dotnet/CMakeLists.txt index 15a2ef0f..824aff4c 100644 --- a/styles/dotnet/CMakeLists.txt +++ b/styles/dotnet/CMakeLists.txt @@ -25,7 +25,11 @@ link_directories( ##### other data ################################ -install( FILES dotnet.themerc DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes ) +tde_create_translated_desktop( + SOURCE dotnet.themerc + DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/style-themes +) ##### dotnet ##################################### -- cgit v1.2.1