Updated strings

This commit is contained in:
2025-07-20 23:48:26 +02:00
parent 1e40b41e26
commit d7eeec5626
3 changed files with 10 additions and 3 deletions

View File

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

View File

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

View File

@@ -2,7 +2,7 @@ name: cabo_counter
description: "Mobile app for the card game Cabo"
publish_to: 'none'
version: 0.5.2+582
version: 0.5.2+583
environment:
sdk: ^3.5.4