diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-29 22:43:34 +0200 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-08-01 17:56:29 +0900 |
commit | 96fa25303818e6107b72ba624659004751d45ad1 (patch) | |
tree | 89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /parts/documentation/plugins/devhelp | |
parent | 3248c8c2f99f71bb2ca5972828754fdabacd7c90 (diff) | |
download | tdevelop-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/plugins/devhelp')
-rw-r--r-- | parts/documentation/plugins/devhelp/CMakeLists.txt | 6 | ||||
-rw-r--r-- | parts/documentation/plugins/devhelp/docdevhelpplugin.desktop | 40 |
2 files changed, 8 insertions, 38 deletions
diff --git a/parts/documentation/plugins/devhelp/CMakeLists.txt b/parts/documentation/plugins/devhelp/CMakeLists.txt index c551f418..bd4e37ff 100644 --- a/parts/documentation/plugins/devhelp/CMakeLists.txt +++ b/parts/documentation/plugins/devhelp/CMakeLists.txt @@ -27,7 +27,11 @@ link_directories( ##### other data ################################ -install( FILES docdevhelpplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE docdevhelpplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdocdevhelpplugin (module) ############## diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.desktop b/parts/documentation/plugins/devhelp/docdevhelpplugin.desktop index 68159dda..4704151f 100644 --- a/parts/documentation/plugins/devhelp/docdevhelpplugin.desktop +++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.desktop @@ -1,43 +1,9 @@ [Desktop Entry] -Type=Service Name=DevHelpPlugin -Name[da]=DevHelp-plugin -Name[sk]=DevHelp modul -Name[sv]=DevHelp-insticksmodul -Name[ta]=Devஉதவி சொருகு -Name[zh_TW]=DevHelp 外掛程式 + Comment=Documentation plugin for DevHelp documentation -Comment[ca]=Connector de documentació per a documentació DevHelp -Comment[da]=Dokumentations-plugin for DevHelp-dokumentation -Comment[de]=Komponente für DevHelp-Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για τεκμηρίωση DevHelp -Comment[es]=Complemento de documentación para documentación DevHelp -Comment[et]=DevHelp dokumentatsiooni plugin -Comment[eu]=DevHelp dokumentaziorako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای مستندات DevHelp -Comment[fr]=Module externe de documentation pour la documentation DevHelp -Comment[gl]=Extensión de documentación para documentación DevHelp -Comment[hu]=Dokumentációmodul DevHelp-dokumentációhoz -Comment[it]=Plugin di documentazione per file DevHelp -Comment[ja]=DevHelp ドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk dokumentasi DevHelp -Comment[nds]=Dokmentatschoon-Moduul för DevHelp-Dokmentatschoon -Comment[ne]=DevHelp मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin fvoor DevHelp documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie DevHelp -Comment[pt]='Plugin' para documentação DevHelp -Comment[pt_BR]=Plug-in de documentação para documento DevHelp -Comment[ru]=Модуль для просмотра документации DevHelp -Comment[sk]=Dokumentačný modul pre DevHelp dokumentáciu -Comment[sl]=Dokumentacijski vstavek za dokumentacijo DevHelp -Comment[sr]=Документациони прикључак за DevHelp документацију -Comment[sr@Latn]=Dokumentacioni priključak za DevHelp dokumentaciju -Comment[sv]=Dokumentationsinsticksmodul för DevHelp-dokumentation -Comment[ta]= DevHelp ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои наоиш намудани DevHelp-и асоснок карда шуда -Comment[tr]=DevHelp belgelendirmesi için belgelendirme eklentisi -Comment[zh_CN]=DevHelp 文档的文档插件 -Comment[zh_TW]=DevHelp 文件外掛程式 + +Type=Service Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 |