From ff3f2006ce72b2edabc534188a4ad006e89b4f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 30 May 2020 00:57:03 +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 --- tdefile-plugins/theora/CMakeLists.txt | 6 +++- tdefile-plugins/theora/tdefile_theora.desktop | 49 --------------------------- 2 files changed, 5 insertions(+), 50 deletions(-) (limited to 'tdefile-plugins/theora') diff --git a/tdefile-plugins/theora/CMakeLists.txt b/tdefile-plugins/theora/CMakeLists.txt index ab088244..f1333110 100644 --- a/tdefile-plugins/theora/CMakeLists.txt +++ b/tdefile-plugins/theora/CMakeLists.txt @@ -37,4 +37,8 @@ tde_add_kpart( tdefile_theora AUTOMOC ##### other data ################################ -install( FILES tdefile_theora.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_theora.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops +) diff --git a/tdefile-plugins/theora/tdefile_theora.desktop b/tdefile-plugins/theora/tdefile_theora.desktop index efb118e5..47fde380 100644 --- a/tdefile-plugins/theora/tdefile_theora.desktop +++ b/tdefile-plugins/theora/tdefile_theora.desktop @@ -1,55 +1,6 @@ [Desktop Entry] Type=Service Name=theora Info -Name[bg]=Информация за theora -Name[bn]=থিওরা তথ্য -Name[br]=Titouroù diwar-benn theora -Name[bs]=theora informacije -Name[ca]=Informació theora -Name[cs]=theora info -Name[de]=Theora-Info -Name[el]=Πληροφορίες theora -Name[eo]=theora-informo -Name[es]=Info Theora -Name[et]=Theora info -Name[eu]=theora informazioa -Name[fa]=اطلاعات theora -Name[fi]=Theoran tiedot -Name[fr]=Informations theora -Name[ga]=Eolas faoi theora -Name[gl]=Información theora -Name[he]=מידע theora -Name[hu]=Theora-jellemzők -Name[is]=theora upplýsingar -Name[it]=Informazioni su theora -Name[ja]=theora 情報 -Name[kk]=theora мәліметі -Name[km]=ព័ត៌មាន theora -Name[ko]=theora 정보 -Name[lt]=theora Informacija -Name[mk]=theora информации -Name[nb]=theora-info -Name[nds]=Theora-Info -Name[ne]=थिवरा सूचना -Name[nl]=theora-informatie -Name[nn]=theora-info -Name[pa]=theora (ਥੋਰਾ) ਜਾਣਕਾਰੀ -Name[pl]=Informacja o pliku theora -Name[pt]=Informação do theora -Name[pt_BR]=Informação sobre theora -Name[ru]=Сведения о theora -Name[sk]=theora info -Name[sl]=Podatki o Theora -Name[sr]=Информације о theora-и -Name[sr@Latn]=Informacije o theora-i -Name[sv]=Theora-information -Name[ta]= தியோரா தகவல் -Name[th]=ข้อมูล theora -Name[tr]=theora Bilgisi -Name[uk]=Інформація по theora -Name[zh_CN]=theora 信息 -Name[zh_HK]=theora 資訊 -Name[zh_TW]=theora 資訊 X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_theora # change MimeType here! (example: inode/directory) -- cgit v1.2.1