diff options
author | Slávek Banko <[email protected]> | 2020-07-29 22:43:34 +0200 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-08-01 17:56:29 +0900 |
commit | 96fa25303818e6107b72ba624659004751d45ad1 (patch) | |
tree | 89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /languages/pascal/app_templates/fpchello | |
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 <[email protected]>
(cherry picked from commit fe44776673b28ca94338f23d8e7ac71593fa88ba)
Diffstat (limited to 'languages/pascal/app_templates/fpchello')
-rw-r--r-- | languages/pascal/app_templates/fpchello/CMakeLists.txt | 9 | ||||
-rw-r--r-- | languages/pascal/app_templates/fpchello/fpchello | 9 | ||||
-rw-r--r-- | languages/pascal/app_templates/fpchello/fpchello.kdevtemplate | 91 |
3 files changed, 16 insertions, 93 deletions
diff --git a/languages/pascal/app_templates/fpchello/CMakeLists.txt b/languages/pascal/app_templates/fpchello/CMakeLists.txt index 7da8ffd1..5546441c 100644 --- a/languages/pascal/app_templates/fpchello/CMakeLists.txt +++ b/languages/pascal/app_templates/fpchello/CMakeLists.txt @@ -20,6 +20,9 @@ install( FILES DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) -install( FILES - fpchello.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) +tde_create_translated_desktop( + SOURCE fpchello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates + KEYWORDS Category + PO_DIR tdevelop-desktops +) diff --git a/languages/pascal/app_templates/fpchello/fpchello b/languages/pascal/app_templates/fpchello/fpchello index b5a0acbf..1ef6c001 100644 --- a/languages/pascal/app_templates/fpchello/fpchello +++ b/languages/pascal/app_templates/fpchello/fpchello @@ -1,9 +1,10 @@ -# KDE Config File +# TDE Config File [General] Name=Simple program -Name[fr]=Un simple programme de test -Category=Pascal/Free Pascal + Comment=Generates a simple program in Pascal -Comment[fr]=G�n�re un simple programme de test 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/fpchello/fpchello.kdevtemplate b/languages/pascal/app_templates/fpchello/fpchello.kdevtemplate index 77c79101..9aa444e7 100644 --- a/languages/pascal/app_templates/fpchello/fpchello.kdevtemplate +++ b/languages/pascal/app_templates/fpchello/fpchello.kdevtemplate @@ -1,64 +1,11 @@ -# KDE Config File +# TDE Config File [General] Name=Simple program -Name[ca]=Simple programa -Name[da]=Simpelt program -Name[de]=Einfaches Programm -Name[el]=Απλό πρόγραμμα -Name[es]=Programa sencillo -Name[et]=Lihtne programm -Name[eu]=Programa sinplea -Name[fa]=برنامۀ ساده -Name[fr]=Programme simple -Name[ga]=Ríomhchlár simplí -Name[gl]=Programa sinxelo -Name[hu]=Egyszerű program -Name[it]=Semplice programma -Name[ja]=簡単なプログラム -Name[nds]=Eenfach Programm -Name[ne]=साधारण कार्यक्रम -Name[nl]=Eenvoudig programma -Name[pl]=Prosty program -Name[pt]=Programa simples -Name[pt_BR]=Programa simples -Name[ru]=Простое приложение -Name[sk]=Jednoduchý prohram -Name[sr]=Једноставан програм -Name[sr@Latn]=Jednostavan program -Name[sv]=Enkelt program -Name[tr]=Basit program -Name[zh_CN]=简单程序 -Name[zh_TW]=簡單程式 -Category=Pascal/Free Pascal + Comment=Generates a simple program in Pascal -Comment[ca]=Genera un simple programa en Pascal -Comment[da]=Genererer et simpelt program i Pascal -Comment[de]=Erstellt ein einfaches Programm in Pascal -Comment[el]=Δημιουργεί ένα απλό πρόγραμμα σε Pascal -Comment[es]=Genera un sencillo programa en Pascal -Comment[et]=Lihtsa programmi loomine Pascalis -Comment[eu]=Pascal-en idatzitako programa sinple bat -Comment[fa]=یک برنامۀ ساده در پاسکال تولید میکند -Comment[fr]=Génère un programme simple en Pascal -Comment[ga]=Cruthaíonn sé seo ríomhchlár simplí i Pascal -Comment[gl]=Xera un programa sinxelo en Pascal -Comment[hu]=Létrehoz egy egyszerű programot Pascalban -Comment[it]=Genera un semplice programma in Pascal -Comment[ja]=簡単なプログラムを Pascal で作成します -Comment[nds]=Stellt en eenfach Pascal-Programm op -Comment[ne]=पास्कलमा साधारण कार्यक्रम उत्पन्न गर्दछ -Comment[nl]=Genereert een eenvoudig programma in Pascal -Comment[pl]=Generuje prosty program w Pascalu -Comment[pt]=Gera um programa simples em Pascal -Comment[pt_BR]=Gera um programa simples em Pascal -Comment[ru]=Создание простого приложения на Pascal -Comment[sk]=Vygeneruje jednoduchý program v Pascal -Comment[sr]=Прави једноставан програм у Pascal-у -Comment[sr@Latn]=Pravi jednostavan program u Pascal-u -Comment[sv]=Skapar ett enkelt program i Pascal -Comment[tr]=Pascal'da basit bir program yaratır -Comment[zh_CN]=生成一个简单的 Pascal 语言程序 -Comment[zh_TW]=產生一個 Pascal 的簡單程式 + +Category=Pascal/Free Pascal + FileTemplates=pp-program,PStyle,pp-unit,PStyle ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.pp Archive=fpchello.tar.gz @@ -85,31 +32,3 @@ Dest=%{dest}/src/%{APPNAMELC}.pp [MSG] Type=message Comment=A simple pascal program was created in %{dest} -Comment[ca]=Un simple programa en Pascal ha estat creat en %{dest} -Comment[da]=Et simpelt pascal program blev oprettet i %{dest} -Comment[de]=Ein einfaches Programm in Pascal wurde in %{dest} erstellt. -Comment[el]=Ένα απλό πρόγραμμα pascal δημιουργήθηκε στο %{dest} -Comment[es]=Un sencillo programa en Pascal ha sido creado en %{dest} -Comment[et]=Lihtne Pascali programm loodi asukohta %{dest} -Comment[eu]=Pascal-en oinarritutako programa sinple bat sortu da hemen: %{dest} -Comment[fa]=یک برنامۀ سادۀ پاسکال در %{dest} ایجاد شد -Comment[fr]=Un programme Pascal simple a été créé dans %{dest} -Comment[ga]=Cruthaíodh ríomhchlár simplí pascal i %{dest} -Comment[gl]=Creouse un programa sinxelo en pascal en %{dest} -Comment[hu]=Létrejött egy egyszerű Pascal-program itt: %{dest} -Comment[it]=È stato creato un semplice programma Pascal in %{dest} -Comment[ja]=簡単な Pascal プログラムを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en eenfach Pascal-Programm opstellt -Comment[ne]=साधारण पास्कल कार्यक्रम %{dest} मा सिर्जना गरियो -Comment[nl]=Een eenvoudig Pascal-programma is aangemaakt in %{dest} -Comment[pl]=Prosty program w Pascalu został utworzony w %{dest} -Comment[pt]=Foi criado um programa simples em Pascal em %{dest} -Comment[pt_BR]=Foi criado um programa simples em Pascal em %{dest} -Comment[ru]=Простое приложение на Pascal создано в %{dest} -Comment[sk]=Jednoduchý program v Pascal bol vytvorený v %{dest} -Comment[sr]=Једноставан pascal програм направљен је у %{dest} -Comment[sr@Latn]=Jednostavan pascal program napravljen je u %{dest} -Comment[sv]=Ett enkelt Pascal-program skapades i %{dest} -Comment[tr]=Pascal'da basit bir program %{dest} içinde yaratıldı -Comment[zh_CN]=在 %{dest} 创建了一个简单的 Pascal 程序 -Comment[zh_TW]=一個簡單的 Pascal 程式已建立於 %{dest} |