summaryrefslogtreecommitdiffstats
path: root/languages/fortran/app_templates
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-29 22:43:34 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-30 16:00:07 +0200
commitfe44776673b28ca94338f23d8e7ac71593fa88ba (patch)
treeb900146c853acbd44900bfb77a35a1af3c77aa5d /languages/fortran/app_templates
parentc0b663c4c873df495743600b8f703744420eddfa (diff)
downloadtdevelop-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 'languages/fortran/app_templates')
-rw-r--r--languages/fortran/app_templates/fortranhello/CMakeLists.txt9
-rw-r--r--languages/fortran/app_templates/fortranhello/fortranhello11
-rw-r--r--languages/fortran/app_templates/fortranhello/fortranhello.kdevtemplate93
3 files changed, 18 insertions, 95 deletions
diff --git a/languages/fortran/app_templates/fortranhello/CMakeLists.txt b/languages/fortran/app_templates/fortranhello/CMakeLists.txt
index a41d7cd9..2ad47178 100644
--- a/languages/fortran/app_templates/fortranhello/CMakeLists.txt
+++ b/languages/fortran/app_templates/fortranhello/CMakeLists.txt
@@ -22,6 +22,9 @@ install( FILES
DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
-install( FILES
- fortranhello.kdevtemplate
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates )
+tde_create_translated_desktop(
+ SOURCE fortranhello.kdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates
+ KEYWORDS Category
+ PO_DIR tdevelop-desktops
+)
diff --git a/languages/fortran/app_templates/fortranhello/fortranhello b/languages/fortran/app_templates/fortranhello/fortranhello
index 1028a814..188daec7 100644
--- a/languages/fortran/app_templates/fortranhello/fortranhello
+++ b/languages/fortran/app_templates/fortranhello/fortranhello
@@ -1,10 +1,11 @@
-# KDE Config File
+# TDE Config File
[General]
Name=Simple Hello world program
-Name[fr]=Un simple programme de test Hello world
-Icon=fortranhello.png
-Category=Fortran
+
Comment=Generates a simple Hello world program in Fortran
-Comment[fr]=Gnre un simple programme de test du type Hello world dans le language FORTRAN.
+
+Category=Fortran
+
+Icon=fortranhello.png
FileTemplates=f,None
ShowFilesAfterGeneration=src/APPNAMELC.f
diff --git a/languages/fortran/app_templates/fortranhello/fortranhello.kdevtemplate b/languages/fortran/app_templates/fortranhello/fortranhello.kdevtemplate
index 117a0f50..cc581d09 100644
--- a/languages/fortran/app_templates/fortranhello/fortranhello.kdevtemplate
+++ b/languages/fortran/app_templates/fortranhello/fortranhello.kdevtemplate
@@ -1,66 +1,12 @@
-# KDE Config File
+# TDE Config File
[General]
Name=Simple Hello world program
-Name[ca]=Simple programa Hello world
-Name[da]=Simpelt Goddag verden program
-Name[de]=Ein einfaches "Hello World"-Programm
-Name[el]=Απλό πρόγραμμα Γεια σου Κόσμε
-Name[es]=Programa «Hola mundo» sencillo
-Name[et]=Lihtne "Tere, maailm" programm
-Name[eu]="Kaixo mundua" programa sinplea
-Name[fa]=برنامۀ سادۀ Hello world
-Name[fr]=Programme « Bonjour monde » simple
-Name[ga]=Ríomhchlár simplí "Hello World"
-Name[gl]=Programa sinxelo Ola mundo
-Name[hu]=Egyszerű Hello world program
-Name[it]=Semplice programma di "Hello world"
-Name[ja]=簡単な Hello world プログラム
-Name[ms]=Program Hello World mudah
-Name[nds]=En eenfach "Moin Welt"-Programm
-Name[ne]=साधारण हेल्लो वोल्ड कार्यक्रम
-Name[nl]=Eenvoudig 'Hello World' programma
-Name[pl]=Prosty program witaj świecie
-Name[pt]=Programa simples Olá Mundo
-Name[pt_BR]=Programa simples Olá Mundo
-Name[ru]=Простая программа Hello world
-Name[sk]=Jednoduchý "Ahoj svet" program
-Name[sl]=Preprost program Hello world
-Name[sr]=Једноставан „Здраво свете“ програм
-Name[sr@Latn]=Jednostavan „Zdravo svete“ program
-Name[sv]=Enkelt Hello world-program
-Name[tr]=Basit Merhaba dünya programı
-Name[zh_CN]=简单的 Hello world 程序
-Name[zh_TW]=簡單的 Hello world 程式
-Icon=fortranhello.png
-Category=Fortran
+
Comment=Generates a simple Hello world program in Fortran
-Comment[ca]=Genera un simple programa de Hello world en Fortran
-Comment[da]=Genererer et simpelt Goddag verden program i Fortran
-Comment[de]=Erstellt ein einfaches "Hello World"-Programm in Fortran
-Comment[el]=Δημιουργία ενός απλού προγράμματος Γεια σου σε Fortran
-Comment[es]=Genera un sencillo programa «Hola mundo» en Fortran
-Comment[et]=Lihtsa "Tere, maailm" programmi loomine Fortranis
-Comment[eu]="Kaixo mundua" programa sinple bat sortzen du Fortran lengoaian
-Comment[fa]=یک برنامۀ سادۀ Hello world در فرترن تولید می‌کند
-Comment[fr]=Génère un programme « Bonjour monde » simple en Fortran
-Comment[gl]=Xera un programa sinxelo Ola mundo en Fortran
-Comment[hu]=Létrehoz egy egyszerű Hello world programot Fortran nyelven
-Comment[it]=Genera un semplice programma di "Hello world" in Fortran
-Comment[ja]=簡単な Hello world プログラムを Fortran で作成します
-Comment[nds]=Stellt en eenfach "Moin Welt"-Programm in Fortran op
-Comment[ne]=फोर्ट्रानमा साधारण हेल्लो वोल्ड कार्यक्रम उत्पन्न गर्दछ
-Comment[nl]=Genereert een eenvoudig Hello World-programma in Fortran
-Comment[pl]=Generuje prosty program Witaj świecie w Fortranie
-Comment[pt]=Gera um programa simples Olá Mundo em Fortran
-Comment[pt_BR]=Gera um programa simples Olá Mundo em Fortran
-Comment[ru]=Создание простой программы Hello world на Fortran
-Comment[sk]=Vygeneruje jednoduchý "Ahoj svet" program vo Fortran
-Comment[sr]=Прави једноставан „Здраво свете“ у Fortran-у
-Comment[sr@Latn]=Pravi jednostavan „Zdravo svete“ u Fortran-u
-Comment[sv]=Skapar ett enkelt Hello world-program i Fortran
-Comment[tr]=Fortran'da basit bir Merhaba Dünya programı yaratır.
-Comment[zh_CN]=生成一个简单的 Fortran 语言 Hello world 程序
-Comment[zh_TW]=產生一個簡單的 Fortran Hello world 程式
+
+Category=Fortran
+
+Icon=fortranhello.png
FileTemplates=f,None
ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.f
Archive=fortranhello.tar.gz
@@ -111,30 +57,3 @@ Dest=%{dest}/src/%{APPNAMELC}.f
[MSG]
Type=message
Comment=a simple "Hello world" program in fortran was created in %{dest}
-Comment[ca]=Un simple programa de "Hello world" en fortran ha estat creat en %{dest}
-Comment[da]=et simpelt "Goddag verden" program i fortran blev oprettet i %{dest}
-Comment[de]=Ein einfaches "Hello World"-Programm in Fortran wurde in %{dest} erstellt.
-Comment[el]=Ένα απλό πρόγραμμα "Γεια σου κόσμε" σε fortran δημιουργήθηκε στο %{dest}
-Comment[es]=Un sencillo programa «Hola mundo» en Fortran ha sido creado en %{dest}
-Comment[et]=Lihtne "Tere, maailm" programm Fortranis loodi asukohta %{dest}
-Comment[eu]="Kaixo mundua" programa sinple bat sortu da hemen: %{dest}
-Comment[fa]=یک برنامۀ سادۀ «Hello world» در فرترن در %{dest} ایجاد شد
-Comment[fr]=Un programme « Bonjour monde » simple en Fortran a été créé dans %{dest}
-Comment[gl]=Creouse un programa sinxelo "Ola mundo" en fortran en %{dest}
-Comment[hu]=Létrejött egy egyszerű, Fortran nyelvű Hello world program itt: %{dest}
-Comment[it]=È stato creato un semplice programma di "Hello world" in Fortran in %{dest}
-Comment[ja]=Fortran で記述された簡単な Hello world プログラムを %{dest} に作成しました
-Comment[nds]=In %{dest} wöör en eenfach "Moin Welt"-Programm in Fortran opstellt
-Comment[ne]=फोर्ट्रानमा साधारण "हेल्लो वोल्ड" कार्यक्रम %{dest} मा सिर्जना गरियो
-Comment[nl]=een eenvoudig "Hello World"-programma in Fortran is aangemaakt in %{dest}
-Comment[pl]=Prosty program "Witaj świecie" w Fortranie został utworzony w %{dest}
-Comment[pt]=Foi criado um programa simples "Olá mundo" em Fortran em %{dest}
-Comment[pt_BR]=Foi criado um programa simples "Olá mundo" em Fortran em %{dest}
-Comment[ru]=Простая программа "Hello world" на Fortran создана в %{dest}
-Comment[sk]=Jednoduchý "Ahoj svet" program vo Fortran bol vytvorený v %{dest}
-Comment[sr]=Једноставан „Здраво свете“ у Fortran-у направљен је у %{dest}
-Comment[sr@Latn]=Jednostavan „Zdravo svete“ u Fortran-u napravljen je u %{dest}
-Comment[sv]=Ett enkelt "Hello world"-program i Fortran skapades i %{dest}
-Comment[tr]=Fortran'da basit bir "Merhaba Dünya" programı %{dest} içinde yaratıldı.
-Comment[zh_CN]=在 %{dest} 创建了一个简单的 Fortran 语言“Hello world”程序
-Comment[zh_TW]=一個 fortran 的簡單的 "Hello world" 程式已建立於 %{dest}