feat(#5): авто-пауза напоминаний во время ВКС (Zoom/Teams/Discord/Webex)
This commit is contained in:
@@ -168,6 +168,9 @@ export const ru: Dict = {
|
||||
'settings.voice.label': 'Голосовая подсказка',
|
||||
'settings.voice.hint':
|
||||
'Диктор произносит название упражнения и количество — полезно когда фокус на коде.',
|
||||
'settings.meeting_pause.label': 'Пауза на встречах',
|
||||
'settings.meeting_pause.hint':
|
||||
'Не дёргать, если запущен Zoom / Teams / Discord / Webex / Slack-huddle.',
|
||||
'settings.snooze.label': '«Отложить» на',
|
||||
'settings.snooze.hint': 'Сколько минут добавлять при отложении',
|
||||
'settings.snooze.1': '1 минута',
|
||||
@@ -470,6 +473,9 @@ export const en: Dict = {
|
||||
'settings.voice.label': 'Voice prompt',
|
||||
'settings.voice.hint':
|
||||
'Speaks the exercise name and count — useful when your eyes are on the code.',
|
||||
'settings.meeting_pause.label': 'Pause during meetings',
|
||||
'settings.meeting_pause.hint':
|
||||
'Skip reminders when Zoom / Teams / Discord / Webex / Slack-huddle is running.',
|
||||
'settings.snooze.label': '“Snooze” for',
|
||||
'settings.snooze.hint': 'How many minutes to postpone',
|
||||
'settings.snooze.1': '1 minute',
|
||||
|
||||
@@ -83,6 +83,12 @@ export default function SettingsPage(): JSX.Element {
|
||||
checked={settings.voicePromptsEnabled}
|
||||
onChange={(v) => patch({ voicePromptsEnabled: v })}
|
||||
/>
|
||||
<ToggleRow
|
||||
label={t('settings.meeting_pause.label')}
|
||||
hint={t('settings.meeting_pause.hint')}
|
||||
checked={settings.meetingAutoPause}
|
||||
onChange={(v) => patch({ meetingAutoPause: v })}
|
||||
/>
|
||||
<SelectRow
|
||||
label={t('settings.snooze.label')}
|
||||
hint={t('settings.snooze.hint')}
|
||||
|
||||
Reference in New Issue
Block a user