From: Daniel Karbach Date: Thu, 29 Feb 2024 22:47:39 +0000 (+0100) Subject: fix pluralization X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=c7eaba38c74b617fbd03da196e4131e662311cc9;p=alttp.git fix pluralization --- diff --git a/resources/js/components/twitch-bot/GuessingWinner.js b/resources/js/components/twitch-bot/GuessingWinner.js index f7956ba..64ecc96 100644 --- a/resources/js/components/twitch-bot/GuessingWinner.js +++ b/resources/js/components/twitch-bot/GuessingWinner.js @@ -15,7 +15,10 @@ const GuessingWinner = ({ winner }) => {
{winner.uname}
-
{t('twitchBot.guessingGame.winnerScore', { score: winner.score })}
+
{t( + 'twitchBot.guessingGame.winnerScore', + { count: winner.score, score: winner.score }, + )}
{winner.guess}