From 96fa25303818e6107b72ba624659004751d45ad1 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 (cherry picked from commit fe44776673b28ca94338f23d8e7ac71593fa88ba) --- parts/documentation/plugins/qt/CMakeLists.txt | 6 +++- parts/documentation/plugins/qt/docqtplugin.desktop | 42 +++------------------- 2 files changed, 9 insertions(+), 39 deletions(-) (limited to 'parts/documentation/plugins/qt') diff --git a/parts/documentation/plugins/qt/CMakeLists.txt b/parts/documentation/plugins/qt/CMakeLists.txt index b197f93b..df651adc 100644 --- a/parts/documentation/plugins/qt/CMakeLists.txt +++ b/parts/documentation/plugins/qt/CMakeLists.txt @@ -27,7 +27,11 @@ link_directories( ##### other data ################################ -install( FILES docqtplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE docqtplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdocqtplugin (module) ################### diff --git a/parts/documentation/plugins/qt/docqtplugin.desktop b/parts/documentation/plugins/qt/docqtplugin.desktop index f3125f9c..ffe310b9 100644 --- a/parts/documentation/plugins/qt/docqtplugin.desktop +++ b/parts/documentation/plugins/qt/docqtplugin.desktop @@ -1,44 +1,10 @@ [Desktop Entry] -Type=Service Name=DocQtPlugin -Name[da]=DocQt-plugin -Name[sk]=Doc Qt modul -Name[sv]=Qt-dokumentationsinsticksmodul -Name[ta]=DocQt சொருகு -Name[zh_TW]=Qt 文件外掛程式 -Exec=blubb + Comment=Documentation plugin for Qt DCF documentation -Comment[ca]=Connector de documentació per a documentació Qt DCF -Comment[da]=Dokumentations-plugin for Qt DCF dokumentation -Comment[de]=Komponente für Qt-DCF-Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για τεκμηρίωση τύπου Qt DCF -Comment[es]=Complemento de documentación para Qt DCF -Comment[et]=Qt DCF dokumentatsiooni plugin -Comment[eu]=Qt DCF dokumentaziorako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای مستندات Qt DCF -Comment[fr]=Module externe de documentation pour la documentation Qt DCF -Comment[gl]=Extensión de documentación para documentación Qt DCF -Comment[hu]=Dokumentációmodul Qt DCF-dokumentációhoz -Comment[it]=Plugin di documentazione per file di Qt DCF -Comment[ja]=Qt DCF ドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk dokumentasi Qt DCF -Comment[nds]=Dokmentatschoon-Moduul för Qt-DCF-Dokmentatschoon -Comment[ne]=Qt DCF मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin voor Qt DCF documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie Qt DCF -Comment[pt]='Plugin' para documentação Qt DCF -Comment[pt_BR]=Plug-in de documentação para documento DCF do Qt -Comment[ru]=Модуль для просмотра Qt DCF -Comment[sk]=Dokumentačný modul pre Qt DCF dokumentáciu -Comment[sl]=Vstavek dokumentacije za Qt DCF -Comment[sr]=Документациони прикључак за Qt DCF документацију -Comment[sr@Latn]=Dokumentacioni priključak za Qt DCF dokumentaciju -Comment[sv]=Dokumentationsinsticksmodul för Qt DCF-dokumentation -Comment[ta]= Qt DCF ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои наоиши QT DCF -Comment[tr]=Qt DCF Belgelendirmesi için belgelendirme eklentisi -Comment[zh_CN]=Qt DCF 文档的文档插件 -Comment[zh_TW]=Qt DCF 文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 X-TDE-Library=libdocqtplugin -- cgit v1.2.1