From c7eaba38c74b617fbd03da196e4131e662311cc9 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Thu, 29 Feb 2024 23:47:39 +0100 Subject: [PATCH] fix pluralization --- resources/js/components/twitch-bot/GuessingWinner.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}
-- 2.39.2