♿️(frontend) update device control tooltips to reflect settings dialog
Update tooltip and aria-label text for in-room device controls to indicate they now open comprehensive settings dialog instead of simple device selection.
This commit is contained in:
committed by
aleb_the_flash
parent
42107f4698
commit
7ec3e481ff
@@ -48,7 +48,7 @@ export const AudioDevicesControl = ({
|
||||
|
||||
const kind = 'audioinput'
|
||||
const cannotUseDevice = useCannotUseDevice(kind)
|
||||
const selectLabel = t(`${kind}.choose`)
|
||||
const selectLabel = t(`settings.${SettingsDialogExtendedKey.AUDIO}`)
|
||||
|
||||
return (
|
||||
<div
|
||||
|
||||
@@ -16,8 +16,8 @@ export const SettingsButton = ({
|
||||
<Button
|
||||
size="sm"
|
||||
square
|
||||
tooltip={t('settings')}
|
||||
aria-label={t('settings')}
|
||||
tooltip={t(`settings.${settingTab}`)}
|
||||
aria-label={t(`settings.${settingTab}`)}
|
||||
variant="primaryDark"
|
||||
onPress={() => {
|
||||
setDefaultSelectedKey(settingTab)
|
||||
|
||||
@@ -73,7 +73,7 @@ export const VideoDeviceControl = ({
|
||||
} as VideoCaptureOptions)
|
||||
}
|
||||
|
||||
const selectLabel = t(`${kind}.choose`)
|
||||
const selectLabel = t(`settings.${SettingsDialogExtendedKey.VIDEO}`)
|
||||
|
||||
return (
|
||||
<div
|
||||
|
||||
@@ -11,7 +11,10 @@
|
||||
"loading": "Laden…",
|
||||
"select": "Wählen Sie einen Wert",
|
||||
"permissionsNeeded": "Genehmigung erforderlich",
|
||||
"settings": "Einstellungen",
|
||||
"settings": {
|
||||
"audio": "Audioeinstellungen",
|
||||
"video": "Videoeinstellungen"
|
||||
},
|
||||
"videoinput": {
|
||||
"choose": "Kamera auswählen",
|
||||
"permissionsNeeded": "Kamera auswählen - genehmigung erforderlich",
|
||||
|
||||
@@ -11,7 +11,10 @@
|
||||
"loading": "Loading…",
|
||||
"select": "Select a value",
|
||||
"permissionsNeeded": "Permission needed",
|
||||
"settings": "Settings",
|
||||
"settings": {
|
||||
"audio": "Audio settings",
|
||||
"video": "Video settings"
|
||||
},
|
||||
"videoinput": {
|
||||
"choose": "Select camera",
|
||||
"permissionsNeeded": "Select camera - permission needed",
|
||||
|
||||
@@ -11,7 +11,10 @@
|
||||
"loading": "Chargement…",
|
||||
"select": "Sélectionnez une valeur",
|
||||
"permissionsNeeded": "Autorisations nécessaires",
|
||||
"settings": "Paramètres",
|
||||
"settings": {
|
||||
"audio": "Paramètres audio",
|
||||
"video": "Paramètres video"
|
||||
},
|
||||
"videoinput": {
|
||||
"choose": "Choisir la webcam",
|
||||
"permissionsNeeded": "Choisir la webcam - autorisations nécessaires",
|
||||
|
||||
@@ -11,7 +11,10 @@
|
||||
"loading": "Bezig met laden…",
|
||||
"select": "Selecteer een waarde",
|
||||
"permissionsNeeded": "Toestemming vereist",
|
||||
"settings": "Instellingen",
|
||||
"settings": {
|
||||
"audio": "Audio-instellingen",
|
||||
"video": "Video-instellingen"
|
||||
},
|
||||
"videoinput": {
|
||||
"choose": "Selecteer camera",
|
||||
"permissionsNeeded": "Selecteer camera - Toestemming vereist",
|
||||
|
||||
Reference in New Issue
Block a user