Moved new views to statistics section

This commit is contained in:
2025-07-19 15:33:17 +02:00
parent d3374b8b8c
commit 3b29014d29
6 changed files with 26 additions and 1 deletions

View File

@@ -101,6 +101,7 @@
"end_game_title": "Spiel beenden?",
"end_game_message": "Möchtest du das Spiel beenden? Das Spiel wird als beendet markiert und kann nicht fortgeführt werden.",
"statistics": "Statistiken",
"point_overview": "Punkteübersicht",
"scoring_history": "Spielverlauf",
"empty_graph_text": "Du musst mindestens eine Runde spielen, damit der Graph des Spielverlaufes angezeigt werden kann.",

View File

@@ -102,6 +102,7 @@
"end_game_title": "End the game?",
"end_game_message": "Do you want to end the game? The game gets marked as finished and cannot be continued.",
"statistics": "Statistics",
"point_overview": "Point Overview",
"scoring_history": "Scoring History",
"empty_graph_text": "You must play at least one round for the game progress graph to be displayed.",

View File

@@ -477,6 +477,12 @@ abstract class AppLocalizations {
/// **'Möchtest du das Spiel beenden? Das Spiel wird als beendet markiert und kann nicht fortgeführt werden.'**
String get end_game_message;
/// No description provided for @statistics.
///
/// In de, this message translates to:
/// **'Statistiken'**
String get statistics;
/// No description provided for @point_overview.
///
/// In de, this message translates to:

View File

@@ -221,6 +221,9 @@ class AppLocalizationsDe extends AppLocalizations {
String get end_game_message =>
'Möchtest du das Spiel beenden? Das Spiel wird als beendet markiert und kann nicht fortgeführt werden.';
@override
String get statistics => 'Statistiken';
@override
String get point_overview => 'Punkteübersicht';

View File

@@ -219,6 +219,9 @@ class AppLocalizationsEn extends AppLocalizations {
String get end_game_message =>
'Do you want to end the game? The game gets marked as finished and cannot be continued.';
@override
String get statistics => 'Statistics';
@override
String get point_overview => 'Point Overview';

View File

@@ -118,7 +118,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
Padding(
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text(
AppLocalizations.of(context).game,
AppLocalizations.of(context).statistics,
style: CustomTheme.rowTitle,
),
),
@@ -148,6 +148,17 @@ class _ActiveGameViewState extends State<ActiveGameView> {
builder: (_) => PointOverviewView(
gameSession: gameSession,
)))),
],
),
Padding(
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text(
AppLocalizations.of(context).game,
style: CustomTheme.rowTitle,
),
),
Column(
children: [
Visibility(
visible: !gameSession.isPointsLimitEnabled,
child: CupertinoListTile(