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/fortran | |
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/fortran')
8 files changed, 43 insertions, 259 deletions
diff --git a/languages/fortran/CMakeLists.txt b/languages/fortran/CMakeLists.txt index 507795aa..a41a6672 100644 --- a/languages/fortran/CMakeLists.txt +++ b/languages/fortran/CMakeLists.txt @@ -31,7 +31,12 @@ link_directories( ##### other data ################################ -install( FILES kdevfortransupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kdevfortransupport.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) + install( FILES kdevfortransupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfortransupport ) 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} diff --git a/languages/fortran/compiler/pgioptions/CMakeLists.txt b/languages/fortran/compiler/pgioptions/CMakeLists.txt index 2111f2ad..871b6441 100644 --- a/languages/fortran/compiler/pgioptions/CMakeLists.txt +++ b/languages/fortran/compiler/pgioptions/CMakeLists.txt @@ -24,9 +24,11 @@ link_directories( ##### other data ################################ -install( FILES - kdevpghpfoptions.desktop kdevpgf77options.desktop - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kdevpghpfoptions.desktop kdevpgf77options.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libkdevpgioptions (module) ################ diff --git a/languages/fortran/compiler/pgioptions/kdevpgf77options.desktop b/languages/fortran/compiler/pgioptions/kdevpgf77options.desktop index fdeae733..ccdf74e5 100644 --- a/languages/fortran/compiler/pgioptions/kdevpgf77options.desktop +++ b/languages/fortran/compiler/pgioptions/kdevpgf77options.desktop @@ -1,51 +1,10 @@ [Desktop Entry] +Name=Pgf77Options + +Comment=Portland Group Fortran77 Compiler + Type=Service Exec=pgf77 -Comment=Portland Group Fortran77 Compiler -Comment[br]=Dastumer Fortran 77 ar strollad Portland -Comment[ca]=Compilador Fortran 77 de Portland Group -Comment[da]=Portland Group Fortran77 oversætter -Comment[el]=Μεταγλωττιστής Fortran77 ομάδας Portland -Comment[es]=Compilador de Fortran 77 de Portland Group -Comment[et]=Portland Group Fortran77 kompilaator -Comment[eu]=Portland Group Fortran77 konpiladorea -Comment[fa]=مترجم فرترن ۷۷ گروه Portland -Comment[fr]=Compilateur Fortran77 du Portland Group -Comment[gl]=Compilador de Fortran77 de Portland Group -Comment[hi]=पोर्टलैंड समूह फ़ोरट्रॉन77 कम्पायलर -Comment[hu]=Portland Group Fortran 77 fordítóprogram -Comment[is]=Portland Group Fortran77 þýðandi -Comment[it]=Compilatore per Portland Group Fortran77 -Comment[ja]=Portland グループ Fortran77 コンパイラ -Comment[nds]=Portland Group-Fortran77-Kompilerer -Comment[ne]=पोर्टल्यान्ड समूह फोर्ट्रान ७७ कम्पाइलर -Comment[nl]=Portland Group Fortran77-compiler -Comment[pl]=Kompilator Portland Group Fortran77 -Comment[pt]=Compilador de Fortran77 do Portland Group -Comment[pt_BR]=Compilador Portland Group Fortran77 -Comment[ru]=Компилятор Portland Group Fortran77 -Comment[sk]=Portland Group Fortran77 kompilátor -Comment[sl]=Prevajalnik za Portland Group Fortran77 -Comment[sr]=Преводилац Fortran-а 77 од Portland Group-а -Comment[sr@Latn]=Prevodilac Fortran-a 77 od Portland Group-a -Comment[sv]=Portland gruppens Fortran 77-kompilator -Comment[ta]=பொர்ட்லான்ட் குழு பொர்ட்ரான் 77 தொகுப்பி -Comment[tg]=Талфифгари Portland Group Fortran77 -Comment[tr]=Portland Grubu Fortran 77 Derleyicisi -Comment[zh_CN]=Portland Group Fortran77 编译器 -Comment[zh_TW]=Portland Group Fortran 77 編譯器 -Name=Pgf77Options -Name[da]=Portland Group Fortran77 indstillinger -Name[de]=Pgf77-Einstellungen (TDevelop) -Name[hi]=पीजीएफ़77विकल्प -Name[nds]=Pgf77-Instellen (TDevelop) -Name[pl]=Opcje Pgf77 -Name[sk]=Pgf77 možnosti -Name[sl]=Možnosti Pgf77 -Name[sv]=Alternativ för pgf77 -Name[ta]=Pgf77 விருப்பங்கள் -Name[tg]=Pgf77Интихобҳо -Name[zh_TW]=Pgf77 選項 X-TDE-ServiceTypes=TDevelop/CompilerOptions X-TDE-Library=libkdevpgioptions X-TDevelop-Version=5 diff --git a/languages/fortran/compiler/pgioptions/kdevpghpfoptions.desktop b/languages/fortran/compiler/pgioptions/kdevpghpfoptions.desktop index a0430178..84cd5f50 100644 --- a/languages/fortran/compiler/pgioptions/kdevpghpfoptions.desktop +++ b/languages/fortran/compiler/pgioptions/kdevpghpfoptions.desktop @@ -1,48 +1,10 @@ [Desktop Entry] +Name=PghpfOptions + +Comment=Portland Group High Performance Fortran compiler + Type=Service Exec=pghpf -Comment=Portland Group High Performance Fortran compiler -Comment[ca]=Compilador Fortran d'altes prestacions de Portland Group -Comment[da]=Portland Group Fortran oversætter -Comment[de]=Portland Group High Performance Fortran Compiler -Comment[el]=Μεταγλωττιστής υψηλής ταχύτητας Fortran της ομάδας Portland -Comment[es]=Compilador de Fortran de alto rendimiento de Portland Group -Comment[et]=Portland Groupi suure jõudlusega Fortrani kompilaator -Comment[eu]=Portland Group-en errendimendu handiko Fortran konpiladorea -Comment[fa]=مترجم فرترن با کارایی بالای گروه Portland -Comment[fr]=Compilateur Fortran hautes performances du Portland Group -Comment[gl]=Compilador de High Performance Fortran de Portland Group -Comment[hi]=पोर्टलैंड समूह उच्च परफ़ार्मेंस फ़ोरट्रॉन कम्पायलर -Comment[hu]=Portland Group nagyteljesítményű Fortran fordítóprogram -Comment[it]=Compilatore ad alte prestazioni per Fortran del Portland Group -Comment[ja]=Portland グループ ハイパフォーマンス Fortran コンパイラ -Comment[nds]=Portland Group-Hoochleistenkompilerer för Fortran -Comment[ne]=पोर्टल्यान्ड समूह उच्च कार्यसम्पादन फोर्ट्रान कम्पाइलर -Comment[nl]=Portland Group High Performance Fortran-compiler -Comment[pl]=Kompilator Portland Group High Performance Fortran -Comment[pt]=Compilador Portland Group High Performance Fortran -Comment[pt_BR]=Compilador Portland Group Alta Performance -Comment[ru]=Компилятор Portland Group High Performance Fortran -Comment[sk]=Portland Group vysoko výkonný Fortran kompilátor -Comment[sr]=Преводилац Fortran-а високих перформанси, из Portland Group-а -Comment[sr@Latn]=Prevodilac Fortran-a visokih performansi, iz Portland Group-a -Comment[sv]=Portland gruppens högprestanda Fortran 77-kompilator -Comment[ta]=பொர்ட்லான்ட் குழு உயர் செயல்பாடு பொர்ட்ரான் தொகுப்பி -Comment[tg]=Талфифгари Portland Group High Performance Fortran -Comment[tr]=Portland Grubu Yüksek Başarımlı Fortran Derleyicisi -Comment[zh_CN]=Portland Group 高性能 Fortran 编译器 -Comment[zh_TW]=Portland Group 高效能 Fortran 編譯器 -Name=PghpfOptions -Name[da]=Portland Group oversætter-indstillinger -Name[de]=Pghpf-Einstellungen (TDevelop) -Name[hi]=पीजीएचपीएफ़-विकल्प -Name[nds]=Pghpf-Optschonen -Name[pl]=Opcje Pghpf -Name[sk]=Pghpf možnosti -Name[sv]=Alternativ för pghpf -Name[ta]=Pghpf விருப்பங்கள் -Name[tg]=PghpfИнтихобҳо -Name[zh_TW]=Pghpf 選項 X-TDE-ServiceTypes=TDevelop/CompilerOptions X-TDE-Library=libkdevpgioptions X-TDevelop-Version=5 diff --git a/languages/fortran/kdevfortransupport.desktop b/languages/fortran/kdevfortransupport.desktop index 38f3f4e6..140a8f89 100644 --- a/languages/fortran/kdevfortransupport.desktop +++ b/languages/fortran/kdevfortransupport.desktop @@ -1,79 +1,12 @@ [Desktop Entry] -Type=Service -Exec=blubb -Comment=Fortran 77 Support -Comment[ca]=Suport per a Fortran 77 -Comment[da]=Fortran 77 understøttelse -Comment[de]=Unterstützung für Fortran 77 für TDevelop -Comment[el]=Υποστήριξη Fortran 77 -Comment[es]=Soporte para Fortran 77 -Comment[et]=Fortran 77 toetus -Comment[eu]=Fortran 77 euskarria -Comment[fa]=پشتیبانی فرترن ۷۷ -Comment[fr]=Prise en charge du langage Fortran77 -Comment[ga]=Tacaíocht Fortran 77 -Comment[gl]=Soporte para Fortran 77 -Comment[hi]=फ़ोरट्रॉन 77 समर्थन -Comment[hu]=Fortran 77-támogatás -Comment[is]=Fortran 77 stuðningur -Comment[it]=Supporto per Fortran 77 -Comment[ja]=Fortran 77 サポート -Comment[nds]=Ünnerstütten för Fortran 77 -Comment[ne]=फोर्ट्रान ७७ समर्थन -Comment[nl]=Ondersteuning voor Fortran 77 -Comment[pl]=Obsługa Fortrana 77 -Comment[pt]=Suporte a Fortran 77 -Comment[pt_BR]=Suporte ao Fortran 77 -Comment[ru]=Поддержка языка Fortran 77 -Comment[sk]=Fortran 77 podpora -Comment[sl]=Podpora za Fortran 77 -Comment[sr]=Подршка за Fortran 77 -Comment[sr@Latn]=Podrška za Fortran 77 -Comment[sv]=Fortran 77-stöd -Comment[ta]=பொர்ட்ரான் 77 ஆதரவு -Comment[tg]=Ёрӣ намудани забони 77 Support -Comment[tr]=Fortran 77 Desteği -Comment[zh_CN]=Fortran 77 支持 -Comment[zh_TW]=Fortran 77 支援 Name=KDevFortranSupport -Name[da]=TDevelop Fortran77 understøttelse -Name[nds]=Fortran-Ünnerstütten för TDevelop -Name[pl]=KDevObsługaFortrana -Name[sk]=KDev Fortran podpora -Name[sv]=TDevelop Fortran-stöd -Name[zh_TW]=TDevelop Fortran 支援 + GenericName=Fortran 77 Support -GenericName[ca]=Suport per a Fortran 77 -GenericName[da]=Fortran 77 understøttelse -GenericName[de]=Unterstützung für Fortran 77 -GenericName[el]=Υποστήριξη Fortran 77 -GenericName[es]=Soporte para Fortran 77 -GenericName[et]=Fortran 77 toetus -GenericName[eu]=Fortran 77 euskarria -GenericName[fa]=پشتیبانی فرترن ۷۷ -GenericName[fr]=Prise en charge du langage Fortran 77 -GenericName[ga]=Tacaíocht Fortran 77 -GenericName[gl]=Soporte para Fortran 77 -GenericName[hi]=फ़ोरट्रॉन 77 समर्थन -GenericName[hu]=Fortran 77-támogatás -GenericName[it]=Supporto Fortran 77 -GenericName[ja]=Fortran 77 サポート -GenericName[nds]=Ünnerstütten för Fortran-77 -GenericName[ne]=फोर्ट्रान ७७ समर्थन -GenericName[nl]=Ondersteuning voor Fortran 77 -GenericName[pl]=Obsługa Fortrana 77 -GenericName[pt]=Suporte a Fortran 77 -GenericName[pt_BR]=Suporte ao Fortran 77 -GenericName[ru]=Поддержка языка Fortran 77 -GenericName[sk]=Fortran 77 podpora -GenericName[sl]=Podpora za Fortran 77 -GenericName[sr]=Подршка за Fortran 77 -GenericName[sr@Latn]=Podrška za Fortran 77 -GenericName[sv]=Fortran 77-stöd -GenericName[tg]=Ёрӣ намудани забони 77 Support -GenericName[tr]=Fortran 77 Desteği -GenericName[zh_CN]=Fortran 77 支持 -GenericName[zh_TW]=Fortran 77 支援 + +Comment=Fortran 77 Support + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/LanguageSupport X-TDE-Library=libkdevfortransupport X-TDevelop-Version=5 |