summaryrefslogtreecommitdiffstats
path: root/languages/java/app_templates/javahello
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/java/app_templates/javahello
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/java/app_templates/javahello')
-rw-r--r--languages/java/app_templates/javahello/CMakeLists.txt9
-rw-r--r--languages/java/app_templates/javahello/javahello10
-rw-r--r--languages/java/app_templates/javahello/javahello.kdevtemplate99
3 files changed, 17 insertions, 101 deletions
diff --git a/languages/java/app_templates/javahello/CMakeLists.txt b/languages/java/app_templates/javahello/CMakeLists.txt
index f1caa5c0..ed845127 100644
--- a/languages/java/app_templates/javahello/CMakeLists.txt
+++ b/languages/java/app_templates/javahello/CMakeLists.txt
@@ -20,6 +20,9 @@ install( FILES
DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
-install( FILES
- javahello.kdevtemplate
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates )
+tde_create_translated_desktop(
+ SOURCE javahello.kdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates
+ KEYWORDS Category
+ PO_DIR tdevelop-desktops
+)
diff --git a/languages/java/app_templates/javahello/javahello b/languages/java/app_templates/javahello/javahello
index a2225ce5..f18f2f68 100644
--- a/languages/java/app_templates/javahello/javahello
+++ b/languages/java/app_templates/javahello/javahello
@@ -1,11 +1,11 @@
# Java application
[General]
Name=Application
-Name[fr]=Une application JAVA / Ant
-Icon=qmakeapp.png
-Category=Java/Ant project
-Category[fr]=Java/Ant
+
Comment=Generate a Java application
-Comment[fr]=Gnre une application dans le language JAVA en utilisant Ant
+
+Category=Java/Ant project
+
+Icon=qmakeapp.png
FileTemplates=java,JavaStyle
ShowFilesAfterGeneration=Main.java
diff --git a/languages/java/app_templates/javahello/javahello.kdevtemplate b/languages/java/app_templates/javahello/javahello.kdevtemplate
index a7427704..53d8a541 100644
--- a/languages/java/app_templates/javahello/javahello.kdevtemplate
+++ b/languages/java/app_templates/javahello/javahello.kdevtemplate
@@ -1,71 +1,12 @@
-# KDE Config File
+# TDE Config File
[General]
Name=Application
-Name[br]=Arload
-Name[ca]=Aplicació
-Name[cy]=Cymhwysiad
-Name[da]=Program
-Name[de]=Anwendung
-Name[el]=Εφαρμογή
-Name[es]=Aplicación
-Name[et]=Rakendus
-Name[eu]=Aplikazioa
-Name[fa]=کاربرد
-Name[ga]=Feidhmchlár
-Name[gl]=Aplicación
-Name[hu]=Alkalmazások
-Name[it]=Applicazione
-Name[ja]=アプリケーション
-Name[lt]=Programa
-Name[ms]=Aplikasi
-Name[nds]=Programm
-Name[ne]=अनुप्रयोग
-Name[nl]=Toepassing
-Name[pl]=Program
-Name[pt]=Aplicação
-Name[pt_BR]=Aplicativo
-Name[ru]=Приложение
-Name[rw]=Porogaramu
-Name[sk]=Aplikácia
-Name[sl]=Program
-Name[sr]=Програм
-Name[sr@Latn]=Program
-Name[sv]=Program
-Name[tr]=Uygulama
-Name[zh_CN]=应用程序
-Name[zh_TW]=應用程式
-Icon=qmakeapp.png
-Category=Java/Ant project
-Category[fr]=Java/Ant
+
Comment=Generate a Java application
-Comment[ca]=Genera una aplicació Java
-Comment[da]=Generér et Java-program
-Comment[de]=Erstellt eine Java-Anwendung
-Comment[el]=Δημιουργία μιας εφαρμογής Java
-Comment[es]=Genera una aplicación en Java
-Comment[et]=Java rakenduse loomine
-Comment[eu]=Sortu Java aplikazio bat
-Comment[fa]=یک کاربرد جاوا تولید می‌کند
-Comment[fr]=Génère une application Java
-Comment[ga]=Cruthaigh feidhmchlár Java
-Comment[gl]=Xera unha aplicación Java
-Comment[hu]=Létrehoz egy Java-alkalmazást
-Comment[it]=Genera un'applicazione Java
-Comment[ja]= Java アプリケーションを作成
-Comment[nds]=Stellt en Java-Programm op
-Comment[ne]=जाभा अनुप्रयोग उत्पन्न गर्नुहोस्
-Comment[nl]=Genereer een Java-toepassing
-Comment[pl]=Generuj program w Javie
-Comment[pt]=Gera uma aplicação em Java
-Comment[pt_BR]=Gera uma aplicação em Java
-Comment[ru]=Создание приложения Java
-Comment[sk]=Vygeneruje Java aplikáciu
-Comment[sr]=Прави Java програм
-Comment[sr@Latn]=Pravi Java program
-Comment[sv]=Skapa ett Java-program
-Comment[tr]=Bir Java uygulaması yarat
-Comment[zh_CN]=生成一个 Java 应用程序
-Comment[zh_TW]=產生 Java 應用程式
+
+Category=Java/Ant project
+
+Icon=qmakeapp.png
FileTemplates=java,JavaStyle
ShowFilesAfterGeneration=%{dest}/Main.java
Archive=javahello.tar.gz
@@ -94,31 +35,3 @@ Dest=%{dest}/build.xml
[msg]
Type=message
Comment=A JAVA application was created in %{dest}
-Comment[ca]=Una aplicació JAVA ha estat creada en %{dest}
-Comment[da]=Et JAVA-program blev oprettet i %{dest}
-Comment[de]=Eine Java-Anwendung wurde in %{dest} erstellt.
-Comment[el]=Μια εφαρμογή JAVA δημιουργήθηκε στο %{dest}
-Comment[es]=Una aplicación en Java ha sido creada en %{dest}
-Comment[et]=Java rakendus loodi asukohta %{dest}
-Comment[eu]=JAVA aplikazio bat sortu da hemen: %{dest}
-Comment[fa]=یک کاربرد جاوا در %{dest} ایجاد شد
-Comment[fr]=Une application Java a été créée dans %{dest}
-Comment[ga]=Cruthaíodh feidhmchlár JAVA i %{dest}
-Comment[gl]=Creouse una aplicación JAVA en %{dest}
-Comment[hu]=Létrejött egy Java-alkalmazás itt: %{dest}
-Comment[it]=È stata creata un'applicazione Java in %{dest}
-Comment[ja]=JAVA アプリケーションを %{dest} に作成しました
-Comment[nds]=In %{dest} wöör en JAVA-Programm opstellt
-Comment[ne]= जाभा अनुप्रयोग %{dest} मा सिर्जना गरियो
-Comment[nl]=Een Java-toepassing is aangemaakt in %{dest}
-Comment[pl]=Program w Javie został utworzony w %{dest}
-Comment[pt]=Foi criada uma aplicação em Java em %{dest}
-Comment[pt_BR]=Foi criada uma aplicação em Java em %{dest}
-Comment[ru]=Приложение Java создано в %{dest}
-Comment[sk]=Java aplikácia bola vytvorená v %{dest}
-Comment[sr]=Java програм је направљен у %{dest}
-Comment[sr@Latn]=Java program je napravljen u %{dest}
-Comment[sv]=Ett Java-program skapades i %{dest}
-Comment[tr]=Bir JAVA uygulaması %{dest} içinde yaratıldı.
-Comment[zh_CN]=在 %{dest} 创建了一个 Java 应用程序
-Comment[zh_TW]=一個 Java 應用程式已建立於 %{dest}