[🐴] Copy tweaks (#4042)
* `notifications` -> `conversation` * `users` -> `people` * `other participants` -> `the other participant` * renamezio/stable
parent
b635d000b5
commit
400c269330
|
@ -171,13 +171,13 @@ let ConvoMenu = ({
|
|||
<Menu.ItemIcon icon={Person} />
|
||||
</Menu.Item>
|
||||
<Menu.Item
|
||||
label={_(msg`Mute notifications`)}
|
||||
label={_(msg`Mute conversation`)}
|
||||
onPress={() => muteConvo({mute: !convo?.muted})}>
|
||||
<Menu.ItemText>
|
||||
{convo?.muted ? (
|
||||
<Trans>Unmute notifications</Trans>
|
||||
<Trans>Unmute conversation</Trans>
|
||||
) : (
|
||||
<Trans>Mute notifications</Trans>
|
||||
<Trans>Mute conversation</Trans>
|
||||
)}
|
||||
</Menu.ItemText>
|
||||
<Menu.ItemIcon icon={convo?.muted ? Unmute : Mute} />
|
||||
|
@ -222,7 +222,7 @@ let ConvoMenu = ({
|
|||
control={leaveConvoControl}
|
||||
title={_(msg`Leave conversation`)}
|
||||
description={_(
|
||||
msg`Are you sure you want to leave this conversation? Your messages will be deleted for you, but not for other participants.`,
|
||||
msg`Are you sure you want to leave this conversation? Your messages will be deleted for you, but not for the other participant.`,
|
||||
)}
|
||||
confirmButtonCta={_(msg`Leave`)}
|
||||
confirmButtonColor="negative"
|
||||
|
|
|
@ -119,7 +119,7 @@ export let MessageMenu = ({
|
|||
control={deleteControl}
|
||||
title={_(msg`Delete message`)}
|
||||
description={_(
|
||||
msg`Are you sure you want to delete this message? The message will be deleted for you, but not for other participants.`,
|
||||
msg`Are you sure you want to delete this message? The message will be deleted for you, but not for the other participant.`,
|
||||
)}
|
||||
confirmButtonCta={_(msg`Delete`)}
|
||||
confirmButtonColor="negative"
|
||||
|
|
|
@ -277,7 +277,7 @@ function HeaderReady({
|
|||
size={32}
|
||||
profile={profile}
|
||||
moderation={moderation.ui('avatar')}
|
||||
disable={moderation.blocked}
|
||||
disableHoverCard={moderation.blocked}
|
||||
/>
|
||||
<Text
|
||||
style={[a.text_lg, a.font_bold, a.pt_sm, a.pb_2xs]}
|
||||
|
|
|
@ -62,7 +62,7 @@ export function MessagesSettingsScreen({}: Props) {
|
|||
}
|
||||
items={[
|
||||
{label: _(msg`Everyone`), value: 'all'},
|
||||
{label: _(msg`People I Follow`), value: 'following'},
|
||||
{label: _(msg`Users I follow`), value: 'following'},
|
||||
{label: _(msg`No one`), value: 'none'},
|
||||
]}
|
||||
onSelect={onSelectItem}
|
||||
|
|
|
@ -51,7 +51,7 @@ interface EditableUserAvatarProps extends BaseUserAvatarProps {
|
|||
interface PreviewableUserAvatarProps extends BaseUserAvatarProps {
|
||||
moderation?: ModerationUI
|
||||
profile: AppBskyActorDefs.ProfileViewBasic
|
||||
disable?: boolean
|
||||
disableHoverCard?: boolean
|
||||
onBeforePress?: () => void
|
||||
}
|
||||
|
||||
|
@ -384,7 +384,7 @@ export {EditableUserAvatar}
|
|||
let PreviewableUserAvatar = ({
|
||||
moderation,
|
||||
profile,
|
||||
disable,
|
||||
disableHoverCard,
|
||||
onBeforePress,
|
||||
...rest
|
||||
}: PreviewableUserAvatarProps): React.ReactNode => {
|
||||
|
@ -397,7 +397,7 @@ let PreviewableUserAvatar = ({
|
|||
}, [profile, queryClient, onBeforePress])
|
||||
|
||||
return (
|
||||
<ProfileHoverCard did={profile.did} disable={disable}>
|
||||
<ProfileHoverCard did={profile.did} disable={disableHoverCard}>
|
||||
<Link
|
||||
label={_(msg`See profile`)}
|
||||
to={makeProfileLink({
|
||||
|
|
Loading…
Reference in New Issue