summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/cpphello
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-29 22:43:34 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-01 17:56:29 +0900
commit96fa25303818e6107b72ba624659004751d45ad1 (patch)
tree89a7233f17e403e6b635d2ce7155d5f77a98d3d8 /languages/cpp/app_templates/cpphello
parent3248c8c2f99f71bb2ca5972828754fdabacd7c90 (diff)
downloadtdevelop-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/cpp/app_templates/cpphello')
-rw-r--r--languages/cpp/app_templates/cpphello/CMakeLists.txt9
-rw-r--r--languages/cpp/app_templates/cpphello/cpphello.kdevtemplate96
2 files changed, 11 insertions, 94 deletions
diff --git a/languages/cpp/app_templates/cpphello/CMakeLists.txt b/languages/cpp/app_templates/cpphello/CMakeLists.txt
index 7955aeab..66bad716 100644
--- a/languages/cpp/app_templates/cpphello/CMakeLists.txt
+++ b/languages/cpp/app_templates/cpphello/CMakeLists.txt
@@ -21,6 +21,9 @@ install( FILES
DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
-install( FILES
- cpphello.kdevtemplate
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates )
+tde_create_translated_desktop(
+ SOURCE cpphello.kdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates
+ KEYWORDS Category
+ PO_DIR tdevelop-desktops
+)
diff --git a/languages/cpp/app_templates/cpphello/cpphello.kdevtemplate b/languages/cpp/app_templates/cpphello/cpphello.kdevtemplate
index a19f0a9d..e79a4946 100644
--- a/languages/cpp/app_templates/cpphello/cpphello.kdevtemplate
+++ b/languages/cpp/app_templates/cpphello/cpphello.kdevtemplate
@@ -1,68 +1,12 @@
# 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=cpphello.png
-Category=C++
+
Comment=Generates a simple Hello world program in C++
-Comment[ca]=Genera un simple programa de Hello world en C++
-Comment[da]=Genererer et simpelt Goddag verden program in C++
-Comment[de]=Erstellt ein einfaches "Hello World"-Programm in C++
-Comment[el]=Δημιουργεί ένα απλό πρόγραμμα Γεια σου Κόσμε σε C++
-Comment[es]=Genera un sencillo programa «Hola mundo» en C++
-Comment[et]=Lihtsa "Tere, maailm" programmi loomine C++-s
-Comment[eu]="Kaixo mundua" programa sinple bat sortzen du C++ lengoaian
-Comment[fa]=یک برنامۀ سادۀ Hello world در C++ تولید می‌کند
-Comment[fr]=Génère un programme « Bonjour monde » simple en C++
-Comment[ga]=Cruthaíonn sé seo ríomhchlár simplí "Hello World" i C++
-Comment[gl]=Xera un programa sinxelo Ola mundo en C++
-Comment[hu]=Létrehoz egy egyszerű Hello world programot C++-ban
-Comment[it]=Genera un semplice programma di "Hello world" in C++
-Comment[ja]=簡単な Hello World プログラムを C++ で作成します
-Comment[nds]=Stellt en eenfach "Moin Welt"-Programm in C++ op
-Comment[ne]=C++ मा एउटा साधारण हेल्लो वोल्ड कार्यक्रम उत्पन्न गर्दछ
-Comment[nl]=Genereert een eenvoudig Hello World-programma in C++
-Comment[pl]=Generuje prosty program 'Witaj świecie' w języku C++
-Comment[pt]=Gera um programa simples Olá Mundo em C++
-Comment[pt_BR]=Gera um programa simples Olá Mundo em C++
-Comment[ru]=Создание простого приложения Hello world на C++
-Comment[sk]=Vygeneruje jednoduchý "Ahoj svet" program v C++
-Comment[sl]=Ustvari preprost program Hello world v C++
-Comment[sr]=Прави једноставан „Здраво свете“ програм у C++-у
-Comment[sr@Latn]=Pravi jednostavan „Zdravo svete“ program u C++-u
-Comment[sv]=Skapar ett enkelt Hello world-program i C++
-Comment[tr]=C++'da basit bir Merhaba Dünya programı yaratır.
-Comment[zh_CN]=生成 C++ 的 Hello world 程序
-Comment[zh_TW]=產生一個簡單的 C++ 的 Hello world 程式
+
+Category=C++
+
+Icon=cpphello.png
FileTemplates=h,CStyle,cpp,CStyle
ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp
Archive=cpphello.tar.gz
@@ -113,33 +57,3 @@ Dest=%{dest}/src/%{APPNAMELC}.cpp
[MSG]
Type=message
Comment=A Simple Hello World program was created in %{dest}
-Comment[ca]=Un simple programa de Hello World ha estat creat en %{dest}
-Comment[da]=Et simpelt Goddag verden program blev oprettet i %{dest}
-Comment[de]=Ein einfaches "Hello World"-Programm wurde in %{dest} erstellt.
-Comment[el]=Ένα απλό πρόγραμμα Γεια σου Κόσμε δημιουργήθηκε στο %{dest}
-Comment[es]=Un sencillo programa «Hola mundo» ha sido creado en %{dest}
-Comment[et]=Lihtne "Tere, maailm" programm 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 a été créé dans %{dest}
-Comment[ga]=Cruthaíodh ríomhchlár simplí "Hello World" i %{dest}
-Comment[gl]=Creouse un programa sinxelo Ola mundo en %{dest}
-Comment[hu]=Létrejött egy egyszerű Hello world program itt: %{dest}
-Comment[it]=È stato creato un semplice programma di "Hello World" in %{dest}
-Comment[ja]=簡単な Hello World プログラムを %{dest} に作成しました
-Comment[nds]=In %{dest} wöör en eenfach "Moin Welt"-Programm opstellt
-Comment[ne]=एउटा साधारण हेल्लो वोल्ड कार्यक्रम %{dest} मा सिर्जना गरियो
-Comment[nl]=Een eenvoudig Hello World-programma is aangemaakt in %{dest}
-Comment[pl]=Prosty program 'Witaj świecie' został utworzony w %{dest}
-Comment[pt]=Foi criado um programa simples Olá Mundo em %{dest}
-Comment[pt_BR]=Foi criado um programa simples Olá Mundo em %{dest}
-Comment[ru]=Простое приложение Hello world на C++ создано в %{dest}
-Comment[sk]=Jednoduchý "Ahoj svet" program bol vytvorený v %{dest}
-Comment[sl]=Preprost program Hello World je bil ustvarjen v %{dest}
-Comment[sr]=Једноставан „Здраво свете“ програм направљен је у %{dest}
-Comment[sr@Latn]=Jednostavan „Zdravo svete“ program napravljen je u %{dest}
-Comment[sv]=Ett enkelt Hello world-program skapades i %{dest}
-Comment[tr]=Basit bir Merhaba Dünya programı %{dest} içinde yaratılmıştır.
-Comment[zh_CN]=在 %{dest} 中创建了 Hello world 程序
-Comment[zh_TW]=一個簡單的 Hello World 程式已建立於 %{dest}
-