Updated page titles

This commit is contained in:
2025-08-17 20:23:41 +02:00
parent ca12471e0e
commit e0d7a231c9
14 changed files with 45 additions and 14 deletions

View File

@@ -10,6 +10,8 @@
"delete": "Löschen", "delete": "Löschen",
"cancel": "Abbrechen", "cancel": "Abbrechen",
"game": "Spiel", "game": "Spiel",
"games": "Spiele",
"gamemode": "Spielmodus",
"ok": "OK", "ok": "OK",
"player": "Spieler:in", "player": "Spieler:in",
"players": "Spieler:innen", "players": "Spieler:innen",
@@ -126,7 +128,7 @@
"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", "statistics": "Statistiken",
"point_overview": "Punkteübersicht", "point_overview": "Punktetabelle",
"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.",

View File

@@ -10,6 +10,8 @@
"delete": "Delete", "delete": "Delete",
"cancel": "Cancel", "cancel": "Cancel",
"game": "Game", "game": "Game",
"games": "Games",
"gamemode": "Gamemode",
"ok": "OK", "ok": "OK",
"player": "Player", "player": "Player",
"players": "Players", "players": "Players",
@@ -40,7 +42,7 @@
"yes": "Yes", "yes": "Yes",
"no": "No", "no": "No",
"bad_rating_title": "Not satisfied?", "bad_rating_title": "Not satisfied?",
"bad_rating_message": "If you are not satisfied with the app, please let me know before leaving a bad rating. I will try to fix the issue as soon as possible.", "bad_rating_message": "Feel free to send me an email directly so we can solve your problem!",
"contact_email": "Contact via E-Mail", "contact_email": "Contact via E-Mail",
"email_subject": "Feedback: Cabo Counter App", "email_subject": "Feedback: Cabo Counter App",
"email_body": "I have the following feedback...", "email_body": "I have the following feedback...",

View File

