From 0aadb7e60cf8a10fcd1fb7664ec017451b770b3c Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Mon, 14 Nov 2022 11:29:42 +0000 Subject: [PATCH] Add a straw man description to the setting --- public/locales/en-GB/app.json | 1 + src/settings/SettingsModal.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/public/locales/en-GB/app.json b/public/locales/en-GB/app.json index e51f936..5e78013 100644 --- a/public/locales/en-GB/app.json +++ b/public/locales/en-GB/app.json @@ -134,6 +134,7 @@ "Walkie-talkie call": "Walkie-talkie call", "Walkie-talkie call name": "Walkie-talkie call name", "WebRTC is not supported or is being blocked in this browser.": "WebRTC is not supported or is being blocked in this browser.", + "Whether to enable the keyboard shortcuts to e.g. mute/unmute the local microphone.": "Whether to enable the keyboard shortcuts to e.g. mute/unmute the local microphone.", "Yes, join call": "Yes, join call", "You can't talk at the same time": "You can't talk at the same time", "Your recent calls": "Your recent calls" diff --git a/src/settings/SettingsModal.tsx b/src/settings/SettingsModal.tsx index 143d6a6..3b90fd8 100644 --- a/src/settings/SettingsModal.tsx +++ b/src/settings/SettingsModal.tsx @@ -174,6 +174,9 @@ export const SettingsModal = (props: Props) => { label={t("Enable keyboard shortcuts")} type="checkbox" checked={keyboardShortcuts} + description={t( + "Whether to enable the keyboard shortcuts to e.g. mute/unmute the local microphone." + )} onChange={(event: React.ChangeEvent) => setKeyboardShortcuts(event.target.checked) }