Add logout confirmation localization string
- Add logoutConfirmation key to English and German ARB files - Update settings page to use localized string instead of hardcoded text - Regenerate localization files
This commit is contained in:
parent
cc45831b59
commit
093ba2a24a
@ -207,7 +207,7 @@ class SettingsPage extends StatelessWidget {
|
||||
context: context,
|
||||
builder: (dialogContext) => AlertDialog(
|
||||
title: Text(l10n.logout),
|
||||
content: Text('Are you sure you want to logout?'),
|
||||
content: Text(l10n.logoutConfirmation),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(dialogContext),
|
||||
|
||||
@ -77,5 +77,6 @@
|
||||
"uploadTasksQuestion": "Möchten Sie Ihre lokalen Aufgaben auf den Server hochladen?",
|
||||
"yes": "Ja",
|
||||
"no": "Nein",
|
||||
"backToSetup": "Zurück zur Einrichtung"
|
||||
"backToSetup": "Zurück zur Einrichtung",
|
||||
"logoutConfirmation": "Möchten Sie sich wirklich abmelden?"
|
||||
}
|
||||
|
||||
@ -77,5 +77,6 @@
|
||||
"uploadTasksQuestion": "Would you like to upload your local tasks to the server?",
|
||||
"yes": "Yes",
|
||||
"no": "No",
|
||||
"backToSetup": "Back to Setup"
|
||||
"backToSetup": "Back to Setup",
|
||||
"logoutConfirmation": "Are you sure you want to logout?"
|
||||
}
|
||||
|
||||
@ -565,6 +565,12 @@ abstract class AppLocalizations {
|
||||
/// In en, this message translates to:
|
||||
/// **'Back to Setup'**
|
||||
String get backToSetup;
|
||||
|
||||
/// No description provided for @logoutConfirmation.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Are you sure you want to logout?'**
|
||||
String get logoutConfirmation;
|
||||
}
|
||||
|
||||
class _AppLocalizationsDelegate
|
||||
|
||||
@ -248,4 +248,7 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get backToSetup => 'Zurück zur Einrichtung';
|
||||
|
||||
@override
|
||||
String get logoutConfirmation => 'Möchten Sie sich wirklich abmelden?';
|
||||
}
|
||||
|
||||
@ -246,4 +246,7 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get backToSetup => 'Back to Setup';
|
||||
|
||||
@override
|
||||
String get logoutConfirmation => 'Are you sure you want to logout?';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user