summaryrefslogtreecommitdiffstats
path: root/parts/documentation/protocols/chm
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-29 22:43:34 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-01 17:56:29 +0900
commit96fa25303818e6107b72ba624659004751d45ad1 (patch)
tree89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /parts/documentation/protocols/chm
parent3248c8c2f99f71bb2ca5972828754fdabacd7c90 (diff)
downloadtdevelop-96fa25303818e6107b72ba624659004751d45ad1.tar.gz
tdevelop-96fa25303818e6107b72ba624659004751d45ad1.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 fe44776673b28ca94338f23d8e7ac71593fa88ba)
Diffstat (limited to 'parts/documentation/protocols/chm')
-rw-r--r--parts/documentation/protocols/chm/CMakeLists.txt8
-rw-r--r--parts/documentation/protocols/chm/chm.protocol30
-rw-r--r--parts/documentation/protocols/chm/kchmpart.desktop45
3 files changed, 12 insertions, 71 deletions
diff --git a/parts/documentation/protocols/chm/CMakeLists.txt b/parts/documentation/protocols/chm/CMakeLists.txt
index c444c226..114f72cb 100644
--- a/parts/documentation/protocols/chm/CMakeLists.txt
+++ b/parts/documentation/protocols/chm/CMakeLists.txt
@@ -25,9 +25,11 @@ link_directories(
##### other data ################################
-install( FILES
- chm.protocol kchmpart.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE chm.protocol kchmpart.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### tdeio_chm (module) ##########################
diff --git a/parts/documentation/protocols/chm/chm.protocol b/parts/documentation/protocols/chm/chm.protocol
index c932fe19..c72dce2d 100644
--- a/parts/documentation/protocols/chm/chm.protocol
+++ b/parts/documentation/protocols/chm/chm.protocol
@@ -5,32 +5,6 @@ input=none
output=filesystem
reading=true
defaultMimetype=text/html
-Description=A tdeioslave for displaying WinHelp files
-Description[ca]=Un tdeioslave per a mostrar fitxers WinHelp
-Description[da]=En tdeioslave til visning af Windows hjælpefiler
-Description[de]=Ein Ein-/Ausgabemodul zur Anzeige von WinHelp-Dateien
-Description[el]=Ένας υπηρέτης tdeio για εμφάνιση αρχείων WinHelp
-Description[es]=Un tdeioslave para mostrar archivos WinHelp
-Description[et]=WinHelp-failide kuvamise IO-moodul
-Description[eu]=WinHelp fitxategiak bistaratzeko tdeioslave bat
-Description[fa]=یک tdeioslave برای نمایش پرونده‌های WinHelp
-Description[fr]=Un esclave d'E/S (tdeioslave) pour l'affichage des fichiers WinHelp
-Description[gl]=Un tdeioslave para mostrar ficheiros WinHelp
-Description[hu]=KDE-protokoll WinHelp-fájlok megjelenítéséhez
-Description[it]=Un tdeioslave per mostrare i file WinHelp
-Description[ja]=WinHelp を表示するための tdeioslave
-Description[nds]=En In-/Utgaavmoduul för't Wiesen vun "WinHelp"-Dateien
-Description[ne]=WinHelp फाइलहरूका लागि किवस्लेभ
-Description[nl]=Een tdeioslave voor het weergeven van WinHelp-bestanden
-Description[pl]=tdeioslave do pokazywania plików WinHelp
-Description[pt]=A 'tdeioslave' para mostrar ficheiros WinHelp
-Description[pt_BR]=Um tdeioslave para exibir arquivos WinHelp
-Description[ru]=Обработчик ввода-вывода для файлов WinHelp
-Description[sk]=tdeioslave pre zobrazenie WinHelp súborov
-Description[sr]=KIOSlave за приказ WinHelp фајлова
-Description[sr@Latn]=KIOSlave za prikaz WinHelp fajlova
-Description[sv]=En I/O-slav för att visa WinHelp-filer
-Description[tr]=WinHelp dosyalarını görüntülemek için bir tdeioslave
-Description[zh_CN]=显示 WinHelp 文件的 tdeioslave
-Description[zh_TW]=顯示 WinHelp 檔案的 tdeioslave
Icon=help
+
+Description=A tdeioslave for displaying WinHelp files
diff --git a/parts/documentation/protocols/chm/kchmpart.desktop b/parts/documentation/protocols/chm/kchmpart.desktop
index 21e5d1ad..7226a84a 100644
--- a/parts/documentation/protocols/chm/kchmpart.desktop
+++ b/parts/documentation/protocols/chm/kchmpart.desktop
@@ -1,46 +1,11 @@
[Desktop Entry]
-Type=Service
-Exec=foobar
+Name=KChmPart
+
Comment=Embeddable HTMLHelp Viewer
-Comment[ca]=Visor encastat de l'ajuda HTML
-Comment[da]=Indlejrbar HTMLHjælp-fremviser
-Comment[de]=Eingebetteter Betrachter für HTMLHelp
-Comment[el]=Ενσωματωμένος προβολέας HTMLHelp
-Comment[es]=Visor de ayuda HTML empotrable
-Comment[et]=Põimitav HTML-abifailide näitaja
-Comment[eu]=HTMLHelp ikustaile kapsulagarria
-Comment[fa]=مشاهده‌گر کمک قابل نهفتۀ زنگام
-Comment[fr]=Afficheur HTMLHelp intégrable
-Comment[ga]=Comhpháirt inleabaithe amharctha HTML
-Comment[gl]=Visor de HTMLHelp incrustable
-Comment[hi]=अंतर्निर्मित योग्य एचटीएमएल मदद प्रदर्शक
-Comment[hu]=Beágyazható HTML-es dokumentációnézegető
-Comment[it]=Visualizzatore integrabile per la guida HTML
-Comment[ja]=埋め込み可能な HTMLHelp ビューア
-Comment[ms]=Pelihat HTMLHelp Terbinadalam
-Comment[nds]=Inbettbor Kieker för HTMLHelp
-Comment[ne]=सम्मिलित गर्न मिल्ने HTMLHelp दृश्यकर्ता
-Comment[nl]=Ingebedde HTML Helpweergave
-Comment[pl]=Wbudowywalna przeglądarka pomocy w formacie HTML
-Comment[pt]=Visualizador de HTMLHelp Incorporado
-Comment[pt_BR]=Visualizador de Ajuda HTML Embutido
-Comment[ru]=Встроенный просмотр HTMLHelp
-Comment[sk]=Vložiteľný HTMLHelp prezerač
-Comment[sr]=Уградиви приказивач HTMLHelp-а
-Comment[sr@Latn]=Ugradivi prikazivač HTMLHelp-a
-Comment[sv]=Inbäddningsbar HTML-hjälpvisning
-Comment[ta]=HTML உதவி பார்வையாளரை உட்பொதி
-Comment[tg]=Намоиши ҳамвори HTMLHelp
-Comment[tr]=Gömülebilir HTMLHelp Görüntüleyicisi
-Comment[zh_CN]=嵌入的 HTML 帮助查看器
-Comment[zh_TW]=可嵌入 HTMLHelp 檢視器
+
MimeType=application/chm
-Name=KChmPart
-Name[de]=CHM-Betrachter (TDevelop)
-Name[hi]=के-सीएचएम-पार्ट
-Name[nds]=Chm-Kieker (TDevelop)
-Name[pl]=Program KChm
-Name[sv]=Kchm-del
+Type=Service
+Exec=foobar
X-TDE-ServiceTypes=KParts/ReadOnlyPart,Browser/View
X-TDE-Library=libkchmpart
X-TDevelop-Version=5