diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-29 22:43:34 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-30 16:00:07 +0200 |
commit | fe44776673b28ca94338f23d8e7ac71593fa88ba (patch) | |
tree | b900146c853acbd44900bfb77a35a1af3c77aa5d /parts/documentation/plugins/kdevtoc | |
parent | c0b663c4c873df495743600b8f703744420eddfa (diff) | |
download | tdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.tar.gz tdevelop-fe44776673b28ca94338f23d8e7ac71593fa88ba.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>
Diffstat (limited to 'parts/documentation/plugins/kdevtoc')
-rw-r--r-- | parts/documentation/plugins/kdevtoc/CMakeLists.txt | 6 | ||||
-rw-r--r-- | parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop | 41 |
2 files changed, 9 insertions, 38 deletions
diff --git a/parts/documentation/plugins/kdevtoc/CMakeLists.txt b/parts/documentation/plugins/kdevtoc/CMakeLists.txt index c12c26e3..460104b0 100644 --- a/parts/documentation/plugins/kdevtoc/CMakeLists.txt +++ b/parts/documentation/plugins/kdevtoc/CMakeLists.txt @@ -27,7 +27,11 @@ link_directories( ##### other data ################################ -install( FILES dockdevtocplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE dockdevtocplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdockdevtocplugin (module) ############## diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop index ed2643aa..ece2fa4d 100644 --- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop +++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop @@ -1,43 +1,10 @@ [Desktop Entry] -Type=Service Name=DocKDevTOCPlugin -Name[da]=DocKDevTOC-plugin -Name[sk]=Doc KDevTOC modul -Name[sv]=TDevelop innehållsförteckning-dokumentationsinsticksmodul -Name[ta]=DocKDevTOC சொருகு -Name[zh_TW]=TDevelop 目錄文件外掛程式 -Exec=blubb + Comment=Documentation plugin for TDevelopTOC documentation -Comment[ca]=Connector de documentació per a documentació TDevelopTOC -Comment[da]=Dokumentations-plugin for TDevelopTOC-dokumentation -Comment[de]=Komponente für TDevelopTOC-Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για τεκμηρίωση τύπου TDevelopTOC -Comment[es]=Complemento de documentación para TDevelopTOC -Comment[et]=TDevelopTOC dokumentatsiooni plugin -Comment[eu]=TDevelopTOC dokumentaziorako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای مستندات TDevelopTOC -Comment[fr]=Module externe de documentation pour la documentation TDevelopTOC -Comment[gl]=Extensión de documentación para documentación TDevelopTOC -Comment[hu]=Dokumentációmodul TDevelopTOC-dokumentációhoz -Comment[it]=Plugin di documentazione per file di TDevelopTOC -Comment[ja]=TDevelopTOC ドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk dokumentasi TDevelopTOC -Comment[nds]=Dokmentatschoon-Moduul för TDevelopTOC-Dokmentatschoon -Comment[ne]=TDevelopTOC मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin for TDevelopTOC documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie TDevelopTOC -Comment[pt]='Plugin' para documentação TDevelopTOC -Comment[pt_BR]=Plug-in de documentação para document TOC do TDevelop -Comment[ru]=Модуль для просмотра TDevelopTOC -Comment[sk]=Dokumentačný modul pre TDevelopTOC dokumentáciu -Comment[sr]=Документациони прикључак за TDevelopTOC документацију -Comment[sr@Latn]=Dokumentacioni priključak za TDevelopTOC dokumentaciju -Comment[sv]=Dokumentationsinsticksmodul för TDevelop innehållsförteckningsdokumentation -Comment[ta]= TDevelopTOC ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои наоиши TDevelopTOC -Comment[tr]=TDevelopTOC belgelendirmesi için belgelendirme eklentisi -Comment[zh_CN]=TDevelopTOC 文档的文档插件 -Comment[zh_TW]=TDevelop 目錄文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 X-TDE-Library=libdockdevtocplugin |