mirror of https://git.sr.ht/~ashkeel/strimertul
add text copy for chat account
This commit is contained in:
parent
2cec7b1ffe
commit
422c70c9d4
|
@ -76,7 +76,8 @@
|
|||
"cooldown-tip": "Global chat cooldown for commands (in seconds)",
|
||||
"default-user": "Using stream account, use the button below to authenticate with a different account.",
|
||||
"chat-account": "Chat account",
|
||||
"clear-button": "Revert to default account"
|
||||
"clear-button": "Revert to default account",
|
||||
"account-copy": "You can use a different account for repling to chat commands and writing alerts instead of your channel one. To do so, click the button below and authenticate and authorize using your secondary account."
|
||||
},
|
||||
"events": {
|
||||
"loading-data": "Querying user data from Twitch APIs…",
|
||||
|
|
|
@ -341,7 +341,9 @@
|
|||
"cooldown-tip": "Tempo minimo di attesa tra comandi (in secondi)",
|
||||
"chat-account": "Account chat",
|
||||
"header": "Impostazioni chat",
|
||||
"default-user": "Utilizzando l'account principale, usa il pulsante qui sotto per autenticarti con un account diverso per le funzionalità di chat."
|
||||
"default-user": "Utilizzando l'account principale, usa il pulsante qui sotto per autenticarti con un account diverso per le funzionalità di chat.",
|
||||
"clear-button": "Torna ad usare l'account principale",
|
||||
"account-copy": "Puoi utilizzare un account diverso per rispondendere ai comandi della chat e invia notifiche al posto di quello del tuo canale. \nPer fare ciò, fai clic sul pulsante in basso e autentica e autorizza l'utilizzo del tuo account secondario."
|
||||
},
|
||||
"events": {
|
||||
"auth-button": "Autenticati via Twitch",
|
||||
|
|
|
@ -40,14 +40,10 @@ export default function TwitchChatSettings() {
|
|||
<SectionHeader spacing={'none'}>
|
||||
{t('pages.twitch-settings.chat.chat-account')}
|
||||
</SectionHeader>
|
||||
<TwitchUserBlock
|
||||
authKey={'twitch/chat/chatter-account'}
|
||||
noUserMessage={t('pages.twitch-settings.chat.default-user')}
|
||||
/>
|
||||
<FlexRow align="left" spacing="1">
|
||||
<TextBlock>{t('pages.twitch-settings.chat.account-copy')}</TextBlock>
|
||||
<FlexRow align="left" spacing="1" css={{ marginBottom: '1rem' }}>
|
||||
<Button
|
||||
variation="primary"
|
||||
css={{ marginTop: '1rem' }}
|
||||
onClick={() => {
|
||||
void startAuthFlow('chat');
|
||||
}}
|
||||
|
@ -57,7 +53,6 @@ export default function TwitchChatSettings() {
|
|||
{authKeyValue && (
|
||||
<Button
|
||||
variation="danger"
|
||||
css={{ marginTop: '1rem' }}
|
||||
onClick={() => {
|
||||
kv.deleteKey(authKey);
|
||||
}}
|
||||
|
@ -66,6 +61,10 @@ export default function TwitchChatSettings() {
|
|||
</Button>
|
||||
)}
|
||||
</FlexRow>
|
||||
<TwitchUserBlock
|
||||
authKey={'twitch/chat/chatter-account'}
|
||||
noUserMessage={t('pages.twitch-settings.chat.default-user')}
|
||||
/>
|
||||
|
||||
<SectionHeader>{t('pages.twitch-settings.chat.header')}</SectionHeader>
|
||||
<Field size="fullWidth">
|
||||
|
|
Loading…
Reference in New Issue