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_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.",
"table": "Punkteübersicht", "point_overview": "Punkteübersicht",
"game_process": "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.",
"settings": "Einstellungen", "settings": "Einstellungen",

View File

@@ -102,8 +102,8 @@
"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.",
"table": "Point Overview", "point_overview": "Point Overview",
"game_process": "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.",
"settings": "Settings", "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.'** /// **'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 @table. /// No description provided for @point_overview.
/// ///
/// In de, this message translates to: /// In de, this message translates to:
/// **'Punkteübersicht'** /// **'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: /// In de, this message translates to:
/// **'Spielverlauf'** /// **'Spielverlauf'**
String get game_process; String get scoring_history;
/// No description provided for @empty_graph_text. /// 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.'; 'Möchtest du das Spiel beenden? Das Spiel wird als beendet markiert und kann nicht fortgeführt werden.';
@override @override
String get table => 'Punkteübersicht'; String get point_overview => 'Punkteübersicht';
@override @override
String get game_process => 'Spielverlauf'; String get scoring_history => 'Spielverlauf';
@override @override
String get empty_graph_text => 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.'; 'Do you want to end the game? The game gets marked as finished and cannot be continued.';
@override @override
String get table => 'Point Overview'; String get point_overview => 'Point Overview';
@override @override
String get game_process => 'Scoring History'; String get scoring_history => 'Scoring History';
@override @override
String get empty_graph_text => String get empty_graph_text =>

View File

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

View File

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

View File

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

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.7+519 version: 0.4.7+520
environment: environment:
sdk: ^3.5.4 sdk: ^3.5.4