Add localization for 'none_group' option in English and German
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m3s
Pull Request Pipeline / lint (pull_request) Successful in 2m9s

This commit is contained in:
2026-01-01 18:44:43 +01:00
parent 25fe10eb9a
commit f22595e678
6 changed files with 20 additions and 3 deletions

View File

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

View File

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

View File

@@ -446,6 +446,12 @@ abstract class AppLocalizations {
/// **'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
///
/// In en, this message translates to:

View File

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

View File

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

View File

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