MVP #141

Merged
flixcoo merged 705 commits from development into main 2026-01-09 12:55:50 +00:00
5 changed files with 35 additions and 18 deletions
Showing only changes of commit 8afba5680b - Show all commits

View File

@@ -15,12 +15,12 @@
"selected_players": "Ausgewählte Spieler: {count}", "selected_players": "Ausgewählte Spieler: {count}",
"no_players_selected": "Keine Spieler ausgewählt", "no_players_selected": "Keine Spieler ausgewählt",
"all_players": "Alle Spieler:", "all_players": "Alle Spieler:",
"successfully_added_player": "Spieler {playerName} erfolgreich hinzugefügt.", "successfully_added_player": "Spieler {playerName} erfolgreich hinzugefügt",
"could_not_add_player": "Spieler {playerName} konnte nicht hinzugefügt werden.", "could_not_add_player": "Spieler {playerName} konnte nicht hinzugefügt werden",
"winner": "Gewinner: {winnerName}", "winner": "Gewinner: {winnerName}",
"players": "Spieler", "players": "Spieler",
"player_name": "Spielername", "player_name": "Spielername",
"no_data_available": "Keine Daten verfügbar.", "no_statistics_available": "Keine Statistiken verfügbar",
"matches": "Matches", "matches": "Matches",
"groups": "Gruppen", "groups": "Gruppen",
"recent_matches": "Letzte Matches", "recent_matches": "Letzte Matches",
@@ -78,5 +78,6 @@
"most_points": "Höchste Punkte", "most_points": "Höchste Punkte",
"least_points": "Niedrigste Punkte", "least_points": "Niedrigste Punkte",
"search_for_players": "Nach Spielern suchen", "search_for_players": "Nach Spielern suchen",
"search_for_groups": "Nach Gruppen suchen" "search_for_groups": "Nach Gruppen suchen",
"no_data_available": "Keine Daten verfügbar"
} }

View File

@@ -66,7 +66,7 @@
"@all_players": { "@all_players": {
"description": "Label for all players list" "description": "Label for all players list"
}, },
"successfully_added_player": "Successfully added player {playerName}.", "successfully_added_player": "Successfully added player {playerName}",
"@successfully_added_player": { "@successfully_added_player": {
"description": "Success message when adding a player", "description": "Success message when adding a player",
"placeholders": { "placeholders": {
@@ -76,7 +76,7 @@
} }
} }
}, },
"could_not_add_player": "Could not add player {playerName}.", "could_not_add_player": "Could not add player {playerName}",
"@could_not_add_player": { "@could_not_add_player": {
"description": "Error message when adding a player fails", "description": "Error message when adding a player fails",
"placeholders": { "placeholders": {
@@ -100,9 +100,13 @@
"@players": { "@players": {
"description": "Players label" "description": "Players label"
}, },
"no_data_available": "No data available.", "no_statistics_available": "No statistics available",
"@no_statistics_available": {
"description": "Message when no statistics are available, because no matches were played yet"
},
"no_data_available": "No data available",
"@no_data_available": { "@no_data_available": {
"description": "Message when no data is available" "description": "Message when no data in the statistic tiles is given"
}, },
"matches": "Matches", "matches": "Matches",
"@matches": { "@matches": {

View File

@@ -191,13 +191,13 @@ abstract class AppLocalizations {
/// Success message when adding a player /// Success message when adding a player
/// ///
/// In en, this message translates to: /// In en, this message translates to:
/// **'Successfully added player {playerName}.'** /// **'Successfully added player {playerName}'**
String successfully_added_player(String playerName); String successfully_added_player(String playerName);
/// Error message when adding a player fails /// Error message when adding a player fails
/// ///
/// In en, this message translates to: /// In en, this message translates to:
/// **'Could not add player {playerName}.'** /// **'Could not add player {playerName}'**
String could_not_add_player(String playerName); String could_not_add_player(String playerName);
/// Shows the winner's name /// Shows the winner's name
@@ -212,10 +212,16 @@ abstract class AppLocalizations {
/// **'Players'** /// **'Players'**
String get players; String get players;
/// Message when no data is available /// Message when no statistics are available, because no matches were played yet
/// ///
/// In en, this message translates to: /// In en, this message translates to:
/// **'No data available.'** /// **'No statistics available'**
String get no_statistics_available;
/// Message when no data in the statistic tiles is given
///
/// In en, this message translates to:
/// **'No data available'**
String get no_data_available; String get no_data_available;
/// Label for matches /// Label for matches

View File

@@ -63,12 +63,12 @@ class AppLocalizationsDe extends AppLocalizations {
@override @override
String successfully_added_player(String playerName) { String successfully_added_player(String playerName) {
return 'Spieler $playerName erfolgreich hinzugefügt.'; return 'Spieler $playerName erfolgreich hinzugefügt';
} }
@override @override
String could_not_add_player(String playerName) { String could_not_add_player(String playerName) {
return 'Spieler $playerName konnte nicht hinzugefügt werden.'; return 'Spieler $playerName konnte nicht hinzugefügt werden';
} }
@override @override
@@ -80,7 +80,10 @@ class AppLocalizationsDe extends AppLocalizations {
String get players => 'Spieler'; String get players => 'Spieler';
@override @override
String get no_data_available => 'Keine Daten verfügbar.'; String get no_statistics_available => 'Keine Statistiken verfügbar';
@override
String get no_data_available => 'Keine Daten verfügbar';
@override @override
String get matches => 'Matches'; String get matches => 'Matches';

View File

@@ -63,12 +63,12 @@ class AppLocalizationsEn extends AppLocalizations {
@override @override
String successfully_added_player(String playerName) { String successfully_added_player(String playerName) {
return 'Successfully added player $playerName.'; return 'Successfully added player $playerName';
} }
@override @override
String could_not_add_player(String playerName) { String could_not_add_player(String playerName) {
return 'Could not add player $playerName.'; return 'Could not add player $playerName';
} }
@override @override
@@ -80,7 +80,10 @@ class AppLocalizationsEn extends AppLocalizations {
String get players => 'Players'; String get players => 'Players';
@override @override
String get no_data_available => 'No data available.'; String get no_statistics_available => 'No statistics available';
@override
String get no_data_available => 'No data available';
@override @override
String get matches => 'Matches'; String get matches => 'Matches';