diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-09 17:49:10 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-09 19:55:02 +0200 |
commit | 605ad91b1690a8149c2f351d1838f2d3c6929106 (patch) | |
tree | 8a1b07dd03802c1359a6409f0bab8a6d89ef87d3 /tdefile-plugins/ps | |
parent | 766134636125fd2ed1c1a1b97fdd7f63f5bf3ed7 (diff) | |
download | tdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.tar.gz tdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.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>
(cherry picked from commit 837dbafbea0c7f7bc73d27fda684ea2dededd547)
Diffstat (limited to 'tdefile-plugins/ps')
-rw-r--r-- | tdefile-plugins/ps/CMakeLists.txt | 8 | ||||
-rw-r--r-- | tdefile-plugins/ps/gsthumbnail.desktop | 53 | ||||
-rw-r--r-- | tdefile-plugins/ps/tdefile_ps.desktop | 59 |
3 files changed, 7 insertions, 113 deletions
diff --git a/tdefile-plugins/ps/CMakeLists.txt b/tdefile-plugins/ps/CMakeLists.txt index 9a13bcb1..4be74072 100644 --- a/tdefile-plugins/ps/CMakeLists.txt +++ b/tdefile-plugins/ps/CMakeLists.txt @@ -25,7 +25,13 @@ link_directories( #### other data ################################# -install( FILES tdefile_ps.desktop gsthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +foreach( _desktop tdefile_ps.desktop gsthumbnail.desktop ) + tde_create_translated_desktop( + SOURCE ${_desktop} + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops + ) +endforeach() #### tdefile_ps (module) ######################## diff --git a/tdefile-plugins/ps/gsthumbnail.desktop b/tdefile-plugins/ps/gsthumbnail.desktop index 7ef9ba44..e3978a3e 100644 --- a/tdefile-plugins/ps/gsthumbnail.desktop +++ b/tdefile-plugins/ps/gsthumbnail.desktop @@ -1,59 +1,6 @@ [Desktop Entry] Type=Service Name=PostScript, PDF and DVI Files -Name[ar]=ملفات الــ PostScript ، PDF و DVI -Name[br]=Restroù PostScript, PDF ha DVI -Name[bs]=Postscript, PDF i DVI datoteke -Name[ca]=Fitxers PostScript, PDF i DVI -Name[cs]=Postscriptové, PDF a DVI soubory -Name[cy]=Ffeiliau PostScript, PDF a DVI -Name[da]=PostScript, PDF- og DVI-filer -Name[de]=PostScript-, PDF- und DVI-Dateien -Name[el]=Αρχεία PostScript, PDF και DVI -Name[eo]=Postskriptaj, PDF- kaj DVI-dosieroj -Name[es]=Archivos PostScript, PDF y DVI -Name[et]=PostScript-, PDF- ja DVI-failid -Name[eu]=PostScript, PDF eta DVI fitxategiak -Name[fa]=پروندههای PostScript، PDF و DVI -Name[fi]=PostScript-, PDF- ja DVI-tiedostot -Name[fr]=Fichiers PostScript, PDF et DVI -Name[ga]=Comhaid PostScript, PDF agus DVI -Name[gl]=Ficheiros PostScript, PDF e DVI -Name[he]=קבצי PostScript, PDF ו־DVI -Name[hu]=PostScript-, PDF- és DVI-fájlok -Name[is]=PostScript PDF og DVI skrár -Name[it]=File PostScript, PDF e DVI -Name[ja]=Postscript,PDF,DVIファイル -Name[kk]=PostScript, PDF және DVI файлдары -Name[km]=ឯកសារ PostScript, PDF និង DVI -Name[lt]=Postscript, PDF ir DVI bylos -Name[ms]=PostScript, PDF dan Fail DVI -Name[nb]=PostScript, PDF og DVI filer -Name[nds]=PostScript-, PDF- un DVI-Dateien -Name[ne]=पोष्टस्क्रिप्ट, PDF र DVI फाइल -Name[nl]=PostScript-, DVI- en PDF-bestanden -Name[nn]=PostScript-, PDF- og DVI-filer -Name[pl]=Pliki PostScript, PDF i DVI -Name[pt]=Ficheiros PostScript, PDF e DVI -Name[pt_BR]=Arquivos PostScript, PDF e DVI -Name[ro]=Fişiere PostScript, PDF şi DVI -Name[ru]=Файлы PostScript, PDF и DVI -Name[se]=PostScript-, PDF- ja DVI-fiillat -Name[sk]=PostScript, PDF a DVI súbory -Name[sl]=Datoteke PostScript, PDF in DVI -Name[sr]=PostScript, PDF и DVI фајлови -Name[sr@Latn]=PostScript, PDF i DVI fajlovi -Name[sv]=Postscript, PDF och DVI-filer -Name[ta]= போஸ்ட்கிரிப்ட், பிடிஃப் மற்றும் டிவிஐ கோப்புகள் -Name[tg]=Файлҳои PostScript, PDF ва DVI -Name[th]=แฟ้ม PDF, DVI และ โพสต์สคริปต์ -Name[tr]=PostScript, PDF ve DVI Dosyaları -Name[uk]=Файли PostScript, PDF та DVI -Name[uz]=PostScript, PDF va DVI fayllari -Name[uz@cyrillic]=PostScript, PDF ва DVI файллари -Name[zh_CN]=PostScript、PDF 和 DVI 文件 -Name[zh_HK]=PostScript 、PDF 及 DVI 檔案 -Name[zh_TW]=PostScript,PDF 與 DVI 檔 X-TDE-ServiceTypes=ThumbCreator MimeTypes=application/x-dvi,application/postscript,application/pdf,image/x-eps X-TDE-Library=gsthumbnail diff --git a/tdefile-plugins/ps/tdefile_ps.desktop b/tdefile-plugins/ps/tdefile_ps.desktop index f3284a21..8c55a99c 100644 --- a/tdefile-plugins/ps/tdefile_ps.desktop +++ b/tdefile-plugins/ps/tdefile_ps.desktop @@ -1,65 +1,6 @@ [Desktop Entry] Type=Service Name=PostScript Info -Name[af]=Postscript Inligting -Name[ar]=معلومات PostScript -Name[br]=Procinfo PostScript -Name[ca]=Informació de PostScript -Name[cs]=PostScript info -Name[cy]=Gwybodaeth PostScript -Name[da]=PostScript-info -Name[de]=PostScript-Info -Name[el]=Πληροφορίες PostScript -Name[eo]=Postskriptinformo -Name[es]=Info PostScript -Name[et]=PostScript info -Name[fa]=اطلاعات PostScript -Name[fi]=PostScript-tiedot -Name[fr]=Informations PostScript -Name[gl]=Inf. PostScript -Name[he]=מידע PostScript -Name[hi]=पोस्टस्क्रिप्ट जानकारी -Name[hr]=Postscript informacije -Name[hu]=PostScript-jellemzők -Name[is]=PostScript upplýsingar -Name[it]=Informazioni PostScript -Name[ja]=PostScript 情報 -Name[kk]=PostScript мәліметі -Name[km]=ព័ត៌មាន PostScript -Name[lt]=PostScript informacija -Name[lv]=Postscript Info -Name[ms]=Maklumat PostScript -Name[nb]=PostScript-info -Name[nds]=PostScript-Info -Name[ne]=पोष्टस्क्रिप्ट सूचना -Name[nl]=PostScript-info -Name[nn]=PostScript-info -Name[nso]=Tshedimoso ya PostScript -Name[pa]=PostScript ਜਾਣਕਾਰੀ -Name[pl]=Informacja o pliku PostScriptu -Name[pt]=Informação do PostScript -Name[pt_BR]=Informação sobre PostScript -Name[ro]=Informaţii PostScript -Name[ru]=Информация о PostScript -Name[se]=PostScript-dieđut -Name[sl]=Podatki o PostScriptu -Name[sr]=PostScript информације -Name[sr@Latn]=PostScript informacije -Name[sv]=Postscript-information -Name[ta]=முன் எழுத்தாக்க தகவல் -Name[tg]=Иттилоот оиди PostScript -Name[th]=ข้อมูลโพสต์สคริปต์ -Name[tr]=PostScript Bilgisi -Name[uk]=Інформація про PostScript -Name[uz]=PostScript haqida maʼlumot -Name[uz@cyrillic]=PostScript ҳақида маълумот -Name[ven]=Mafhungo a mabammbiri a poso -Name[wa]=Informåcion sol documint PostScript -Name[xh]=Ulwazi Lwe PostScript -Name[zh_CN]=PostScript 信息 -Name[zh_HK]=PostScript 資訊 -Name[zh_TW]=PostScript 資訊 -Name[zu]=Ulwazi Lwesi-PostScript X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_ps MimeType=application/postscript;image/x-eps |