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 /languages/pascal/app_templates/fpcgtk | |
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 'languages/pascal/app_templates/fpcgtk')
-rw-r--r-- | languages/pascal/app_templates/fpcgtk/CMakeLists.txt | 9 | ||||
-rw-r--r-- | languages/pascal/app_templates/fpcgtk/fpcgtk | 9 | ||||
-rw-r--r-- | languages/pascal/app_templates/fpcgtk/fpcgtk.kdevtemplate | 90 |
3 files changed, 16 insertions, 92 deletions
diff --git a/languages/pascal/app_templates/fpcgtk/CMakeLists.txt b/languages/pascal/app_templates/fpcgtk/CMakeLists.txt index 87c3e17a..528103ad 100644 --- a/languages/pascal/app_templates/fpcgtk/CMakeLists.txt +++ b/languages/pascal/app_templates/fpcgtk/CMakeLists.txt @@ -20,6 +20,9 @@ install( FILES DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) -install( FILES - fpcgtk.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) +tde_create_translated_desktop( + SOURCE fpcgtk.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates + KEYWORDS Category + PO_DIR tdevelop-desktops +) diff --git a/languages/pascal/app_templates/fpcgtk/fpcgtk b/languages/pascal/app_templates/fpcgtk/fpcgtk index 374f1bc9..e5bdd145 100644 --- a/languages/pascal/app_templates/fpcgtk/fpcgtk +++ b/languages/pascal/app_templates/fpcgtk/fpcgtk @@ -1,9 +1,10 @@ -# KDE Config File +# TDE Config File [General] Name=GTK+ application -Name[fr]=Une application GTK+ -Category=Pascal/Free Pascal + Comment=Generates a GTK+ based GUI application in Pascal -Comment[fr]=Gnre une application base sur la bibliothque GTK+ dans le language PASCAL. + +Category=Pascal/Free Pascal + FileTemplates=pp-program,PStyle,pp-unit,PStyle ShowFilesAfterGeneration=src/APPNAMELC.pp diff --git a/languages/pascal/app_templates/fpcgtk/fpcgtk.kdevtemplate b/languages/pascal/app_templates/fpcgtk/fpcgtk.kdevtemplate index 42e2be9d..de30d688 100644 --- a/languages/pascal/app_templates/fpcgtk/fpcgtk.kdevtemplate +++ b/languages/pascal/app_templates/fpcgtk/fpcgtk.kdevtemplate @@ -1,63 +1,11 @@ -# KDE Config File +# TDE Config File [General] Name=GTK+ application -Name[ca]=Aplicació GTK+ -Name[da]=GTK+ program -Name[de]=GTK+-Anwendung -Name[el]=Εφαρμογή GTK+ -Name[es]=Aplicación GTK+ -Name[et]=GTK+ rakendus -Name[eu]=GTK+ aplikazioa -Name[fa]=کاربرد GTK+ -Name[fr]=Application GTK+ -Name[ga]=Feidhmchlár GTK+ -Name[gl]=Aplicación GTK+ -Name[hu]=GTK+-alapú alkalmazás -Name[it]=Applicazione GTK+ -Name[ja]=GTK+ アプリケーション -Name[nds]=GTK+-Programm -Name[ne]=GTK+ अनुप्रयोग -Name[nl]=GTK+-toepassing -Name[pl]=Program GTK+ -Name[pt]=Aplicação do GTK+ -Name[pt_BR]=Aplicativo GTK+ -Name[ru]=Приложение GTK+ -Name[sk]=GTK+ aplikácia -Name[sr]=GTK+ програм -Name[sr@Latn]=GTK+ program -Name[sv]=GTK+ program -Name[tr]=GTK+ Uygulaması -Name[zh_CN]=GTK+ 应用程序 -Name[zh_TW]=GTK+ 應用程式 -Category=Pascal/Free Pascal + Comment=Generates a GTK+ based GUI application in Pascal -Comment[ca]=Genera una aplicació IGU en Pascal basada en GTK+ -Comment[da]=Genererer et GTK+ baseret GUI program i Pascal -Comment[de]=Erstellt eine auf GTK+ basierende GUI-Anwendung in Pascal -Comment[el]=Δημιουργεί μια γραφική εφαρμογή βασισμένη στο GTK+ σε Pascal -Comment[es]=Genera una aplicación gráfica en Pascal basada en GTK+ -Comment[et]=Graafilise rakenduse loomine GTK+ põhjal Pascalis -Comment[eu]=GTK+-en oinarritutako GUI aplikazio bat sortzen du Pascal-en -Comment[fa]=یک کاربرد ونک بر مبنای GTK+ در پاسکال تولید میکند -Comment[fr]=Génère une application avec interface graphique basée sur GTK+ en Pascal -Comment[ga]=Cruthaigh feidhmchlár grafach i Pascal, bunaithe ar GTK+ -Comment[gl]=Xera unha aplicación GUI baseada en GTK+ en Pascal -Comment[hu]=Létrehoz egy GTK+-alapú grafikus felületű alkalmazást Pascalban -Comment[it]=Genera un'applicazione GUI basata su GTK+ in Pascal -Comment[ja]=GTK+ ベースの GUI アプリケーションを Pascal で作成します -Comment[nds]=Stellt en op GTK+ opbuut Böversietprogramm in Pascal op -Comment[ne]= GTK+ आधारित जी यू आई अनुप्रयोगलाई पास्कलमा उत्पन्न गर्दछ -Comment[nl]=Genereert een GKT+-gebaseerde GUI-toepassing in Pascal -Comment[pl]=Generuje program z graficznym interfejsem użytkownika używający GTK+ w Pascalu -Comment[pt]=Gera uma aplicação gráfica, baseada em GTK+, em Pascal -Comment[pt_BR]=Gera uma aplicação gráfica, baseada em GTK+, em Pascal -Comment[ru]=Создание приложения GTK+ на Pascal -Comment[sk]=Vygeneruje GTK+ GUI aplikáciu v Pascal -Comment[sr]=Прави GUI програм на основу GTK+ у Pascal-у -Comment[sr@Latn]=Pravi GUI program na osnovu GTK+ u Pascal-u -Comment[sv]=Skapar ett GTK+ baserat program med grafiskt användargränssnitt i Pascal -Comment[zh_CN]=生成一个 Pascal 语言的 GTK+ GUI 应用程序 -Comment[zh_TW]=產生一個 Pascal 語言,以GTK+ 為基礎的使用者介面應用程式 + +Category=Pascal/Free Pascal + FileTemplates=pp-program,PStyle,pp-unit,PStyle ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.pp Archive=fpcgtk.tar.gz @@ -84,31 +32,3 @@ Dest=%{dest}/src/%{APPNAMELC}.pp [MSG] Type=message Comment=A GTK+ application written in pascal was created in %{dest} -Comment[ca]=Una aplicació GTK+ escrita en Pascal ha estat creada en %{dest} -Comment[da]=Et GTK+ program skrevet i pascal blev oprettet i %{dest} -Comment[de]=Eine in Pascal geschriebene GTK+-Anwendung wurde in %{dest} erstellt. -Comment[el]=Μια εφαρμογή GTK+ γραμμένη σε pascal δημιουργήθηκε στο %{dest} -Comment[es]=Una aplicación GTK+ escrita en Pascal ha sido creada en %{dest} -Comment[et]=GTK+ rakendus Pascalis loodi asukohta %{dest} -Comment[eu]=Pascal-en idatzitako GTK+ aplikazio bat sortu da hemen: %{dest} -Comment[fa]=یک کاربرد GTK+ نوشتهشده در پاسکال در %{dest} ایجاد شد -Comment[fr]=Une application GTK+ écrite en Pascal a été créée dans %{dest} -Comment[ga]=Cruthaíodh feidhmchlár GTK+, scríofa i pascal, i %{dest} -Comment[gl]=Creouse unha aplicación GTK+ escrita en pascal en %{dest} -Comment[hu]=Létrejött egy egyszerű, Pascal nyelvű, GTK+-alapú alkalmazás itt: %{dest} -Comment[it]=È stata creata un'applicazione GTK+ scritta in Pascal in %{dest} -Comment[ja]=Pascal で書かれた GTK+ アプリケーションを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en Pascal-Programm för GTK+ opstellt -Comment[ne]=पास्कलमा लेखिएको GTK+ अनुप्रयोग %{dest} मा सिर्जना गरियो -Comment[nl]=Een GTK+-toepassing geschreven in Pascal is aangemaakt in %{dest} -Comment[pl]=Program GTK+ napisany w Pascalu został utworzony w %{dest} -Comment[pt]=Foi criada uma aplicação GTK+, escrita em Pascal, em %{dest} -Comment[pt_BR]=Foi criada uma aplicação GTK+, escrita em Pascal, em %{dest} -Comment[ru]=Приложение GTK+ на Pascal создано в %{dest} -Comment[sk]=GTK+ aplikácia v Pascal bola vytvorená v %{dest} -Comment[sr]=GTK+ програм у Pascal-у направљен је у %{dest} -Comment[sr@Latn]=GTK+ program u Pascal-u napravljen je u %{dest} -Comment[sv]=Ett GTK+ program skrivet i Pascal skapades i %{dest} -Comment[tr]=Pascal'da yazılmış bir GTK+ uygulaması %{dest} içinde yaratıldı. -Comment[zh_CN]=在 %{dest} 创建了 Pascal 语言的 GTK+ 应用程序 -Comment[zh_TW]=一個 Pascal 的 GTK+ 應用程式已建立於 %{dest} |