Add localization for 'none_group' option in English and German
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user