X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Ftwitch-bot%2FChatSettingsForm.js;h=24b2a0aca5146f39c4f98a8c256dc36a64925f60;hb=f0d1a566f5afd76ab7a56b295b71d5756dfd2bc3;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..24b2a0a 100644 --- a/resources/js/components/twitch-bot/ChatSettingsForm.js +++ b/resources/js/components/twitch-bot/ChatSettingsForm.js @@ -85,6 +85,94 @@ 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} + + + {t('twitchBot.chatMinAge')} + + + + {t('twitchBot.chatSource')} + + {['any', 'cat', 'chan', 'catchan'].map(value => + + )} + + {touched.respond && errors.respond ? + + {t(errors.respond)} + + : null} + + + {t('twitchBot.chatAdlibChance')} + +