From c6babe2180543ce656d7c517d6db047285295597 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 (cherry picked from commit 7c7c238be19c9d17b1182d0b0fad31479aa7f59a) --- twin-styles/icewm/CMakeLists.txt | 7 ++++++- twin-styles/icewm/icewm.desktop | 8 -------- 2 files changed, 6 insertions(+), 9 deletions(-) (limited to 'twin-styles/icewm') diff --git a/twin-styles/icewm/CMakeLists.txt b/twin-styles/icewm/CMakeLists.txt index d59f42c9..b8b061f2 100644 --- a/twin-styles/icewm/CMakeLists.txt +++ b/twin-styles/icewm/CMakeLists.txt @@ -24,7 +24,12 @@ link_directories( ##### other data ################################ -install( FILES icewm.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) +tde_create_translated_desktop( + SOURCE icewm.desktop + DESTINATION ${DATA_INSTALL_DIR}/twin + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops +) + ##### twin3_icewm ############################### diff --git a/twin-styles/icewm/icewm.desktop b/twin-styles/icewm/icewm.desktop index 6f7a162c..5cfbe97d 100644 --- a/twin-styles/icewm/icewm.desktop +++ b/twin-styles/icewm/icewm.desktop @@ -1,11 +1,3 @@ [Desktop Entry] Name=IceWM -Name[cy]=RhewWM -Name[hi]=आइस-डबल्यूएम -Name[sv]=Ice-fönsterhanterare -Name[ta]=பனிக்கட்டிWM -Name[th]=ตัวจัดการหน้าต่าง IceWM -Name[vi]=Nước đá WM -Name[xh]=UmkhenkceWM -Name[zu]=Iqhwa leWM X-TDE-Library=twin3_icewm -- cgit v1.2.1