Add context to Unmute
and Mute
strings (#5340)
Co-authored-by: Hailey <me@haileyok.com>
This commit is contained in:
parent
f8658f0795
commit
2a344d8f12
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue