From 837dbafbea0c7f7bc73d27fda684ea2dededd547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 9 Jun 2020 17:49:10 +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/pdf/CMakeLists.txt | 6 +++- tdefile-plugins/pdf/tdefile_pdf.desktop | 57 --------------------------------- 2 files changed, 5 insertions(+), 58 deletions(-) (limited to 'tdefile-plugins/pdf') diff --git a/tdefile-plugins/pdf/CMakeLists.txt b/tdefile-plugins/pdf/CMakeLists.txt index 3213a047..f710e343 100644 --- a/tdefile-plugins/pdf/CMakeLists.txt +++ b/tdefile-plugins/pdf/CMakeLists.txt @@ -24,7 +24,11 @@ link_directories( #### other data ################################# -install( FILES tdefile_pdf.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_pdf.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops +) #### tdefile_pdf (module) ######################### diff --git a/tdefile-plugins/pdf/tdefile_pdf.desktop b/tdefile-plugins/pdf/tdefile_pdf.desktop index 24ac872a..ac675396 100644 --- a/tdefile-plugins/pdf/tdefile_pdf.desktop +++ b/tdefile-plugins/pdf/tdefile_pdf.desktop @@ -1,63 +1,6 @@ [Desktop Entry] Type=Service Name=PDF Info -Name[af]=Pdf Inligting -Name[ar]=معلومات PDF -Name[br]=Titouroù PDF -Name[ca]=Informació de PDF -Name[cs]=PDF info -Name[cy]=Gybodaeth PDF -Name[da]=PDF-info -Name[de]=PDF-Info -Name[el]=Πληροφορίες PDF -Name[eo]=PDF-informo -Name[es]=Info PDF -Name[et]=PDF info -Name[fa]=اطلاعات PDF -Name[fi]=PDF-tiedot -Name[fr]=Informations PDF -Name[gl]=Inf. PDF -Name[he]=מידע PDF -Name[hi]=PDF जानकारी -Name[hr]=PDF Informacije -Name[hu]=PDF-jellemzők -Name[is]=PDF upplýsingar -Name[it]=Informazioni PDF -Name[ja]=PDF 情報 -Name[kk]=PDF мәліметі -Name[km]=ព័ត៌មាន PDF -Name[lt]=PDF informacija -Name[ms]=Maklumat PDF -Name[nds]=PDF-Info -Name[ne]=PDF सूचना -Name[nl]=PDF-info -Name[nn]=PDF-info -Name[nso]=Tshedimoso ya PDF -Name[pa]=PDF ਜਾਣਕਾਰੀ -Name[pl]=Informacja o pliku PDF -Name[pt]=Informação do PDF -Name[pt_BR]=Informação sobre PDF -Name[ro]=Informaţii PDF -Name[ru]=Информация о PDF -Name[se]=PDF-dieđut -Name[sl]=Podatki o PDF -Name[sr]=PDF информације -Name[sr@Latn]=PDF informacije -Name[sv]=PDF-information -Name[ta]=PDF தகவல் -Name[tg]=Иттилоот оиди PDF -Name[th]=ข้อมูลแฟ้ม PDF -Name[tr]=PDF Bilgisi -Name[uk]=Інформація про PDF -Name[uz]=PDF haqida maʼlumot -Name[uz@cyrillic]=PDF ҳақида маълумот -Name[ven]=Mafhungo a PDF -Name[wa]=Informåcion sol documint PDF -Name[xh]=PDF Ulwazi -Name[zh_CN]=PDF 信息 -Name[zh_HK]=PDF 資訊 -Name[zh_TW]=PDF 資訊 -Name[zu]=Ulwazi lwe-PDF X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_pdf MimeType=application/pdf -- cgit v1.2.1