4 Commits

Author SHA1 Message Date
f22595e678 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
2026-01-01 18:44:43 +01:00
25fe10eb9a added missing square bracket 2026-01-01 18:44:28 +01:00
5a318f9760 Merge remote-tracking branch 'origin/feature/100-lokalisierung-hinzufügen' into feature/100-lokalisierung-hinzufügen 2026-01-01 18:44:03 +01:00
0051990168 Remove auto_localize dependency from pubspec.yaml 2026-01-01 18:43:06 +01:00
8 changed files with 21 additions and 4 deletions

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

@@ -222,6 +222,7 @@ class _HomeViewState extends State<HomeView> {
], ],
), ),
), ),
],
), ),
), ),
); );

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(

View File

@@ -27,7 +27,6 @@ dependencies:
intl: any intl: any
flutter_localizations: flutter_localizations:
sdk: flutter sdk: flutter
auto_localize: ^0.0.5
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: