summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qt4makeapp
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/cpp/app_templates/qt4makeapp
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/cpp/app_templates/qt4makeapp')
-rw-r--r--languages/cpp/app_templates/qt4makeapp/CMakeLists.txt9
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp10
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevtemplate117
3 files changed, 18 insertions, 118 deletions
diff --git a/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt b/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt
index 3e450733..94056b6f 100644
--- a/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt
+++ b/languages/cpp/app_templates/qt4makeapp/CMakeLists.txt
@@ -23,6 +23,9 @@ install( FILES
DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
-install( FILES
- qt4makeapp.kdevtemplate
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates )
+tde_create_translated_desktop(
+ SOURCE qt4makeapp.kdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates
+ KEYWORDS Category
+ PO_DIR tdevelop-desktops
+)
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp b/languages/cpp/app_templates/qt4makeapp/qt4makeapp
index 9c856e8e..2d69a161 100644
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp
+++ b/languages/cpp/app_templates/qt4makeapp/qt4makeapp
@@ -1,11 +1,11 @@
# QMake application
[General]
Name=Qt4/QMake Application
-Name[fr]=Une Application Qt4 / QMake
-Icon=qt4makeapp.png
-Category=C++/QMake project
-Category[fr]=C++/QMake
+
Comment=Generate a QMake/Qt4 based application (crossplatform compatible)- Needs Qt4
-Comment[fr]=G��e une application bas� sur Qt / QMake. Ce programme est multi platte-forme. Nécessite Qt4.
+
+Category=C++/QMake project
+
+Icon=qt4makeapp.png
FileTemplates=h,CStyle,cpp,CStyle
ShowFilesAfterGeneration=src/APPNAMELC.cpp
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevtemplate b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevtemplate
index 3bbadff1..c1c0fb90 100644
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevtemplate
+++ b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.kdevtemplate
@@ -1,52 +1,12 @@
# TDE Config File
[General]
Name=Qt4 Application
-Name[br]=Meziant Qt4
-Name[ca]=Aplicació Qt4
-Name[da]=Qt4-Program
-Name[de]=Qt4-Anwendung
-Name[el]=Εφαρμογή Qt4
-Name[es]=Aplicación Qt4
-Name[et]=Qt4 rakendus
-Name[fr]=Application Qt4
-Name[hu]=Qt4-alapú alkalmazás
-Name[it]=Applicazione Qt4
-Name[ja]=Qt4 アプリケーション
-Name[nds]=Qt4-Programm
-Name[nl]=Qt4-toepassing
-Name[pl]=Program Qt4
-Name[pt]=Aplicação do Qt4
-Name[pt_BR]=Aplicação do Qt4
-Name[ru]=Приложение Qt 4
-Name[sk]=Qt4 aplikácia
-Name[sr]=Qt4 програм
-Name[sr@Latn]=Qt4 program
-Name[sv]=Qt4-program
-Name[zh_TW]=Qt4 應用程式
-Icon=qt4makeapp.png
-Category=C++/QMake project
-Category[fr]=C++/QMake
+
Comment=Generate a QMake/Qt4 based application (crossplatform compatible) - Needs Qt4
-Comment[ca]=Genera una aplicació basada en QMake/Qt4 (multi plataforma) -Necessita Qt4-
-Comment[da]=Generér et QMake/Qt4 baseret program (krydsplatform kompatibel) - behøver Qt4
-Comment[de]=Erstellt eine auf QMake/Qt4 basierende Anwendung (plattformunabhängig). - Benötigt Qt4.
-Comment[el]=Δημιουργία μια εφαρμογής βασισμένης στα QMake/Qt4 (συμβατή με πολλαπλές πλατφόρμες)
-Comment[es]=Genera una aplicación basada en QMake/Qt4 (con compatibilidad multiplataforma) - Necesita Qt4
-Comment[et]=Rakenduse loomine QMake'i/Qt4 põhjal (multiplatvormne)
-Comment[fr]=Génère une application basée sur QMake / Qt4 (compatible multi-plateforme) - Nécessite Qt4
-Comment[hu]=Létrehoz egy QMake/Qt4-alapú, keresztfordításra is alkalmas alkalmazást - Qt4-et igényel
-Comment[it]=Genera un'applicazione basata su QMake/Qt4 (compatibile multipiattaforma) - serve Qt4
-Comment[nds]=Stellt en op QMake un Qt4 opbuut Programm op (över Bedriefümgeven weg kompatibel) - Qt4 deit noot
-Comment[nl]=Genereer een Qmake/Qt4-gebaseerde toepassing (crossplatform compatible) - heeft Qt4 nodig
-Comment[pl]=Generuje program używający QMake i Qt4 (wieloplatformowy) - wymaga biblioteki Qt4
-Comment[pt]=Gera uma aplicação baseada no QMake/Qt4 (compatível com várias plataformas) - Necessita do Qt4
-Comment[pt_BR]=Gera uma aplicação baseada no QMake/Qt4 (compatível com várias plataformas) - Necessita do Qt4
-Comment[ru]=Создание кроссплатформенного приложения Qt 4, использующего QMake
-Comment[sk]=Vygeneruje aplikáciu založenú na QMake/Qt4 (multiplatformovo kompatibilnú) - vyžaduje Qt4
-Comment[sr]=Прави програм на основи QMake/Qt4 (прекоплатформски компатибилан) — захтева Qt4
-Comment[sr@Latn]=Pravi program na osnovi QMake/Qt4 (prekoplatformski kompatibilan) — zahteva Qt4
-Comment[sv]=Skapar ett QMake/Qt4-baserat program (fungerar på andra plattformar). Kräver Qt4.
-Comment[zh_TW]=產生一個 QMake/Qt4 為基礎的應用程式(跨平台相容)─需要 Qt4
+
+Category=C++/QMake project
+
+Icon=qt4makeapp.png
FileTemplates=h,CStyle,cpp,CStyle
ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp,%{dest}/src/ReadMe
Archive=qt4makeapp.tar.gz
@@ -128,80 +88,17 @@ Dest=%{dest}/src/ReadMe
[MSG]
Type=message
Comment=A Qt4/Qmake based application was created in %{dest}
-Comment[ca]=Una aplicació basada en Qt4/Qmake ha estat creada en %{dest}
-Comment[da]=Et Qt4/Qmake baseret program blev oprettet i %{dest}
-Comment[de]=Eine auf QMake/Qt4 basierende Anwendung wurde in %{dest} erstellt.
-Comment[el]=Μια εφαρμογή βασισμένη στα Qt4/Qmake δημιουργήθηκε στο %{dest}
-Comment[es]=Una aplicación basada en Qt4/Qmake ha sido creada en %{dest}
-Comment[et]=Rakendus Qt4/QMake'i põhjal loodi asukohta %{dest}
-Comment[fr]=Une application basée sur Qt4 / Qmake a été créée dans %{dest}
-Comment[hu]=Létrejött egy Qt4/Qmake-alapú alkalmazás itt: %{dest}
-Comment[it]=È stata creata un'applicazione basata su Qt4/Qmake in %{dest}
-Comment[ja]=Qt4/QMake ベースのアプリケーションを %{dest} に作成しました
-Comment[nds]=In %{dest} wöör en op Qt4 un Qmake opbuut Programm opstellt
-Comment[nl]=Een Qt4/Qmake gebaseerde toepassing is aangemaakt in %{dest}
-Comment[pl]=Program używający QMake i Qt4 został utworzony w %{dest}
-Comment[pt]=Foi criada uma aplicação baseada no Qt4/Qmake em %{dest}
-Comment[pt_BR]=Foi criada uma aplicação baseada no Qt4/Qmake em %{dest}
-Comment[ru]=Приложение Qt 4, использующее Qmake, создано в %{dest}
-Comment[sk]=Aplikácia založená na Qt4/Qmake bola vytvorená v %{dest}
-Comment[sr]=Програм на основу Qt4/Qmake направљен је у %{dest}
-Comment[sr@Latn]=Program na osnovu Qt4/Qmake napravljen je u %{dest}
-Comment[sv]=Ett QMake/Qt4-baserat program skapades i %{dest}
-Comment[zh_TW]=一個 QMake/Qt4 為基礎的應用程式已建立於 %{dest}
-
-Comment=
+
[QMAKE]
Type=value
ValueType=QString
Value=QMAKE
Comment=Absolute Path for QMake (Qt4).
-Comment[ca]=Ruta absoluta per a QMake (Qt4).
-Comment[da]=Absolut søgesti til QMake (Qt4).
-Comment[de]=Absoluter Pfad für QMake (Qt4).
-Comment[el]=Απόλυτη διαδρομή για το QMake (Qt4).
-Comment[es]=Ruta completa para QMake (Qt4).
-Comment[et]=QMake (Qt4) absoluutne asukoht.
-Comment[fr]=Chemin absolu pour QMake (Qt4).
-Comment[hu]=A QMake (Qt4) teljes elérési útja.
-Comment[it]=Percorso assoluto per QMake (Qt4).
-Comment[ja]=QMake (Qt4) の絶対パス
-Comment[nds]=Afsluut Padd för QMake (Qt4)
-Comment[nl]=Absoluut pad naar QMake (Qt4).
-Comment[pl]=Ścieżka bezwzględna do QMake (Qt4).
-Comment[pt]=Localização Absoluta do QMake (Qt4).
-Comment[pt_BR]=Localização Absoluta do QMake (Qt4).
-Comment[ru]=Полный путь к QMake (Qt 4).
-Comment[sk]=Absolútna cesta ku QMake (Qt4).
-Comment[sr]=Апсолутна путања до QMake-а (Qt4).
-Comment[sr@Latn]=Apsolutna putanja do QMake-a (Qt4).
-Comment[sv]=Absolut sökväg till QMake (Qt4).
-Comment[zh_TW]=QMake(Qt4)的絕對路徑
Default=
+
[DESIGNER]
Type=value
ValueType=QString
Value=DESIGNER
Comment=Absolute Path for Designer (Qt4).
-Comment[ca]=Ruta absoluta per a Designer (Qt4).
-Comment[da]=Absolut søgesti til Designer (Qt4).
-Comment[de]=Absoluter Pfad für Designer (Qt4).
-Comment[el]=Απόλυτη διαδρομή για τον Σχεδιαστή (Qt4).
-Comment[es]=Ruta completa para Designer (Qt4).
-Comment[et]=Disaineri (Qt4) absoluutne asukoht.
-Comment[fr]=Chemin absolu pour Designer (Qt4).
-Comment[hu]=A Designer (Qt4) teljes elérési útja
-Comment[it]=Percorso assoluto del Designer (Qt4).
-Comment[ja]=Designer (Qt4) の絶対パス
-Comment[nds]=Afsluut Padd för Designer (Qt4)
-Comment[nl]=Absoluut pad naar Designer (Qt4).
-Comment[pl]=Ścieżka bezwzględna do Designera (Qt4).
-Comment[pt]=Localização Absoluta do Designer (Qt4).
-Comment[pt_BR]=Localização Absoluta do Designer (Qt4).
-Comment[ru]=Полный путь к Designer (Qt 4).
-Comment[sk]=Absolútna cesta ku Designer (Qt4).
-Comment[sr]=Апсолутна путања до Designer-а (Qt4).
-Comment[sr@Latn]=Apsolutna putanja do Designer-a (Qt4).
-Comment[sv]=Absolut sökväg till Designer (Qt4).
-Comment[zh_TW]=設計家(Qt4)的絕對路徑
Default=