]> git.localhorst.tv Git - alttp.git/commitdiff
fix pluralization
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 29 Feb 2024 22:47:39 +0000 (23:47 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 29 Feb 2024 22:47:39 +0000 (23:47 +0100)
resources/js/components/twitch-bot/GuessingWinner.js

index f7956baaa53bbc8d6601c3b5b70954bf7de7157a..64ecc9678ebaa77fc2e0024723134f32ee9f6368 100644 (file)
@@ -15,7 +15,10 @@ const GuessingWinner = ({ winner }) => {
                <Row>
                        <Col xs={6}>
                                <div>{winner.uname}</div>
-                               <div>{t('twitchBot.guessingGame.winnerScore', { score: winner.score })}</div>
+                               <div>{t(
+                                       'twitchBot.guessingGame.winnerScore',
+                                       { count: winner.score, score: winner.score },
+                               )}</div>
                        </Col>
                        <Col xs={6}>
                                <div className="fs-3 text-end">{winner.guess}</div>