Show the right fallback labels in device switcher menus

This commit is contained in:
Robin
2026-06-02 10:15:40 +02:00
parent 79298a6620
commit 164765cd27
2 changed files with 38 additions and 2 deletions

View File

@@ -119,13 +119,13 @@ export const MediaMuteAndSwitchButton: FC<MediaMuteAndSwitchButtonProps> = ({
IconOptions = VideoCallIcon;
optionsButtonLabel = t("settings.devices.camera");
numberedLabel = (n): string =>
t("settings.devices.microphone_numbered", { n });
t("settings.devices.camera_numbered", { n });
break;
case "audio":
IconOptions = MicOnIcon;
optionsButtonLabel = t("settings.devices.microphone");
numberedLabel = (n): string =>
t("settings.devices.camera_numbered", { n });
t("settings.devices.microphone_numbered", { n });
break;
}
return (