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/cpp/app_templates/cppcurseshello | |
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/cpp/app_templates/cppcurseshello')
3 files changed, 16 insertions, 96 deletions
diff --git a/languages/cpp/app_templates/cppcurseshello/CMakeLists.txt b/languages/cpp/app_templates/cppcurseshello/CMakeLists.txt index 5441989e..b9a28a24 100644 --- a/languages/cpp/app_templates/cppcurseshello/CMakeLists.txt +++ b/languages/cpp/app_templates/cppcurseshello/CMakeLists.txt @@ -21,6 +21,9 @@ install( FILES DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) -install( FILES - cppcurseshello.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) +tde_create_translated_desktop( + SOURCE cppcurseshello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates + KEYWORDS Category + PO_DIR tdevelop-desktops +) diff --git a/languages/cpp/app_templates/cppcurseshello/cppcurseshello b/languages/cpp/app_templates/cppcurseshello/cppcurseshello index 3f8229fe..14fb5d79 100644 --- a/languages/cpp/app_templates/cppcurseshello/cppcurseshello +++ b/languages/cpp/app_templates/cppcurseshello/cppcurseshello @@ -1,10 +1,11 @@ # TDE Config File [General] Name=Simple ncurses Hello world program -Name[de]=Einfaches ncurses Hallo-Welt Programm -Icon= -Category=C++ + Comment=Generates a simple ncurses based Hello world program in C++ -Comment[de]=Erstellt ein einfaches Hallo Welt programm f�r C++ basierend auf der ncurses Bibliothek + +Category=C++ + +Icon= FileTemplates=h,CStyle,cpp,CStyle ShowFilesAfterGeneration=src/APPNAMELC.cpp diff --git a/languages/cpp/app_templates/cppcurseshello/cppcurseshello.kdevtemplate b/languages/cpp/app_templates/cppcurseshello/cppcurseshello.kdevtemplate index 7dcd7282..1acbd0d7 100644 --- a/languages/cpp/app_templates/cppcurseshello/cppcurseshello.kdevtemplate +++ b/languages/cpp/app_templates/cppcurseshello/cppcurseshello.kdevtemplate @@ -1,67 +1,12 @@ # TDE Config File [General] Name=Simple ncurses Hello world program -Name[ca]=Simple programa de Hello world per a ncurses -Name[da]=Simpelt ncurses Goddag verden program -Name[de]=Einfaches auf NCurses basierendes "Hello World"-Programm -Name[el]=Απλό ncurses πρόγραμμα Γεια σου κόσμε -Name[es]=Programa «Hola mundo» sencillo en ncurses -Name[et]=Lihtne "Tere, maailm" programm ncurses'i põhjal -Name[eu]=ncurses-en oinarritako "Kaixo mundua" programa sinple bat -Name[fa]=برنامۀ سادۀ ncurses Hello world -Name[fr]=Programme « Bonjour monde » simple en ncurses -Name[ga]=Ríomhchlár simplí "Hello World" le ncurses -Name[gl]=Programa sinxelo ncurses Ola mundo -Name[hu]=Egyszerű, Ncurses-alapú Hello world program -Name[it]=Semplice programma "Hello world" realizzato con ncurses -Name[ja]=ncurses を使った簡単な Hello World プログラム -Name[nds]=Eenfach ncurses-"Moin Welt"-Programm -Name[ne]=साधारण ncurses हेल्लो वोल्ड कार्यक्रम -Name[nl]=Een eenvoudig ncurses Hello World-programma -Name[pl]=Prosty program 'Witaj świecie' używający ncurses -Name[pt]=Programa simples Olá Mundo em ncurses -Name[pt_BR]=Programa simples Olá Mundo em ncurses -Name[ru]=Простое приложение Hello world на ncurses -Name[sk]=Jednoduchý "Ahoj svet" ncurses program -Name[sl]=Preprost program Hello world na osnovi ncurses -Name[sr]=Једноставан „Здраво свете“ програм за ncurses -Name[sr@Latn]=Jednostavan „Zdravo svete“ program za ncurses -Name[sv]=Enkelt ncurses Hello world-program -Name[tr]=Basit ncurses Merhaba Dünya programı -Name[zh_CN]=简单的 ncurses Hello world 程序 -Name[zh_TW]=簡單的 ncurses Hello world 程式 -Icon= -Category=C++ + Comment=Generates a simple ncurses based Hello world program in C++ -Comment[ca]=Genera un simple programa de Hello world en C++ i basat en ncurses -Comment[da]=Genererer et simpelt ncurses baseret Goddag verden program in C++ -Comment[de]=Erstellt ein einfaches, auf NCurses basierendes "Hello World"-Programm in C++ -Comment[el]=Δημιουργεί ένα απλό βασισμένο σε ncurses πρόγραμμα Γεια σου κόσμε σε C++ -Comment[es]=Genera un sencillo programa «Hola mundo» en C++ basado en ncurses -Comment[et]=Lihtsa "Tere, maailm" programmi loomine ncurses'i põhjal C++-s -Comment[eu]=ncurses-en oinarritako "Kaixo mundua" programa sinple bat C++ lengoaian -Comment[fa]=یک برنامۀ سادۀ Hello world در C++ بر مبنای ncurses تولید میکند -Comment[fr]=Génère un programme « Bonjour monde » simple basé sur ncurses en C++ -Comment[ga]=Cruthaíonn sé seo ríomhchlár simplí "Hello World" bunaithe ar ncurses, i C++ -Comment[gl]=Xera un programa sinxelo Ola mundo baseado en ncurses en C++ -Comment[hu]=Létrehoz egy egyszerű, Ncurses-alapú Hello world programot C++-ban -Comment[it]=Genera un semplice programma di "Hello world" in C++ realizzato con ncurses -Comment[ja]=ncurses を使った簡単な Hello World プログラムを C++ で作成します -Comment[nds]=Stellt en eenfach op "ncurses" opbuut "Moin Welt"-Programm in C++ op -Comment[ne]=C++ मा हेल्लो वोल्ड कार्यक्रम आधारित साधारण ncurses उत्पन्न गर्दछ -Comment[nl]=Genereert een eenvoudig ncurses-gebaseerd Hello World-programma in C++ -Comment[pl]=Generuje prosty program 'Witaj świecie' używający ncurses i języka C++. -Comment[pt]=Gera um programa simples Olá Mundo em C++, baseado no 'ncurses' -Comment[pt_BR]=Gera um programa simples Olá Mundo em C++, baseado no 'ncurses' -Comment[ru]=Создание простого приложения Hello world на ncurses и C++ -Comment[sk]=Vygeneruje jednoduchý "Ahoj svet" ncurses program v C++ -Comment[sl]=Ustvari preprost program Hello world na osnovi ncurses v C++ -Comment[sr]=Прави једноставан „Здраво свете“ програм на основу ncurses, у C++-у -Comment[sr@Latn]=Pravi jednostavan „Zdravo svete“ program na osnovu ncurses, u C++-u -Comment[sv]=Skapar ett enkelt ncurses-baserat Hello world-program i C++ -Comment[tr]=C++'da ncurses tabanlı basit bir Merhaba Dünya programı yaratır. -Comment[zh_CN]=生成一个基于 ncurses 的 C++ Hello world 程序 -Comment[zh_TW]=產生一個簡單的用 C++ 語言與 ncurses 函式庫的 Hello world 程式 + +Category=C++ + +Icon= FileTemplates=h,CStyle,cpp,CStyle ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp Archive=cppcurseshello.tar.gz @@ -112,32 +57,3 @@ Dest=%{dest}/src/%{APPNAMELC}.cpp [MSG] Type=message Comment=A simple hello world program using ncurses was created in %{dest} -Comment[ca]=Un simple programa de hello world usant ncurses ha estat creat en %{dest} -Comment[da]=Et simpelt Goddag verden program ved brug af ncurses blev oprettet i %{dest} -Comment[de]=Ein einfaches "Hello World"-Programm unter Verwendung von NCurses wurde in %{dest} erstellt. -Comment[el]=Ένα απλό πρόγραμμα Γεια σου Κόσμε χρησιμοποιώντας το ncurses δημιουργήθηκε στο %{dest} -Comment[es]=Un sencillo programa «Hola mundo» que usa ncurses ha sido creado en %{dest} -Comment[et]=Lihtne "Tere, maailm" programm ncurses'i põhjas loodi asukohta %{dest} -Comment[eu]=ncurses-en oinarritako "Kaixo mundua" programa sinple bat sortu da hemen: %{dest} -Comment[fa]=یک برنامۀ سادۀ hello world با استفاده از ncurses در %{dest} ایجاد شد -Comment[fr]=Un programme « Bonjour monde » simple utilisant ncurses a été créé dans %{dest} -Comment[ga]=Cruthaíodh ríomhchlár simplí "Hello World" le ncurses i %{dest} -Comment[gl]=Creouse un programa sinxelo ola mundo usando ncurses en in %{dest} -Comment[hu]=Létrejött egy egyszerű, Ncurses-alapú Hello world program itt: %{dest} -Comment[it]=È stato creato un programma di "hello world" che usa ncurses in %{dest} -Comment[ja]=ncurses を使った簡単な Hello World プログラムを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en eenfach "Moin Welt"-Programm opstellt, dat "ncurses" bruukt -Comment[ne]=ncurses प्रयोग गरेर एउटा हेल्लो वोल्ड कार्यक्रम %{dest} मा सिर्जना गरियो -Comment[nl]=Een eenvoudig Hallo Wereld-programma gebruikmakend van ncurses is aangemaakt in %{dest} -Comment[pl]=Prosty program 'Witaj świecie' używający ncurses został utworzony w %{dest} -Comment[pt]=Foi criado um programa simples Olá Mundo que usa o ncurses em %{dest} -Comment[pt_BR]=Foi criado um programa simples Olá Mundo que usa o ncurses em %{dest} -Comment[ru]=Простое приложение Hello world на ncurses создано в %{dest} -Comment[sk]=Jednoduchý "Ahoj svet" ncurses program bol vytvorený v %{dest} -Comment[sl]=Preprost program Hello world na osnovi ncurses je bil ustvarjen v %{dest} -Comment[sr]=Једноставан „Здраво свете“ на основу ncurses направљен је у %{dest} -Comment[sr@Latn]=Jednostavan „Zdravo svete“ na osnovu ncurses napravljen je u %{dest} -Comment[sv]=Ett enkelt Hello world-program som använder ncurses skapades i %{dest} -Comment[tr]=ncurses kullanan basit bir merhaba dünya programı %{dest} içinde yaratılmıştır. -Comment[zh_CN]=在 %{dest} 中创建了一个使用 ncurses 的 hello world 程序 -Comment[zh_TW]=一個簡單的使用 ncurses 函式庫的 hello world 程式已建立在 %{dest} |