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/custom | |
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/custom')
-rw-r--r-- | parts/documentation/plugins/custom/CMakeLists.txt | 6 | ||||
-rw-r--r-- | parts/documentation/plugins/custom/doccustomplugin.desktop | 42 |
2 files changed, 9 insertions, 39 deletions
diff --git a/parts/documentation/plugins/custom/CMakeLists.txt b/parts/documentation/plugins/custom/CMakeLists.txt index 80007503..5a4ae6d5 100644 --- a/parts/documentation/plugins/custom/CMakeLists.txt +++ b/parts/documentation/plugins/custom/CMakeLists.txt @@ -25,7 +25,11 @@ link_directories( ##### other data ################################ -install( FILES doccustomplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE doccustomplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdoccustomplugin (module) ############### diff --git a/parts/documentation/plugins/custom/doccustomplugin.desktop b/parts/documentation/plugins/custom/doccustomplugin.desktop index 0f4bec5c..ee941e70 100644 --- a/parts/documentation/plugins/custom/doccustomplugin.desktop +++ b/parts/documentation/plugins/custom/doccustomplugin.desktop @@ -1,44 +1,10 @@ [Desktop Entry] -Type=Service Name=DocCustomPlugin -Name[da]=Brugerdefineret doc-plugin -Name[sk]=Doc vlastný modul -Name[sv]=Egen dokumentationsinsticksmodul -Name[ta]=ஆவண தனிப்பயன் சொருகுப்பொருள் -Name[zh_TW]=Doc 自訂外掛程式 -Exec=blubb + Comment=Documentation plugin for all types of documentation -Comment[ca]=Connector de documentació per a tot tipus de documentació -Comment[da]=Dokumentations-plugin for alle typer dokumentation -Comment[de]=Komponente für alle Arten von Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για όλους τους τύπους τεκμηρίωσης -Comment[es]=Complemento de documentación para todos los tipos de documentación -Comment[et]=Igat tüüpi dokumentatsiooni plugin -Comment[eu]=Dokumentu mota guztientzako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای همۀ انواع مستندات -Comment[fr]=Module externe de documentation pour tous les types de documentation -Comment[gl]=Extensión de documentación para tódolos tipos de documentación -Comment[hu]=Dokumentációmodul mindenféle dokumentációhoz -Comment[it]=Plugin di documentazione per tutti i tipi di documentazione -Comment[ja]=全種類のドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk semua jenis dokumentasi -Comment[nds]=Dokmentatschoon-Moduul för all Oorden vun Dokmentatschoon -Comment[ne]=सबै प्रकारको मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin voor alle typen documentatie -Comment[pl]=Wtyczka dokumentacji dla wszystkich typów dokumentacji -Comment[pt]='Plugin' para documentação de todos os tipos -Comment[pt_BR]=Plug-in de documentação para todos os tipos de documentação -Comment[ru]=Модуль для работы с документацией -Comment[sk]=Dokumentačný modul pre všetky typy dokumentácie -Comment[sl]=Dokumentacijski vstavek za vse vrste dokumentacije -Comment[sr]=Документациони прикључак за све типове документације -Comment[sr@Latn]=Dokumentacioni priključak za sve tipove dokumentacije -Comment[sv]=Dokumentationsinsticksmodul för alla typer av dokumentation -Comment[ta]=எல்லா வகை ஆவணமயமாக்கலுக்கான ஆவணமயமாக்கல் சொருகுப்பொருள் -Comment[tg]=Модул барои кор кардан бо ҳуҷҷатҳо -Comment[tr]=Her tür belgelendirme için belgelendirme eklentisi -Comment[zh_CN]=全部类型文档的文档插件 -Comment[zh_TW]=所有型態的文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 X-TDE-Library=libdoccustomplugin |