From 2f706891f32258c2b070471905f983e4585296d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Jun 2020 11:36:35 +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/clients/redmond/CMakeLists.txt | 6 +++++- twin/clients/redmond/redmond.desktop | 16 ---------------- 2 files changed, 5 insertions(+), 17 deletions(-) (limited to 'twin/clients/redmond') diff --git a/twin/clients/redmond/CMakeLists.txt b/twin/clients/redmond/CMakeLists.txt index b382af454..7240233a0 100644 --- a/twin/clients/redmond/CMakeLists.txt +++ b/twin/clients/redmond/CMakeLists.txt @@ -23,7 +23,11 @@ link_directories( ##### other data ################################ -install( FILES redmond.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) +tde_create_translated_desktop( + SOURCE redmond.desktop + DESTINATION ${DATA_INSTALL_DIR}/twin + PO_DIR twin-clients-desktops +) ##### twin3_redmond (module) #################### diff --git a/twin/clients/redmond/redmond.desktop b/twin/clients/redmond/redmond.desktop index 366f58ae3..d6bf0a9b0 100644 --- a/twin/clients/redmond/redmond.desktop +++ b/twin/clients/redmond/redmond.desktop @@ -1,19 +1,3 @@ [Desktop Entry] Name=Redmond -Name[bn]=রেডমন্ড -Name[eo]=Redmondo -Name[fa]=ردموند -Name[hi]=रेडमण्ड -Name[ka]=რედმონდი -Name[ko]=레드몬드 -Name[lo]=ເລດມອນ -Name[lv]=Redmonda -Name[mk]=Редмонд -Name[ne]=रेडमोन्ड -Name[pa]=ਰੀਡਮੋਂਡ -Name[ta]=ரெட்மான்ட் -Name[te]=రెడ్ మండ్ -Name[tg]=Райдмонд -Name[th]=แบบเรดมอนด์ -Name[uz@cyrillic]=Редмонд X-TDE-Library=twin3_redmond -- cgit v1.2.1