Refactoring

This commit is contained in:
2025-07-19 15:07:09 +02:00
parent 4bc3f65c71
commit 61d10d7164
9 changed files with 17 additions and 17 deletions

View File

@@ -101,8 +101,8 @@
"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.",
"table": "Punkteübersicht",
"game_process": "Spielverlauf",
"point_overview": "Punkteübersicht",
"scoring_history": "Spielverlauf",
"empty_graph_text": "Du musst mindestens eine Runde spielen, damit der Graph des Spielverlaufes angezeigt werden kann.",
"settings": "Einstellungen",

View File

@@ -102,8 +102,8 @@
"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.",
"table": "Point Overview",
"game_process": "Scoring History",
"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.",
"settings": "Settings",

View File

@@ -477,17 +477,17 @@ 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 @table.
/// No description provided for @point_overview.
///
/// In de, this message translates to:
/// **'Punkteübersicht'**
String get table;
String get point_overview;
/// No description provided for @game_process.
/// No description provided for @scoring_history.
///
/// In de, this message translates to:
/// **'Spielverlauf'**
String get game_process;
String get scoring_history;
/// No description provided for @empty_graph_text.
///

View File

@@ -222,10 +222,10 @@ class AppLocalizationsDe extends AppLocalizations {
'Möchtest du das Spiel beenden? Das Spiel wird als beendet markiert und kann nicht fortgeführt werden.';
@override
String get table => 'Punkteübersicht';
String get point_overview => 'Punkteübersicht';
@override
String get game_process => 'Spielverlauf';
String get scoring_history => 'Spielverlauf';
@override
String get empty_graph_text =>

View File

@@ -220,10 +220,10 @@ class AppLocalizationsEn extends AppLocalizations {
'Do you want to end the game? The game gets marked as finished and cannot be continued.';
@override
String get table => 'Point Overview';
String get point_overview => 'Point Overview';
@override
String get game_process => 'Scoring History';
String get scoring_history => 'Scoring History';
@override
String get empty_graph_text =>

View File

@@ -126,7 +126,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
children: [
CupertinoListTile(
title: Text(
AppLocalizations.of(context).game_process,
AppLocalizations.of(context).scoring_history,
),
backgroundColorActivated:
CustomTheme.backgroundColor,
@@ -138,7 +138,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
)))),
CupertinoListTile(
title: Text(
AppLocalizations.of(context).table,
AppLocalizations.of(context).point_overview,
),
backgroundColorActivated:
CustomTheme.backgroundColor,

View File

@@ -27,7 +27,7 @@ class _GraphViewState extends State<GraphView> {
Widget build(BuildContext context) {
return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
middle: Text(AppLocalizations.of(context).game_process),
middle: Text(AppLocalizations.of(context).scoring_history),
previousPageTitle: AppLocalizations.of(context).back,
),
child: widget.gameSession.roundNumber > 1

View File

@@ -18,7 +18,7 @@ class _PointOverviewViewState extends State<PointOverviewView> {
Widget build(BuildContext context) {
return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
middle: Text(AppLocalizations.of(context).table),
middle: Text(AppLocalizations.of(context).point_overview),
previousPageTitle: AppLocalizations.of(context).back,
),
child: SingleChildScrollView(

View File

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