From a94da7081d4567ba19782d6efea3aeb4af4d67ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 8 Jul 2020 22:39:20 +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 d36d9267539f12fdaa5a0dd18f6285e4a636e1ac) --- tdefile-plugins/torrent/CMakeLists.txt | 8 ++-- tdefile-plugins/torrent/tdefile_torrent.desktop | 50 +------------------------ 2 files changed, 7 insertions(+), 51 deletions(-) (limited to 'tdefile-plugins/torrent') diff --git a/tdefile-plugins/torrent/CMakeLists.txt b/tdefile-plugins/torrent/CMakeLists.txt index a14c3e23..561c4e5b 100644 --- a/tdefile-plugins/torrent/CMakeLists.txt +++ b/tdefile-plugins/torrent/CMakeLists.txt @@ -22,9 +22,11 @@ link_directories( ##### other data ################################ -install( FILES - tdefile_torrent.desktop - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_torrent.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdefile-desktops +) ##### tdefile_torrent (module) #################### diff --git a/tdefile-plugins/torrent/tdefile_torrent.desktop b/tdefile-plugins/torrent/tdefile_torrent.desktop index ca591528..a2ca8b96 100644 --- a/tdefile-plugins/torrent/tdefile_torrent.desktop +++ b/tdefile-plugins/torrent/tdefile_torrent.desktop @@ -1,53 +1,7 @@ [Desktop Entry] -Type=Service Name=Bit Torrent Info -Name[be]=Звесткі Bit Torrent -Name[bn]=বিট টোরেন্ট তথ্য -Name[br]=Titouriñ diwar-benn Bit Torrent -Name[bs]=Bit Torrent informacije -Name[ca]=Informació de Bit Torrent -Name[cs]=Bit Torrent informace -Name[da]=Info om bittorrent -Name[de]=Bit Torrent Informationen -Name[el]=Πληροφορίες Bit Torrent -Name[es]=Información Bit Torrent -Name[et]=Bit Torrenti info -Name[eu]=Bit-torrent informazioa -Name[fa]=اطلاعات جریان بیتی -Name[fi]=Bit Torrent -Name[fr]=Infos Bit Torrent -Name[gl]=Información de Bit Torrent -Name[he]=מידע ביטטורנט -Name[hu]=Bit Torrent-jellemzők -Name[is]=Bit Torrent upplýsingar -Name[it]=Informazioni Bittorrent -Name[ja]=Bit Torrent 情報 -Name[ka]=Bit Torrent ინფორმაცია -Name[kk]=Bit Torrent мәліметі -Name[km]=ព័ត៌មាន Bit Torrent -Name[lt]=Bit Torrent Informacija -Name[mk]=Информации за Bit Torrent -Name[nds]=BitTorrent-Info -Name[ne]=बिट टोरेन्ट सूचना -Name[nl]=Bittorent-informatie -Name[nn]=Bit Torrent-info -Name[pa]=Bit Torrent ਜਾਣਕਾਰੀ -Name[pl]=Informacja o Bit Torrent -Name[pt]=Informações Bit Torrent -Name[pt_BR]=Informações do Bit Torrent -Name[ro]=Informaţii Bit Torrent -Name[ru]=Сведения о BitTorrent -Name[sk]=Bit Torrent informácie -Name[sl]=Podatki o BitTorrentu -Name[sr]=Bit Torrent информације -Name[sr@Latn]=Bit Torrent informacije -Name[sv]=Information om Bit Torrent -Name[ta]=பிட் டோர்ரெண்ட் தகவல் -Name[tr]=Bit Torrent Bilgisi -Name[uk]=Інформація про Bit Torrent -Name[zh_CN]=BitTorrent 信息 -Name[zh_HK]=Bit Torrent 資訊 -Name[zh_TW]=Bit Torrent 資訊 + +Type=Service X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_torrent # change MimeType here! (example: inode/directory) -- cgit v1.2.1