@@ -152,6 +152,18 @@ abstract class AppLocalizations {
/// **'Spiel'** /// **'Spiel'**
String get game; String get game;
/// No description provided for @games.
///
/// In de, this message translates to:
/// **'Spiele'**
String get games;
/// No description provided for @gamemode.
///
/// In de, this message translates to:
/// **'Spielmodus'**
String get gamemode;
/// No description provided for @ok. /// No description provided for @ok.
/// ///
/// In de, this message translates to: /// In de, this message translates to:
@@ -546,7 +558,7 @@ abstract class AppLocalizations {
/// No description provided for @point_overview. /// No description provided for @point_overview.
/// ///
/// In de, this message translates to: /// In de, this message translates to:
/// **'Punkteübersicht'** /// **'Punktetabelle'**
String get point_overview; String get point_overview;
/// No description provided for @scoring_history. /// No description provided for @scoring_history.

View File

@@ -35,6 +35,12 @@ class AppLocalizationsDe extends AppLocalizations {
@override @override
String get game => 'Spiel'; String get game => 'Spiel';
@override
String get games => 'Spiele';
@override
String get gamemode => 'Spielmodus';
@override @override
String get ok => 'OK'; String get ok => 'OK';
@@ -265,7 +271,7 @@ class AppLocalizationsDe extends AppLocalizations {
String get statistics => 'Statistiken'; String get statistics => 'Statistiken';
@override @override
String get point_overview => 'Punkteübersicht'; String get point_overview => 'Punktetabelle';
@override @override
String get scoring_history => 'Spielverlauf'; String get scoring_history => 'Spielverlauf';

View File

@@ -35,6 +35,12 @@ class AppLocalizationsEn extends AppLocalizations {
@override @override
String get game => 'Game'; String get game => 'Game';
@override
String get games => 'Games';
@override
String get gamemode => 'Gamemode';
@override @override
String get ok => 'OK'; String get ok => 'OK';
@@ -101,7 +107,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override @override
String get bad_rating_message => String get bad_rating_message =>
'If you are not satisfied with the app, please let me know before leaving a bad rating. I will try to fix the issue as soon as possible.'; 'Feel free to send me an email directly so we can solve your problem!';
@override @override
String get contact_email => 'Contact via E-Mail'; String get contact_email => 'Contact via E-Mail';

View File

@@ -17,6 +17,7 @@ class LicenseDetailView extends StatelessWidget {
middle: Text( middle: Text(
AppLocalizations.of(context).license_details, AppLocalizations.of(context).license_details,
), ),
previousPageTitle: AppLocalizations.of(context).licenses,
), ),
child: SafeArea( child: SafeArea(
child: SingleChildScrollView( child: SingleChildScrollView(

View File

@@ -16,6 +16,7 @@ class LicenseView extends StatelessWidget {
return CupertinoPageScaffold( return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar( navigationBar: CupertinoNavigationBar(
middle: Text(AppLocalizations.of(context).licenses), middle: Text(AppLocalizations.of(context).licenses),
previousPageTitle: AppLocalizations.of(context).about,
), ),
child: SafeArea( child: SafeArea(
child: ListView.builder( child: ListView.builder(

View File

@@ -57,10 +57,8 @@ class _ActiveGameViewState extends State<ActiveGameView> {
gameSession.playerScores, sortedPlayerIndices); gameSession.playerScores, sortedPlayerIndices);
return CupertinoPageScaffold( return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar( navigationBar: CupertinoNavigationBar(
middle: Text( previousPageTitle: AppLocalizations.of(context).games,
gameSession.gameTitle, middle: Text(AppLocalizations.of(context).overview),
overflow: TextOverflow.ellipsis,
),
), ),
child: SafeArea( child: SafeArea(
child: SingleChildScrollView( child: SingleChildScrollView(

View File

@@ -28,7 +28,7 @@ class _GraphViewState extends State<GraphView> {
return CupertinoPageScaffold( return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar( navigationBar: CupertinoNavigationBar(
middle: Text(AppLocalizations.of(context).scoring_history), middle: Text(AppLocalizations.of(context).scoring_history),
previousPageTitle: AppLocalizations.of(context).back, previousPageTitle: AppLocalizations.of(context).overview,
), ),
child: SafeArea( child: SafeArea(
child: Visibility( child: Visibility(

View File

@@ -18,7 +18,9 @@ class ModeSelectionMenu extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return CupertinoPageScaffold( return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar( navigationBar: CupertinoNavigationBar(
middle: Text(AppLocalizations.of(context).select_game_mode), middle: Text(AppLocalizations.of(context).gamemode),
previousPageTitle:
!showDeselection ? AppLocalizations.of(context).new_game : '',
), ),
child: ListView( child: ListView(
children: [ children: [

View File

@@ -19,7 +19,7 @@ class _PointsViewState extends State<PointsView> {
return CupertinoPageScaffold( return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar( navigationBar: CupertinoNavigationBar(
middle: Text(AppLocalizations.of(context).point_overview), middle: Text(AppLocalizations.of(context).point_overview),
previousPageTitle: AppLocalizations.of(context).back, previousPageTitle: AppLocalizations.of(context).overview,
), ),
child: SafeArea(child: LayoutBuilder(builder: (context, constraints) { child: SafeArea(child: LayoutBuilder(builder: (context, constraints) {
const double caboFieldWidthFactor = 0.2; const double caboFieldWidthFactor = 0.2;

View File

@@ -80,7 +80,7 @@ class _CreateGameViewState extends State<CreateGameView> {
return CupertinoPageScaffold( return CupertinoPageScaffold(
resizeToAvoidBottomInset: false, resizeToAvoidBottomInset: false,
navigationBar: CupertinoNavigationBar( navigationBar: CupertinoNavigationBar(
previousPageTitle: AppLocalizations.of(context).overview, previousPageTitle: AppLocalizations.of(context).games,
middle: Text(AppLocalizations.of(context).new_game), middle: Text(AppLocalizations.of(context).new_game),
), ),
child: SafeArea( child: SafeArea(

View File

@@ -75,7 +75,7 @@ class _MainMenuViewState extends State<MainMenuView> {
}); });
}, },
icon: const Icon(CupertinoIcons.settings, size: 30)), icon: const Icon(CupertinoIcons.settings, size: 30)),
middle: Text(AppLocalizations.of(context).app_name), middle: Text(AppLocalizations.of(context).games),
trailing: IconButton( trailing: IconButton(
onPressed: () => Navigator.push( onPressed: () => Navigator.push(
context, context,

View File

@@ -32,6 +32,7 @@ class _SettingsViewState extends State<SettingsView> {
return CupertinoPageScaffold( return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar( navigationBar: CupertinoNavigationBar(
middle: Text(AppLocalizations.of(context).settings), middle: Text(AppLocalizations.of(context).settings),
previousPageTitle: AppLocalizations.of(context).games,
), ),
child: SafeArea( child: SafeArea(
child: SingleChildScrollView( child: SingleChildScrollView(