From fe44776673b28ca94338f23d8e7ac71593fa88ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 29 Jul 2020 22:43:34 +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 --- parts/documentation/plugins/chm/CMakeLists.txt | 6 +++- .../documentation/plugins/chm/docchmplugin.desktop | 42 +++------------------- 2 files changed, 9 insertions(+), 39 deletions(-) (limited to 'parts/documentation/plugins/chm') diff --git a/parts/documentation/plugins/chm/CMakeLists.txt b/parts/documentation/plugins/chm/CMakeLists.txt index ebf52b0e..bfc0ff3f 100644 --- a/parts/documentation/plugins/chm/CMakeLists.txt +++ b/parts/documentation/plugins/chm/CMakeLists.txt @@ -27,7 +27,11 @@ link_directories( ##### other data ################################ -install( FILES docchmplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE docchmplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdocchmplugin (module) ################## diff --git a/parts/documentation/plugins/chm/docchmplugin.desktop b/parts/documentation/plugins/chm/docchmplugin.desktop index 90323232..b80431ce 100644 --- a/parts/documentation/plugins/chm/docchmplugin.desktop +++ b/parts/documentation/plugins/chm/docchmplugin.desktop @@ -1,44 +1,10 @@ [Desktop Entry] -Type=Service Name=DocCHMPlugin -Name[da]=DocCHM-plugin -Name[hu]=DocCHMPPlugin -Name[sk]=Doc CHM modul -Name[sv]=CHM-dokumentationsinsticksmodul -Name[ta]=DocCHM சொருகு -Name[zh_TW]=Doc CHM 外掛程式 -Exec=blubb + Comment=Documentation plugin for CHM documentation -Comment[ca]=Connector de documentació per a documentació CHM -Comment[da]=Dokumentations-plugin for CHM-dokumentation -Comment[de]=Dokumentations-Modul für CHM-Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για τεκμηρίωση CHM -Comment[es]=Complemento de documentación para CHM -Comment[et]=CHM dokumentatsiooni plugin -Comment[eu]=CHM dokumentazioarako dokumentazioa plugin-aDocumentation plugin for CHM documentation -Comment[fa]=وصلۀ مستندسازی برای مستندات CHM -Comment[fr]=Module externe de documentation pour la documentation CHM -Comment[gl]=Extensión de documentación para documentación CHM -Comment[hu]=Dokumentációmodul CHM formátumú dokumentációhoz -Comment[it]=Plugin di documentazione per file CHM -Comment[ja]=CHM ドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk dokumentasi CHM -Comment[nds]=Dokmentatschoon-Moduul för CHM-Dokmentatschonen -Comment[ne]=CHM मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin voor CHM documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie CHM -Comment[pt]='Plugin' para documentação CHM -Comment[pt_BR]=Plug-in de documentação para documento CHM -Comment[ru]=Модуль для просмотра документации в файлах CHM -Comment[sk]=Dokumentačný modul pre CHM dokumentáciu -Comment[sr]=Документациони прикључак за CHM документацију -Comment[sr@Latn]=Dokumentacioni priključak za CHM dokumentaciju -Comment[sv]=Dokumentationsinsticksmodul för CHM-dokumentation -Comment[ta]= CHM ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои намоиши файлҳои CHM-е, ки ҳуҷҷатҳо мавҷуд аст -Comment[tr]=CHM belgelendirmesi için belgelendirme eklentisi -Comment[zh_CN]=CHM 文档的文档插件 -Comment[zh_TW]=CHM 文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 X-TDE-Library=libdocchmplugin -- cgit v1.2.3