X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Ftwitch-bot%2FChatSettingsForm.js;h=4d36a31601ee3d19e55be0ce8c0e8c8b68a42daa;hb=147c5f43c5d41fa18e82edb6651fe5a37c789353;hp=d9c03d7f3b04025128cb56c48b189b79f05cfe42;hpb=e49b130505f5712075dca2ff990e5a63fc90ce3c;p=alttp.git diff --git a/resources/js/components/twitch-bot/ChatSettingsForm.js b/resources/js/components/twitch-bot/ChatSettingsForm.js index d9c03d7..4d36a31 100644 --- a/resources/js/components/twitch-bot/ChatSettingsForm.js +++ b/resources/js/components/twitch-bot/ChatSettingsForm.js @@ -85,6 +85,48 @@ const ChatSettingsForm = ({ } + + {t('twitchBot.language')} + + {['de', 'en', 'es', 'fr'].map(lang => + + )} + + {touched.language && errors.language ? + + {t(errors.language)} + + : null} + + + {t('twitchBot.respond')} + + {['yes', '50', 'no'].map(value => + + )} + + {touched.respond && errors.respond ? + + {t(errors.respond)} + + : null} +