summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/pdf
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-09 17:49:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-09 17:49:10 +0200
commit837dbafbea0c7f7bc73d27fda684ea2dededd547 (patch)
tree66811931fed182f8fa6f59547c6511a897adb734 /tdefile-plugins/pdf
parent00b9084c635fe29e7c5942ff508be2ca65893659 (diff)
downloadtdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.tar.gz
tdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdefile-plugins/pdf')
-rw-r--r--tdefile-plugins/pdf/CMakeLists.txt6
-rw-r--r--tdefile-plugins/pdf/tdefile_pdf.desktop57
2 files changed, 5 insertions, 58 deletions
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