X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Ftwitch-bot%2FGuessingSettingsForm.js;h=a465e4ea1e33e5e3c4cb528b167fc61ca5010ec8;hb=HEAD;hp=128d6f5d98b2b4eebca487df7af87db22e428e75;hpb=93f50820771a0333b169f76f74727239cf0cb286;p=alttp.git diff --git a/resources/js/components/twitch-bot/GuessingSettingsForm.js b/resources/js/components/twitch-bot/GuessingSettingsForm.js index 128d6f5..a465e4e 100644 --- a/resources/js/components/twitch-bot/GuessingSettingsForm.js +++ b/resources/js/components/twitch-bot/GuessingSettingsForm.js @@ -115,6 +115,27 @@ const GuessingSettingsForm = ({ : null} + + {t('twitchBot.guessingGame.leaderboardType')} + + {['all', 'year', '365', 'month', '30'].map(type => + + )} + + {touched.leaderboard_type && errors.leaderboard_type ? + + {t(errors.leaderboard_type)} + + : null} + {t('twitchBot.guessingGame.startMessage')} @@ -168,6 +189,26 @@ const GuessingSettingsForm = ({ } + + {t('twitchBot.guessingGame.closeWinnersMessage')} + + {touched.close_winners_message && errors.close_winners_message ? + + {t(errors.close_winners_message)} + + : + + {t('twitchBot.guessingGame.closeWinnersMessageHint')} + + } + {t('twitchBot.guessingGame.noWinnersMessage')}