about summary refs log tree commit diff
path: root/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx
diff options
context:
space:
mode:
authorsurfdude29 <149612116+surfdude29@users.noreply.github.com>2024-09-15 20:11:44 +0100
committerGitHub <noreply@github.com>2024-09-15 12:11:44 -0700
commit2a344d8f12497aa80147ece3490743ca32455d2a (patch)
tree21f8a97e47cce5ac619e8ffde50d2d702ac9ecda /src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx
parentf8658f0795084c2ec4c2c5e69c7c5e45918065f2 (diff)
downloadvoidsky-2a344d8f12497aa80147ece3490743ca32455d2a.tar.zst
Add context to `Unmute` and `Mute` strings (#5340)
Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx')
-rw-r--r--src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx b/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx
index ee71daa83..afa9aa305 100644
--- a/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx
+++ b/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx
@@ -160,7 +160,11 @@ function VideoControls({
 
       <ControlButton
         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`)}
         style={{right: 6}}>
         {muted ? (