Clarify actions

This commit is contained in:
Eric Bailey
2025-01-21 10:24:36 -06:00
parent fea97824a8
commit dcedf712d2
+16 -3
View File
@@ -789,8 +789,18 @@ function Overlay({
<Button <Button
label={ label={
profile.viewer?.following profile.viewer?.following
? _(msg`Following`) ? _(
: _(msg`Follow`) msg`Following ${sanitizeHandle(
post.author.handle,
'@',
)}`,
)
: _(
msg`Follow ${sanitizeHandle(
post.author.handle,
'@',
)}`,
)
} }
accessibilityHint={ accessibilityHint={
profile.viewer?.following ? _(msg`Unfollow user`) : '' profile.viewer?.following ? _(msg`Unfollow user`) : ''
@@ -1024,7 +1034,10 @@ function PlayPauseTapArea({
isPlaying ? _(msg`Video is playing`) : _(msg`Video is paused`) isPlaying ? _(msg`Video is playing`) : _(msg`Video is paused`)
} }
label={_( label={_(
`Video from ${post.author.handle}. Tap to play or pause the video`, `Video from ${sanitizeHandle(
post.author.handle,
'@',
)}. Tap to play or pause the video`,
)} )}
accessibilityHint={_(msg`Double tap to like`)} accessibilityHint={_(msg`Double tap to like`)}
onPress={onPress} onPress={onPress}