Moved new views to statistics section
This commit is contained in:
@@ -101,6 +101,7 @@
|
|||||||
"end_game_title": "Spiel beenden?",
|
"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.",
|
"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",
|
"point_overview": "Punkteübersicht",
|
||||||
"scoring_history": "Spielverlauf",
|
"scoring_history": "Spielverlauf",
|
||||||
"empty_graph_text": "Du musst mindestens eine Runde spielen, damit der Graph des Spielverlaufes angezeigt werden kann.",
|
"empty_graph_text": "Du musst mindestens eine Runde spielen, damit der Graph des Spielverlaufes angezeigt werden kann.",
|
||||||
|
|||||||
@@ -102,6 +102,7 @@
|
|||||||
"end_game_title": "End the game?",
|
"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.",
|
"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",
|
"point_overview": "Point Overview",
|
||||||
"scoring_history": "Scoring History",
|
"scoring_history": "Scoring History",
|
||||||
"empty_graph_text": "You must play at least one round for the game progress graph to be displayed.",
|
"empty_graph_text": "You must play at least one round for the game progress graph to be displayed.",
|
||||||
|
|||||||
@@ -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.'**
|
/// **'Möchtest du das Spiel beenden? Das Spiel wird als beendet markiert und kann nicht fortgeführt werden.'**
|
||||||
String get end_game_message;
|
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.
|
/// No description provided for @point_overview.
|
||||||
///
|
///
|
||||||
/// In de, this message translates to:
|
/// In de, this message translates to:
|
||||||
|
|||||||
@@ -221,6 +221,9 @@ class AppLocalizationsDe extends AppLocalizations {
|
|||||||
String get end_game_message =>
|
String get end_game_message =>
|
||||||
'Möchtest du das Spiel beenden? Das Spiel wird als beendet markiert und kann nicht fortgeführt werden.';
|
'Möchtest du das Spiel beenden? Das Spiel wird als beendet markiert und kann nicht fortgeführt werden.';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get statistics => 'Statistiken';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get point_overview => 'Punkteübersicht';
|
String get point_overview => 'Punkteübersicht';
|
||||||
|
|
||||||
|
|||||||
@@ -219,6 +219,9 @@ class AppLocalizationsEn extends AppLocalizations {
|
|||||||
String get end_game_message =>
|
String get end_game_message =>
|
||||||
'Do you want to end the game? The game gets marked as finished and cannot be continued.';
|
'Do you want to end the game? The game gets marked as finished and cannot be continued.';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get statistics => 'Statistics';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get point_overview => 'Point Overview';
|
String get point_overview => 'Point Overview';
|
||||||
|
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
|
|||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
|
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
|
||||||
child: Text(
|
child: Text(
|
||||||
AppLocalizations.of(context).game,
|
AppLocalizations.of(context).statistics,
|
||||||
style: CustomTheme.rowTitle,
|
style: CustomTheme.rowTitle,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -148,6 +148,17 @@ class _ActiveGameViewState extends State<ActiveGameView> {
|
|||||||
builder: (_) => PointOverviewView(
|
builder: (_) => PointOverviewView(
|
||||||
gameSession: gameSession,
|
gameSession: gameSession,
|
||||||
)))),
|
)))),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
|
||||||
|
child: Text(
|
||||||
|
AppLocalizations.of(context).game,
|
||||||
|
style: CustomTheme.rowTitle,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Column(
|
||||||
|
children: [
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: !gameSession.isPointsLimitEnabled,
|
visible: !gameSession.isPointsLimitEnabled,
|
||||||
child: CupertinoListTile(
|
child: CupertinoListTile(
|
||||||
|
|||||||
Reference in New Issue
Block a user