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/appwizard/common | |
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/appwizard/common')
-rw-r--r-- | parts/appwizard/common/CMakeLists.txt | 17 | ||||
-rw-r--r-- | parts/appwizard/common/dockbook.kdevtemplate | 33 | ||||
-rw-r--r-- | parts/appwizard/common/gnome2.kdevtemplate | 1 | ||||
-rw-r--r-- | parts/appwizard/common/gnu.kdevtemplate | 1 | ||||
-rw-r--r-- | parts/appwizard/common/tde-app.desktop | 42 | ||||
-rw-r--r-- | parts/appwizard/common/tde-part.desktop | 13 |
6 files changed, 19 insertions, 88 deletions
diff --git a/parts/appwizard/common/CMakeLists.txt b/parts/appwizard/common/CMakeLists.txt index 527e5562..8451d3f7 100644 --- a/parts/appwizard/common/CMakeLists.txt +++ b/parts/appwizard/common/CMakeLists.txt @@ -33,14 +33,21 @@ install( FILES tde-configure.in.in tde-index.docbook kde-po-Makefile.am kde-doc-Makefile.am kde-doc-en-Makefile.am hi16-app-app.png - hi32-app-app.png tde-app.desktop - tde-part.desktop + hi32-app-app.png gnome-Makefile.am gnome-Makefile.cvs gnome-pixmaps-Makefile.am gnome-app.png wx-configure.in wx-Makefile.am wx-Makefile.cvs COPYING COPYING.LIB LICENSE.QPL LICENSE.BSD - Artistic admin.kdevtemplate gnu.kdevtemplate - dockbook.kdevtemplate incadmin.kdevtemplate - gnome2.kdevtemplate scons.kdevtemplate + Artistic ${CMAKE_CURRENT_BINARY_DIR}/scons.tar.gz DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/template-common ) + +tde_create_translated_desktop( + SOURCE + tde-app.desktop tde-part.desktop + admin.kdevtemplate gnu.kdevtemplate + dockbook.kdevtemplate incadmin.kdevtemplate + gnome2.kdevtemplate scons.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/template-common + PO_DIR tdevelop-desktops +) diff --git a/parts/appwizard/common/dockbook.kdevtemplate b/parts/appwizard/common/dockbook.kdevtemplate index 41b65f62..28493e5f 100644 --- a/parts/appwizard/common/dockbook.kdevtemplate +++ b/parts/appwizard/common/dockbook.kdevtemplate @@ -1,36 +1,9 @@ [DOCSOPT] +Comment= Install Docbook documentation templates. + Type = value ValueType=bool Value=INSTALL_DOCS -Comment= Install Docbook documentation templates. -Comment[ca]= Instal·la plantilles de documentació en Docbook. -Comment[da]= Installerer Docbook dokumentationsskabeloner. -Comment[de]= Installiert Docbook-Vorlagen für Dokumentation -Comment[el]= Εγκατάσταση προτύπων τεκμηρίωσης Docbook. -Comment[es]=Instalar plantillas de documentación Docbook. -Comment[et]= Docbook-dokumendimallide paigaldamine. -Comment[eu]= Instalatu Docbook dokumentazioaren txantiloiak. -Comment[fa]= قالبهای مستندات Docbook را نصب میکند. -Comment[fr]=Installe des modèles de documentation en Docbook. -Comment[gl]=Instalar modelos de documentación Docbook -Comment[hu]=DocBook-alapú dokumentációsablonok telepítése. -Comment[it]=Installa modelli di documentazione docbook. -Comment[ja]=Docbook ドキュメントテンプレートをインストール -Comment[ms]=Pasang templat dokumentasi Docbook. -Comment[nds]= Docbook-Dokmentatschoonvörlagen installeren -Comment[ne]= डकबुक मिसिलीकरण टेम्प्लेट स्थापना गर्नुहोस् -Comment[nl]=Installeert Docbook-documentatie-sjablonen. -Comment[pl]=Instalacja szablonów dokumentacji Docbook. -Comment[pt]= Instala os modelos de documentação em Docbook. -Comment[pt_BR]= Instala os modelos de documentação em Docbook. -Comment[ru]=Установка шаблонов Docbook. -Comment[sk]=Nainštaluje šablóny dokumentácie Docbook. -Comment[sr]=Инсталира Docbook документационе шаблоне. -Comment[sr@Latn]=Instalira Docbook dokumentacione šablone. -Comment[sv]= Installera Docbook-dokumentationsmallar. -Comment[tr]=Docbook belgelendirme şablonlarını yükle. -Comment[zh_CN]=安装 Docbook 文档模板。 -Comment[zh_TW]=安裝 Docbook 文件樣本。 Default=true [DOCSDIR] @@ -60,5 +33,3 @@ Type=install Source=%{tdevelop}/template-common/tde-index.docbook Dest=%{dest}/doc/en/index.docbook Option=INSTALL_DOCS - - diff --git a/parts/appwizard/common/gnome2.kdevtemplate b/parts/appwizard/common/gnome2.kdevtemplate index ce4e3f3d..94cd849e 100644 --- a/parts/appwizard/common/gnome2.kdevtemplate +++ b/parts/appwizard/common/gnome2.kdevtemplate @@ -2,4 +2,3 @@ Type=install archive Source=%{tdevelop}/template-common/gnome2.tar.gz Dest=%{dest} - diff --git a/parts/appwizard/common/gnu.kdevtemplate b/parts/appwizard/common/gnu.kdevtemplate index e1876440..a04302ef 100644 --- a/parts/appwizard/common/gnu.kdevtemplate +++ b/parts/appwizard/common/gnu.kdevtemplate @@ -2,4 +2,3 @@ Type=install archive Source=%{tdevelop}/template-common/gnu.tar.gz Dest=%{dest} - diff --git a/parts/appwizard/common/tde-app.desktop b/parts/appwizard/common/tde-app.desktop index ec6d8726..35082164 100644 --- a/parts/appwizard/common/tde-app.desktop +++ b/parts/appwizard/common/tde-app.desktop @@ -1,44 +1,10 @@ [Desktop Entry] Name=%{APPNAME} + +Comment=A TDE KPart Application + Exec=%{APPNAMELC} %i -caption "%c" Icon=%{APPNAMELC} Type=Application -X-DocPath=%{APPNAMELC}/%{APPNAMELC}.html -Comment=A TDE KPart Application -Comment[br]=Ur meziant Kpart evit TDE -Comment[ca]=Una aplicació KPart per al TDE -Comment[cy]=Cymhwysiad KPart TDE -Comment[da]=Et TDE KPart-program -Comment[de]=Eine auf der Komponententechnik KPart basierende TDE-Anwendung -Comment[el]=Μια εφαρμογή KPart του TDE -Comment[es]=Una aplicación KPart de TDE -Comment[et]=TDE KPart rakendus -Comment[eu]=TDE KPart aplikazio bat -Comment[fa]=یک کاربرد TDE KPart -Comment[fr]=Une application KPart pour TDE -Comment[ga]=Feidhmchlár KPart TDE -Comment[gl]=Unha aplicación KPart de TDE -Comment[hi]=एक केडीई के-पार्ट अनुप्रयोग -Comment[hu]=KPart-alapú TDE-alkalmazás -Comment[is]=TDE KPart forrit -Comment[it]=Applicazione KPart di TDE -Comment[ja]=TDE KPart アプリケーション -Comment[lt]=TDE KPart programa -Comment[nds]=En KPart-Deelprogramm för TDE -Comment[ne]=एउटा केडीई KPart अनुप्रयोग -Comment[nl]=Een TDE KPart-toepassing -Comment[pl]=Osadzalny element KPart TDE -Comment[pt]=Uma Aplicação KPart do TDE -Comment[pt_BR]=Um Aplicativo KPart do TDE -Comment[ru]=Приложение KPart для TDE -Comment[sk]=TDE KPart aplikácia -Comment[sl]=Program KPart za TDE -Comment[sr]=TDE KPart програм -Comment[sr@Latn]=TDE KPart program -Comment[sv]=Ett TDE Kpart-program -Comment[ta]=கெடி கெபார்ட் பயன்பாடு -Comment[tg]=Ба кор андохтани KPart барои TDE -Comment[tr]=Bir TDE KPart Uygulaması -Comment[zh_CN]=一个 TDE KPart 应用程序 -Comment[zh_TW]=TDE KPart 應用程式 Terminal=false +X-DocPath=%{APPNAMELC}/%{APPNAMELC}.html diff --git a/parts/appwizard/common/tde-part.desktop b/parts/appwizard/common/tde-part.desktop index ebbd7dca..648f1693 100644 --- a/parts/appwizard/common/tde-part.desktop +++ b/parts/appwizard/common/tde-part.desktop @@ -1,17 +1,6 @@ [Desktop Entry] Name=%{APPNAME}Part -Name[br]=Perzh%{APPNAME} -Name[ca]=Part per a %{APPNAME} -Name[el]=Τμήμα%{APPNAME} -Name[et]=%{APPNAME} komponent -Name[fa]=جزء %{APPNAME} -Name[gl]=%{APPNAME} Part -Name[ja]=%{APPNAME} パート -Name[ne]=%{APPNAME}भाग -Name[pt_BR]=Parte %{APPNAME} -Name[sv]=%{APPNAME}-del -Name[ta]=%{APPNAME}பாகம் -Name[tr]=%{APPNAME} Bileşeni + MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; X-TDE-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart X-TDE-Library=lib%{APPNAMELC}part |