change winner localization to not include placeholder
This commit is contained in:
@@ -90,15 +90,9 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"winner": "Winner: {winnerName}",
|
||||
"winner": "Winner",
|
||||
"@winner": {
|
||||
"description": "Shows the winner's name",
|
||||
"placeholders": {
|
||||
"winnerName": {
|
||||
"type": "String",
|
||||
"example": "John"
|
||||
}
|
||||
}
|
||||
"description": "Winner label",
|
||||
},
|
||||
"players": "Players",
|
||||
"@players": {
|
||||
|
||||
@@ -99,7 +99,7 @@ class _MatchTileState extends State<MatchTile> {
|
||||
const SizedBox(width: 8),
|
||||
Expanded(
|
||||
child: Text(
|
||||
loc.winner(winner.name),
|
||||
"${loc.winner}: ${winner.name}",
|
||||
style: const TextStyle(
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w600,
|
||||
|
||||
Reference in New Issue
Block a user