Updated strings

This commit is contained in:
2025-07-10 17:42:05 +02:00
parent 7b787a6a4f
commit d5d318929e
7 changed files with 65 additions and 5 deletions

View File

@@ -30,6 +30,11 @@
} }
} }
}, },
"rating_title": "Gefällt dir die App?",
"rating_message": "Feedback hilft mir, die App zu verbessern. Vielen Dank!",
"yes": "Ja",
"no": "Nein",
"overview": "Übersicht", "overview": "Übersicht",
"new_game": "Neues Spiel", "new_game": "Neues Spiel",
"game_title": "Titel des Spiels", "game_title": "Titel des Spiels",

View File

@@ -30,6 +30,11 @@
} }
} }
}, },
"rating_title": "Do you like the app?",
"rating_message": "Feedback helps me to continuously improve the app. Thank you!",
"yes": "Yes",
"no": "No",
"overview": "Overview", "overview": "Overview",
"new_game": "New Game", "new_game": "New Game",
"game_title": "Game Title", "game_title": "Game Title",

View File

@@ -218,6 +218,30 @@ abstract class AppLocalizations {
/// **'Bist du sicher, dass du das Spiel \"{gameTitle}\" löschen möchtest? Diese Aktion kann nicht rückgängig gemacht werden.'** /// **'Bist du sicher, dass du das Spiel \"{gameTitle}\" löschen möchtest? Diese Aktion kann nicht rückgängig gemacht werden.'**
String delete_game_message(String gameTitle); String delete_game_message(String gameTitle);
/// No description provided for @rating_title.
///
/// In de, this message translates to:
/// **'Gefällt dir die App?'**
String get rating_title;
/// No description provided for @rating_message.
///
/// In de, this message translates to:
/// **'Feedback hilft mir, die App zu verbessern. Vielen Dank!'**
String get rating_message;
/// No description provided for @yes.
///
/// In de, this message translates to:
/// **'Ja'**
String get yes;
/// No description provided for @no.
///
/// In de, this message translates to:
/// **'Nein'**
String get no;
/// No description provided for @overview. /// No description provided for @overview.
/// ///
/// In de, this message translates to: /// In de, this message translates to:

View File

@@ -71,6 +71,19 @@ class AppLocalizationsDe extends AppLocalizations {
return 'Bist du sicher, dass du das Spiel \"$gameTitle\" löschen möchtest? Diese Aktion kann nicht rückgängig gemacht werden.'; return 'Bist du sicher, dass du das Spiel \"$gameTitle\" löschen möchtest? Diese Aktion kann nicht rückgängig gemacht werden.';
} }
@override
String get rating_title => 'Gefällt dir die App?';
@override
String get rating_message =>
'Feedback hilft mir, die App zu verbessern. Vielen Dank!';
@override
String get yes => 'Ja';
@override
String get no => 'Nein';
@override @override
String get overview => 'Übersicht'; String get overview => 'Übersicht';

View File

@@ -71,6 +71,19 @@ class AppLocalizationsEn extends AppLocalizations {
return 'Are you sure you want to delete the game \"$gameTitle\"? This action cannot be undone.'; return 'Are you sure you want to delete the game \"$gameTitle\"? This action cannot be undone.';
} }
@override
String get rating_title => 'Do you like the app?';
@override
String get rating_message =>
'Feedback helps me to continuously improve the app. Thank you!';
@override
String get yes => 'Yes';
@override
String get no => 'No';
@override @override
String get overview => 'Overview'; String get overview => 'Overview';

View File

@@ -260,17 +260,17 @@ class _MainMenuViewState extends State<MainMenuView> {
context: context, context: context,
builder: (BuildContext context) { builder: (BuildContext context) {
return CupertinoAlertDialog( return CupertinoAlertDialog(
title: const Text('Gefällt dir die App?'), title: Text(AppLocalizations.of(context).rating_title),
content: const Text('Dein Feedback hilft uns weiter.'), content: Text(AppLocalizations.of(context).rating_message),
actions: <CupertinoDialogAction>[ actions: <CupertinoDialogAction>[
CupertinoDialogAction( CupertinoDialogAction(
child: const Text('Ja'), child: Text(AppLocalizations.of(context).yes),
onPressed: () { onPressed: () {
Navigator.of(context).pop(RATING_DIALOG_YES); Navigator.of(context).pop(RATING_DIALOG_YES);
}, },
), ),
CupertinoDialogAction( CupertinoDialogAction(
child: const Text('Nein'), child: Text(AppLocalizations.of(context).no),
onPressed: () { onPressed: () {
Navigator.of(context).pop(RATING_DIALOG_NO); Navigator.of(context).pop(RATING_DIALOG_NO);
}, },

View File

@@ -2,7 +2,7 @@ name: cabo_counter
description: "Mobile app for the card game Cabo" description: "Mobile app for the card game Cabo"
publish_to: 'none' publish_to: 'none'
version: 0.4.0+443 version: 0.4.0+451
environment: environment:
sdk: ^3.5.4 sdk: ^3.5.4