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 --- krec/mp3_export/CMakeLists.txt | 6 +++- krec/mp3_export/krec_exportmp3.desktop | 53 ---------------------------------- 2 files changed, 5 insertions(+), 54 deletions(-) (limited to 'krec/mp3_export') diff --git a/krec/mp3_export/CMakeLists.txt b/krec/mp3_export/CMakeLists.txt index 13850c31..c0575e89 100644 --- a/krec/mp3_export/CMakeLists.txt +++ b/krec/mp3_export/CMakeLists.txt @@ -47,4 +47,8 @@ tde_add_kpart( libkrecexport_mp3 AUTOMOC ##### other data ################################ -install( FILES krec_exportmp3.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_creat_translated_desktop( + SOURCE krec_exportmp3.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops +) diff --git a/krec/mp3_export/krec_exportmp3.desktop b/krec/mp3_export/krec_exportmp3.desktop index 8e388b3c..0a7dac58 100644 --- a/krec/mp3_export/krec_exportmp3.desktop +++ b/krec/mp3_export/krec_exportmp3.desktop @@ -1,59 +1,6 @@ [Desktop Entry] Type=Service Name=MP3-Export -Name[bg]=Експортиране в MP3 -Name[bn]=এম-পি-৩ রপ্তানি -Name[br]=Ezporzh MP3 -Name[ca]=Exportació MP3 -Name[cs]=Export do MP3 -Name[cy]=Allforio MP3 -Name[da]=MP3-Eksport -Name[el]=Εξαγωγή MP3 -Name[eo]=MP3-Eksporto -Name[es]=Exportador de MP3 -Name[et]=MP3-eksport -Name[eu]=MP3-esportazioa -Name[fa]=صادرات MP3 -Name[fi]=MP3-vienti -Name[fr]=Exportation en MP3 -Name[ga]=Easpórtáil MP3 -Name[gl]=Exportación a MP3 -Name[he]=יצוא MP3 -Name[hi]=MP3-निर्यात -Name[hu]=Exportálás - MP3 -Name[is]=MP3 útflutningur -Name[it]=Esporta-MP3 -Name[ja]=MP3 エクスポート -Name[kk]=MP3-экспорттау -Name[km]=នាំចេញ-MP3 -Name[ko]=MP3 추출 -Name[lt]=MP3 eksportas -Name[mk]=MP3-изнесување -Name[nb]=MP3-eksport -Name[ne]=MP3-निर्यात -Name[nl]=MP3-export -Name[nn]=MP3-eksport -Name[pa]=MP3-ਨਿਰਯਾਤ -Name[pl]=Eksport MP3 -Name[pt]=Exportação de MP3 -Name[pt_BR]=Exportar-MP3 -Name[ro]=Exportare MP3 -Name[ru]=Экспорт в mp3 -Name[sk]=Export do MP3 -Name[sl]=Izvoz v MP3 -Name[sr]=Извоз у MP3 -Name[sr@Latn]=Izvoz u MP3 -Name[sv]=MP3-export -Name[ta]=MP3-ஏற்றுமதி -Name[tg]=Содироти MP3 -Name[th]=ส่งออกเป็น MP3 -Name[tr]=MP3 Aktarımı -Name[uk]=Експорт MP3 -Name[uz]=MP3 eksport -Name[uz@cyrillic]=MP3 экспорт -Name[zh_CN]=MP3-导出 -Name[zh_HK]=MP3-匯出 -Name[zh_TW]=MP3 匯出 X-TDE-Library=libkrecexport_mp3 X-TDE-ServiceTypes=KRec/exportplugin X-TDE-ExportSuffix=mp3,MP3 -- cgit v1.2.1