From 92841ae8b62560f0b137dc838bfd12ac78d26599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 28 Jun 2020 00:42:21 +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 2f706891f32258c2b070471905f983e4585296d2) --- twin/clients/web/CMakeLists.txt | 6 +++++- twin/clients/web/web.desktop | 44 ----------------------------------------- 2 files changed, 5 insertions(+), 45 deletions(-) (limited to 'twin/clients/web') diff --git a/twin/clients/web/CMakeLists.txt b/twin/clients/web/CMakeLists.txt index badbd0467..6045bcbb0 100644 --- a/twin/clients/web/CMakeLists.txt +++ b/twin/clients/web/CMakeLists.txt @@ -22,7 +22,11 @@ link_directories( ##### other data ################################ -install( FILES web.desktop DESTINATION ${DATA_INSTALL_DIR}/twin ) +tde_create_translated_desktop( + SOURCE web.desktop + DESTINATION ${DATA_INSTALL_DIR}/twin + PO_DIR twin-clients-desktops +) ##### twin3_web (module) ######################## diff --git a/twin/clients/web/web.desktop b/twin/clients/web/web.desktop index b86134904..10a05ccf1 100644 --- a/twin/clients/web/web.desktop +++ b/twin/clients/web/web.desktop @@ -1,47 +1,3 @@ [Desktop Entry] Name=Web -Name[ar]=الشبكة -Name[az]=Veb -Name[be]=Сеціва -Name[bn]=ওয়েব -Name[br]=Gwiad -Name[csb]=Séc -Name[cy]=Gwe -Name[da]=Net -Name[el]=Ιστός -Name[eo]=TTT -Name[et]=Veeb -Name[fa]=وب -Name[ga]=Gréasán -Name[hi]=वेब -Name[hr]=Internet -Name[is]=Vefur -Name[km]=បណ្ដាញ -Name[lo]=ແບບເວ໊ບ -Name[lv]=Tīmekļa -Name[mk]=Веб -Name[mn]=Веб -Name[nb]=Nett -Name[ne]=वेब -Name[nn]=Vev -Name[pa]=ਵੈੱਬ -Name[pl]=Sieć -Name[rw]=Urubugamakuru -Name[se]=Fierpmádat -Name[sl]=Splet -Name[sr]=Веб -Name[sr@Latn]=Veb -Name[sv]=Webb -Name[ta]=வலை -Name[te]=వెబ్ -Name[tg]=Вэб -Name[th]=แบบเว็บ -Name[uk]=Тенета -Name[uz]=Veb -Name[uz@cyrillic]=Веб -Name[ven]=Webu -Name[vi]=Mạng -Name[wa]=Waibe -Name[zh_TW]=網頁 -Name[zu]=I-Web X-TDE-Library=twin3_web -- cgit v1.2.1