Add `context` to `Mute` and `Unmute` labels on video control (#5234)

Co-authored-by: Marco Buono <thecoreh@gmail.com>
zio/stable
surfdude29 2024-09-09 17:29:14 +01:00 committed by GitHub
parent 44f1cd9fb5
commit f240893980
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -341,8 +341,8 @@ export function Controls({
)} )}
<ControlButton <ControlButton
active={muted} active={muted}
activeLabel={_(msg`Unmute`)} activeLabel={_(msg({message: `Unmute`, context: 'video'}))}
inactiveLabel={_(msg`Mute`)} inactiveLabel={_(msg({message: `Mute`, context: 'video'}))}
activeIcon={MuteIcon} activeIcon={MuteIcon}
inactiveIcon={UnmuteIcon} inactiveIcon={UnmuteIcon}
onPress={onPressMute} onPress={onPressMute}