Add context to `Unmute` and `Mute` strings (#5340)
Co-authored-by: Hailey <me@haileyok.com>zio/dev^2
parent
f8658f0795
commit
2a344d8f12
|
@ -160,7 +160,11 @@ function VideoControls({
|
||||||
|
|
||||||
<ControlButton
|
<ControlButton
|
||||||
onPress={toggleMuted}
|
onPress={toggleMuted}
|
||||||
label={muted ? _(msg`Unmute`) : _(msg`Mute`)}
|
label={
|
||||||
|
muted
|
||||||
|
? _(msg({message: `Unmute`, context: 'video'}))
|
||||||
|
: _(msg({message: `Mute`, context: 'video'}))
|
||||||
|
}
|
||||||
accessibilityHint={_(msg`Tap to toggle sound`)}
|
accessibilityHint={_(msg`Tap to toggle sound`)}
|
||||||
style={{right: 6}}>
|
style={{right: 6}}>
|
||||||
{muted ? (
|
{muted ? (
|
||||||
|
|
Loading…
Reference in New Issue