From 95ffc4d51d407f0c04c79c615b96d6e760b7eff6 Mon Sep 17 00:00:00 2001 From: m3mo Date: Tue, 3 Feb 2026 14:22:33 +0100 Subject: [PATCH] Add localization strings for setup, onboarding, and mode switching - Add English translations for new screens - Add German translations for new screens - Update generated localization files --- lib/l10n/app_de.arb | 26 +++++- lib/l10n/app_en.arb | 26 +++++- lib/l10n/app_localizations.dart | 144 +++++++++++++++++++++++++++++ lib/l10n/app_localizations_de.dart | 79 ++++++++++++++++ lib/l10n/app_localizations_en.dart | 77 +++++++++++++++ 5 files changed, 350 insertions(+), 2 deletions(-) diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb index 24ed9dd..2a3be11 100644 --- a/lib/l10n/app_de.arb +++ b/lib/l10n/app_de.arb @@ -52,5 +52,29 @@ "alreadyHaveAccount": "Bereits ein Konto?", "loginSuccess": "Erfolgreich angemeldet", "registerSuccess": "Konto erstellt. Bitte melden Sie sich an.", - "welcomeBack": "Willkommen zurück" + "welcomeBack": "Willkommen zurück", + "setupTitle": "Willkommen bei Agenda Tasks", + "setupSubtitle": "Wählen Sie, wie Sie die App nutzen möchten", + "useLocally": "Lokal nutzen", + "useLocallyDesc": "Aufgaben nur auf diesem Gerät speichern. Kein Konto erforderlich.", + "syncOnline": "Online synchronisieren", + "syncOnlineDesc": "Erstellen Sie ein Konto, um geräteübergreifend zu synchronisieren.", + "onboardingTitle1": "Deine Zeit verdient ein System", + "onboardingDesc1": "Agenda Tasks hilft dir, deinen Tag zu priorisieren, zu planen und anzupassen.", + "onboardingTitle2": "Basiert auf bewährten Methoden", + "onboardingDesc2": "Mit der Eisenhower-Methode und ALPEN-Planung für weniger Stress, mehr Klarheit und bessere Entscheidungen.", + "onboardingTitle3": "Bereit zu starten?", + "onboardingDesc3": "Plane deinen Tag, eine Aufgabe nach der anderen.", + "getStarted": "Los geht's", + "skip": "Überspringen", + "next": "Weiter", + "appMode": "App-Modus", + "localMode": "Lokaler Modus", + "onlineMode": "Online-Modus", + "switchToOnline": "Zu Online-Modus wechseln", + "switchToLocal": "Zu lokalem Modus wechseln", + "switchModeWarning": "Der Moduswechsel ändert, wie Ihre Aufgaben gespeichert werden.", + "uploadTasksQuestion": "Möchten Sie Ihre lokalen Aufgaben auf den Server hochladen?", + "yes": "Ja", + "no": "Nein" } diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index c569dfd..087be1c 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -52,5 +52,29 @@ "alreadyHaveAccount": "Already have an account?", "loginSuccess": "Successfully logged in", "registerSuccess": "Account created. Please log in.", - "welcomeBack": "Welcome back" + "welcomeBack": "Welcome back", + "setupTitle": "Welcome to Agenda Tasks", + "setupSubtitle": "Choose how you want to use the app", + "useLocally": "Use Locally", + "useLocallyDesc": "Keep tasks on this device only. No account needed.", + "syncOnline": "Sync Online", + "syncOnlineDesc": "Create an account to sync across devices.", + "onboardingTitle1": "Your time deserves a system", + "onboardingDesc1": "Agenda Tasks helps you prioritize, schedule, and adapt your day with ease.", + "onboardingTitle2": "Built on proven methods", + "onboardingDesc2": "Using the Eisenhower Method and ALPEN planning for less stress, more clarity, and better decisions.", + "onboardingTitle3": "Ready to start?", + "onboardingDesc3": "Plan your day, one task at a time.", + "getStarted": "Get Started", + "skip": "Skip", + "next": "Next", + "appMode": "App Mode", + "localMode": "Local Mode", + "onlineMode": "Online Mode", + "switchToOnline": "Switch to Online Mode", + "switchToLocal": "Switch to Local Mode", + "switchModeWarning": "Switching modes will change how your tasks are stored.", + "uploadTasksQuestion": "Would you like to upload your local tasks to the server?", + "yes": "Yes", + "no": "No" } diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dart index 2714a72..2879684 100644 --- a/lib/l10n/app_localizations.dart +++ b/lib/l10n/app_localizations.dart @@ -415,6 +415,150 @@ abstract class AppLocalizations { /// In en, this message translates to: /// **'Welcome back'** String get welcomeBack; + + /// No description provided for @setupTitle. + /// + /// In en, this message translates to: + /// **'Welcome to Agenda Tasks'** + String get setupTitle; + + /// No description provided for @setupSubtitle. + /// + /// In en, this message translates to: + /// **'Choose how you want to use the app'** + String get setupSubtitle; + + /// No description provided for @useLocally. + /// + /// In en, this message translates to: + /// **'Use Locally'** + String get useLocally; + + /// No description provided for @useLocallyDesc. + /// + /// In en, this message translates to: + /// **'Keep tasks on this device only. No account needed.'** + String get useLocallyDesc; + + /// No description provided for @syncOnline. + /// + /// In en, this message translates to: + /// **'Sync Online'** + String get syncOnline; + + /// No description provided for @syncOnlineDesc. + /// + /// In en, this message translates to: + /// **'Create an account to sync across devices.'** + String get syncOnlineDesc; + + /// No description provided for @onboardingTitle1. + /// + /// In en, this message translates to: + /// **'Your time deserves a system'** + String get onboardingTitle1; + + /// No description provided for @onboardingDesc1. + /// + /// In en, this message translates to: + /// **'Agenda Tasks helps you prioritize, schedule, and adapt your day with ease.'** + String get onboardingDesc1; + + /// No description provided for @onboardingTitle2. + /// + /// In en, this message translates to: + /// **'Built on proven methods'** + String get onboardingTitle2; + + /// No description provided for @onboardingDesc2. + /// + /// In en, this message translates to: + /// **'Using the Eisenhower Method and ALPEN planning for less stress, more clarity, and better decisions.'** + String get onboardingDesc2; + + /// No description provided for @onboardingTitle3. + /// + /// In en, this message translates to: + /// **'Ready to start?'** + String get onboardingTitle3; + + /// No description provided for @onboardingDesc3. + /// + /// In en, this message translates to: + /// **'Plan your day, one task at a time.'** + String get onboardingDesc3; + + /// No description provided for @getStarted. + /// + /// In en, this message translates to: + /// **'Get Started'** + String get getStarted; + + /// No description provided for @skip. + /// + /// In en, this message translates to: + /// **'Skip'** + String get skip; + + /// No description provided for @next. + /// + /// In en, this message translates to: + /// **'Next'** + String get next; + + /// No description provided for @appMode. + /// + /// In en, this message translates to: + /// **'App Mode'** + String get appMode; + + /// No description provided for @localMode. + /// + /// In en, this message translates to: + /// **'Local Mode'** + String get localMode; + + /// No description provided for @onlineMode. + /// + /// In en, this message translates to: + /// **'Online Mode'** + String get onlineMode; + + /// No description provided for @switchToOnline. + /// + /// In en, this message translates to: + /// **'Switch to Online Mode'** + String get switchToOnline; + + /// No description provided for @switchToLocal. + /// + /// In en, this message translates to: + /// **'Switch to Local Mode'** + String get switchToLocal; + + /// No description provided for @switchModeWarning. + /// + /// In en, this message translates to: + /// **'Switching modes will change how your tasks are stored.'** + String get switchModeWarning; + + /// No description provided for @uploadTasksQuestion. + /// + /// In en, this message translates to: + /// **'Would you like to upload your local tasks to the server?'** + String get uploadTasksQuestion; + + /// No description provided for @yes. + /// + /// In en, this message translates to: + /// **'Yes'** + String get yes; + + /// No description provided for @no. + /// + /// In en, this message translates to: + /// **'No'** + String get no; } class _AppLocalizationsDelegate diff --git a/lib/l10n/app_localizations_de.dart b/lib/l10n/app_localizations_de.dart index 9472aec..2ca24eb 100644 --- a/lib/l10n/app_localizations_de.dart +++ b/lib/l10n/app_localizations_de.dart @@ -166,4 +166,83 @@ class AppLocalizationsDe extends AppLocalizations { @override String get welcomeBack => 'Willkommen zurück'; + + @override + String get setupTitle => 'Willkommen bei Agenda Tasks'; + + @override + String get setupSubtitle => 'Wählen Sie, wie Sie die App nutzen möchten'; + + @override + String get useLocally => 'Lokal nutzen'; + + @override + String get useLocallyDesc => + 'Aufgaben nur auf diesem Gerät speichern. Kein Konto erforderlich.'; + + @override + String get syncOnline => 'Online synchronisieren'; + + @override + String get syncOnlineDesc => + 'Erstellen Sie ein Konto, um geräteübergreifend zu synchronisieren.'; + + @override + String get onboardingTitle1 => 'Deine Zeit verdient ein System'; + + @override + String get onboardingDesc1 => + 'Agenda Tasks hilft dir, deinen Tag zu priorisieren, zu planen und anzupassen.'; + + @override + String get onboardingTitle2 => 'Basiert auf bewährten Methoden'; + + @override + String get onboardingDesc2 => + 'Mit der Eisenhower-Methode und ALPEN-Planung für weniger Stress, mehr Klarheit und bessere Entscheidungen.'; + + @override + String get onboardingTitle3 => 'Bereit zu starten?'; + + @override + String get onboardingDesc3 => + 'Plane deinen Tag, eine Aufgabe nach der anderen.'; + + @override + String get getStarted => 'Los geht\'s'; + + @override + String get skip => 'Überspringen'; + + @override + String get next => 'Weiter'; + + @override + String get appMode => 'App-Modus'; + + @override + String get localMode => 'Lokaler Modus'; + + @override + String get onlineMode => 'Online-Modus'; + + @override + String get switchToOnline => 'Zu Online-Modus wechseln'; + + @override + String get switchToLocal => 'Zu lokalem Modus wechseln'; + + @override + String get switchModeWarning => + 'Der Moduswechsel ändert, wie Ihre Aufgaben gespeichert werden.'; + + @override + String get uploadTasksQuestion => + 'Möchten Sie Ihre lokalen Aufgaben auf den Server hochladen?'; + + @override + String get yes => 'Ja'; + + @override + String get no => 'Nein'; } diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dart index 1ba5310..b19caf7 100644 --- a/lib/l10n/app_localizations_en.dart +++ b/lib/l10n/app_localizations_en.dart @@ -166,4 +166,81 @@ class AppLocalizationsEn extends AppLocalizations { @override String get welcomeBack => 'Welcome back'; + + @override + String get setupTitle => 'Welcome to Agenda Tasks'; + + @override + String get setupSubtitle => 'Choose how you want to use the app'; + + @override + String get useLocally => 'Use Locally'; + + @override + String get useLocallyDesc => + 'Keep tasks on this device only. No account needed.'; + + @override + String get syncOnline => 'Sync Online'; + + @override + String get syncOnlineDesc => 'Create an account to sync across devices.'; + + @override + String get onboardingTitle1 => 'Your time deserves a system'; + + @override + String get onboardingDesc1 => + 'Agenda Tasks helps you prioritize, schedule, and adapt your day with ease.'; + + @override + String get onboardingTitle2 => 'Built on proven methods'; + + @override + String get onboardingDesc2 => + 'Using the Eisenhower Method and ALPEN planning for less stress, more clarity, and better decisions.'; + + @override + String get onboardingTitle3 => 'Ready to start?'; + + @override + String get onboardingDesc3 => 'Plan your day, one task at a time.'; + + @override + String get getStarted => 'Get Started'; + + @override + String get skip => 'Skip'; + + @override + String get next => 'Next'; + + @override + String get appMode => 'App Mode'; + + @override + String get localMode => 'Local Mode'; + + @override + String get onlineMode => 'Online Mode'; + + @override + String get switchToOnline => 'Switch to Online Mode'; + + @override + String get switchToLocal => 'Switch to Local Mode'; + + @override + String get switchModeWarning => + 'Switching modes will change how your tasks are stored.'; + + @override + String get uploadTasksQuestion => + 'Would you like to upload your local tasks to the server?'; + + @override + String get yes => 'Yes'; + + @override + String get no => 'No'; }