about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorsurfdude29 <149612116+surfdude29@users.noreply.github.com>2024-09-09 17:29:14 +0100
committerGitHub <noreply@github.com>2024-09-09 09:29:14 -0700
commitf2408939800e5d45af38539c668cfaa7915ff9ea (patch)
tree4841a3f8ec4eb25fc91473e7b17bdf01fd58b5d1 /src
parent44f1cd9fb5c1d468fc97dfcfe38764bae0b1c7bf (diff)
downloadvoidsky-f2408939800e5d45af38539c668cfaa7915ff9ea.tar.zst
Add `context` to `Mute` and `Unmute` labels on video control (#5234)
Co-authored-by: Marco Buono <thecoreh@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx b/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx
index 82c0ab7a6..555e4298d 100644
--- a/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx
+++ b/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx
@@ -341,8 +341,8 @@ export function Controls({
           )}
           <ControlButton
             active={muted}
-            activeLabel={_(msg`Unmute`)}
-            inactiveLabel={_(msg`Mute`)}
+            activeLabel={_(msg({message: `Unmute`, context: 'video'}))}
+            inactiveLabel={_(msg({message: `Mute`, context: 'video'}))}
             activeIcon={MuteIcon}
             inactiveIcon={UnmuteIcon}
             onPress={onPressMute}