Added function for point label

This commit is contained in:
2026-04-21 17:19:01 +02:00
parent ddf32797aa
commit 1363c1fb06

View File

@@ -43,3 +43,11 @@ String getExtraPlayerCount(Match match) {
}
return ' + ${count.toString()}';
}
String getPointLabel(AppLocalizations loc, int points) {
if (points == 1) {
return '$points ${loc.point}';
} else {
return '$points ${loc.points}';
}
}