From 0e621ba1eff706a3139850ee7b7aabb02b336915 Mon Sep 17 00:00:00 2001 From: Nico Date: Thu, 15 May 2025 19:42:33 +0200 Subject: [PATCH] added localization for excursion steps --- lib/l10n/app_de.arb | 1 + lib/l10n/app_en.arb | 2 ++ lib/l10n/app_localizations.dart | 6 ++++++ lib/l10n/app_localizations_de.dart | 3 +++ lib/l10n/app_localizations_en.dart | 3 +++ lib/screens/excursion/excursion_main.dart | 4 ++-- 6 files changed, 17 insertions(+), 2 deletions(-) diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb index 447ec18..21cb5c0 100644 --- a/lib/l10n/app_de.arb +++ b/lib/l10n/app_de.arb @@ -106,6 +106,7 @@ "test": "Test", "notest": "Kein Test", "dateandtime": "Datum und Zeit", + "umstaendeUndAktionen": "Umstände und Aktionen", "teilnehmer": "Teilnehmer", "dauer": "Dauer hh:mm", "bimaNr": "BIMA Nummer", diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 2e9343c..4f7f8b1 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -519,6 +519,8 @@ "description": "date and time step header" }, + "umstaendeUndAktionen": "circumstances and actions", + "teilnehmer": "Participants", "@teilnehmer": { "description": "teilnehmer text field" diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dart index 53f94b7..aa9b5a9 100644 --- a/lib/l10n/app_localizations.dart +++ b/lib/l10n/app_localizations.dart @@ -743,6 +743,12 @@ abstract class AppLocalizations { /// **'Date and Time'** String get dateandtime; + /// No description provided for @umstaendeUndAktionen. + /// + /// In en, this message translates to: + /// **'circumstances and actions'** + String get umstaendeUndAktionen; + /// teilnehmer text field /// /// In en, this message translates to: diff --git a/lib/l10n/app_localizations_de.dart b/lib/l10n/app_localizations_de.dart index f87d82b..d90dfca 100644 --- a/lib/l10n/app_localizations_de.dart +++ b/lib/l10n/app_localizations_de.dart @@ -332,6 +332,9 @@ class AppLocalizationsDe extends AppLocalizations { @override String get dateandtime => 'Datum und Zeit'; + @override + String get umstaendeUndAktionen => 'Umstände und Aktionen'; + @override String get teilnehmer => 'Teilnehmer'; diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dart index c1166ff..2d58dcb 100644 --- a/lib/l10n/app_localizations_en.dart +++ b/lib/l10n/app_localizations_en.dart @@ -332,6 +332,9 @@ class AppLocalizationsEn extends AppLocalizations { @override String get dateandtime => 'Date and Time'; + @override + String get umstaendeUndAktionen => 'circumstances and actions'; + @override String get teilnehmer => 'Participants'; diff --git a/lib/screens/excursion/excursion_main.dart b/lib/screens/excursion/excursion_main.dart index 5443618..93f519e 100644 --- a/lib/screens/excursion/excursion_main.dart +++ b/lib/screens/excursion/excursion_main.dart @@ -250,7 +250,7 @@ class _ExcursionMainState extends State { ), ), Step( - title: const Text("step2"), + title: Text(AppLocalizations.of(context)!.umstaendeUndAktionen), content: Column( children: [ // ---------- Weather @@ -324,7 +324,7 @@ class _ExcursionMainState extends State { ), ), Step( - title: const Text("step3"), + title: Text(AppLocalizations.of(context)!.intkomm), content: Column( children: [ // ---------- Remarks