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/au/CMakeLists.txt | 6 +++- tdefile-plugins/au/tdefile_au.desktop | 59 ----------------------------------- 2 files changed, 5 insertions(+), 60 deletions(-) (limited to 'tdefile-plugins/au') diff --git a/tdefile-plugins/au/CMakeLists.txt b/tdefile-plugins/au/CMakeLists.txt index 669e348a..f90f878e 100644 --- a/tdefile-plugins/au/CMakeLists.txt +++ b/tdefile-plugins/au/CMakeLists.txt @@ -35,4 +35,8 @@ tde_add_kpart( tdefile_au AUTOMOC ##### other data ################################ -install( FILES tdefile_au.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_au.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops +) diff --git a/tdefile-plugins/au/tdefile_au.desktop b/tdefile-plugins/au/tdefile_au.desktop index 10e2c3cc..524b28fc 100644 --- a/tdefile-plugins/au/tdefile_au.desktop +++ b/tdefile-plugins/au/tdefile_au.desktop @@ -1,65 +1,6 @@ [Desktop Entry] Type=Service Name=AU Info -Name[af]=Au Inligting -Name[bg]=Информация за AU -Name[br]=Titouroù AU -Name[bs]=AU informacije -Name[ca]=Informació AU -Name[cs]=AU info -Name[cy]=Gwybodaeth AU -Name[da]=AU-info -Name[de]=AU-Info -Name[el]=Πληροφορίες AU -Name[eo]=AU-informo -Name[es]=Info AU -Name[et]=AU info -Name[eu]=AU informazioa -Name[fa]=اطلاعات AU -Name[fi]=AU-tiedot -Name[fr]=Informations AU -Name[gl]=Información AU -Name[he]=מידע AU -Name[hi]=AU जानकारी -Name[hr]=AU Informacije -Name[hu]=AU-jellemzők -Name[is]=AU upplýsingar -Name[it]=Informazioni AU -Name[ja]=AU 情報 -Name[kk]=AU мәліметі -Name[km]=ព័ត៌មាន AU -Name[ko]=AU 정보 -Name[lt]=AU informacija -Name[mk]=AU информации -Name[nb]=AU informasjon -Name[nds]=AU-Info -Name[ne]=AU सूचना -Name[nl]=AU-informatie -Name[nn]=AU-info -Name[pa]=AU ਜਾਣਕਾਰੀ -Name[pl]=Informacja o pliku AU -Name[pt]=Informação do AU -Name[pt_BR]=Informação sobre AU -Name[ro]=Informaţii AU -Name[ru]=Сведения о AU -Name[se]=AU-dieđut -Name[sk]=AU info -Name[sl]=Podatki o AU -Name[sr]=Информације о AU-у -Name[sr@Latn]=Informacije o AU-u -Name[sv]=AU-information -Name[ta]=AU தகவல் -Name[tg]=AU Ахборот -Name[th]=ข้อมูล AU -Name[tr]=AU Bilgisi -Name[uk]=Інформація по AU -Name[uz]=XBM haqida maʼlumot -Name[uz@cyrillic]=XBM ҳақида маълумот -Name[xh]=Ulwazi lwe AU -Name[zh_CN]=AU 信息 -Name[zh_HK]=AU 資訊 -Name[zh_TW]=AU 資訊 -Name[zu]=Ulwazi lwe-AU X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_au MimeType=audio/basic -- cgit v1.2.1