MVP #141

Merged
flixcoo merged 705 commits from development into main 2026-01-09 12:55:50 +00:00
6 changed files with 20 additions and 3 deletions
Showing only changes of commit f22595e678 - Show all commits

View File

@@ -55,7 +55,8 @@
"game": "Spiel", "game": "Spiel",
"ruleset": "Regelwerk", "ruleset": "Regelwerk",
"group": "Gruppe", "group": "Gruppe",
"none": "Keine", "none": "Kein",
"none_group": "Keine",
"create_match": "Match erstellen", "create_match": "Match erstellen",
"no_players_created_yet": "Noch keine Spieler erstellt", "no_players_created_yet": "Noch keine Spieler erstellt",
"all_players_selected": "Alle Spieler ausgewählt", "all_players_selected": "Alle Spieler ausgewählt",

View File

@@ -256,6 +256,10 @@
"@none": { "@none": {
"description": "None option label" "description": "None option label"
}, },
"none_group": "None",
"@none_group": {
"description": "None group option label"
},
"create_match": "Create match", "create_match": "Create match",
"@create_match": { "@create_match": {
"description": "Button text to create a match" "description": "Button text to create a match"

View File

@@ -446,6 +446,12 @@ abstract class AppLocalizations {
/// **'None'** /// **'None'**
String get none; String get none;
/// None group option label
///
/// In en, this message translates to:
/// **'None'**
String get none_group;
/// Button text to create a match /// Button text to create a match
/// ///
/// In en, this message translates to: /// In en, this message translates to:

View File

@@ -195,7 +195,10 @@ class AppLocalizationsDe extends AppLocalizations {
String get group => 'Gruppe'; String get group => 'Gruppe';
@override @override
String get none => 'Keine'; String get none => 'Kein';
@override
String get none_group => 'Keine';
@override @override
String get create_match => 'Match erstellen'; String get create_match => 'Match erstellen';

View File

@@ -196,6 +196,9 @@ class AppLocalizationsEn extends AppLocalizations {
@override @override
String get none => 'None'; String get none => 'None';
@override
String get none_group => 'None';
@override @override
String get create_match => 'Create match'; String get create_match => 'Create match';

View File

@@ -187,7 +187,7 @@ class _CreateMatchViewState extends State<CreateMatchView> {
ChooseTile( ChooseTile(
title: AppLocalizations.of(context)!.group, title: AppLocalizations.of(context)!.group,
trailingText: selectedGroup == null trailingText: selectedGroup == null
? AppLocalizations.of(context)!.none ? AppLocalizations.of(context)!.none_group
: selectedGroup!.name, : selectedGroup!.name,
onPressed: () async { onPressed: () async {
selectedGroup = await Navigator.of(context).push( selectedGroup = await Navigator.of(context).push(