Add a straw man description to the setting

This commit is contained in:
Erik Johnston 2022-11-14 11:29:42 +00:00
parent c67e7ebc2c
commit 0aadb7e60c
2 changed files with 4 additions and 0 deletions

View file

@ -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"

View file

@ -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<HTMLInputElement>) =>
setKeyboardShortcuts(event.target.checked)
}