Added pluralization

This commit is contained in:
Shisuys 2025-01-12 15:52:02 -03:00
parent 3fe77f4961
commit b03c69b185
2 changed files with 3 additions and 2 deletions

View File

@ -284,7 +284,8 @@
"quit": "Fechar" "quit": "Fechar"
}, },
"game_card": { "game_card": {
"available": "Disponível", "available_one": "Disponível",
"available_other": "Disponíveis",
"no_downloads": "Sem downloads disponíveis" "no_downloads": "Sem downloads disponíveis"
}, },
"binary_not_found_modal": { "binary_not_found_modal": {

View File

@ -82,7 +82,7 @@ export function GameCard({ game, ...props }: GameCardProps) {
))} ))}
{remainingCount > 0 && ( {remainingCount > 0 && (
<Badge> <Badge>
+{remainingCount} {t("available")} +{remainingCount} {t("game_card:available", { count: remainingCount })}
</Badge> </Badge>
)} )}
</> </>