Updated strings

This commit is contained in:
2025-07-20 23:33:55 +02:00
parent 36aad89952
commit 2bb9d82bfc
2 changed files with 2 additions and 8 deletions

View File

@@ -97,7 +97,7 @@
}, },
"end_of_game_title": "End of Game", "end_of_game_title": "End of Game",
"end_of_game_message": "{playerCount, plural, =1{{names} won the game with {points} points. Congratulations!} other{{names} won the game with {points} points. Congratulations!}}", "end_of_game_message": "{names} won the game with {points} points. Congratulations!",
"@end_of_game_message": { "@end_of_game_message": {
"placeholders": { "placeholders": {
"playerCount": { "playerCount": {

View File

@@ -210,13 +210,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override @override
String end_of_game_message(int playerCount, String names, int points) { String end_of_game_message(int playerCount, String names, int points) {
String _temp0 = intl.Intl.pluralLogic( return '$names won the game with $points points. Congratulations!';
playerCount,
locale: localeName,
other: '$names won the game with $points points. Congratulations!',
one: '$names won the game with $points points. Congratulations!',
);
return '$_temp0';
} }
@override @override