[🐴] Copy tweaks (#4042)

* `notifications` -> `conversation`

* `users` -> `people`

* `other participants` -> `the other participant`

* rename
zio/stable
Hailey 2024-05-16 08:37:04 -07:00 committed by GitHub
parent b635d000b5
commit 400c269330
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 10 deletions

View File

@ -171,13 +171,13 @@ let ConvoMenu = ({
<Menu.ItemIcon icon={Person} /> <Menu.ItemIcon icon={Person} />
</Menu.Item> </Menu.Item>
<Menu.Item <Menu.Item
label={_(msg`Mute notifications`)} label={_(msg`Mute conversation`)}
onPress={() => muteConvo({mute: !convo?.muted})}> onPress={() => muteConvo({mute: !convo?.muted})}>
<Menu.ItemText> <Menu.ItemText>
{convo?.muted ? ( {convo?.muted ? (
<Trans>Unmute notifications</Trans> <Trans>Unmute conversation</Trans>
) : ( ) : (
<Trans>Mute notifications</Trans> <Trans>Mute conversation</Trans>
)} )}
</Menu.ItemText> </Menu.ItemText>
<Menu.ItemIcon icon={convo?.muted ? Unmute : Mute} /> <Menu.ItemIcon icon={convo?.muted ? Unmute : Mute} />
@ -222,7 +222,7 @@ let ConvoMenu = ({
control={leaveConvoControl} control={leaveConvoControl}
title={_(msg`Leave conversation`)} title={_(msg`Leave conversation`)}
description={_( 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`)} confirmButtonCta={_(msg`Leave`)}
confirmButtonColor="negative" confirmButtonColor="negative"

View File

@ -119,7 +119,7 @@ export let MessageMenu = ({
control={deleteControl} control={deleteControl}
title={_(msg`Delete message`)} title={_(msg`Delete message`)}
description={_( 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`)} confirmButtonCta={_(msg`Delete`)}
confirmButtonColor="negative" confirmButtonColor="negative"

View File

@ -277,7 +277,7 @@ function HeaderReady({
size={32} size={32}
profile={profile} profile={profile}
moderation={moderation.ui('avatar')} moderation={moderation.ui('avatar')}
disable={moderation.blocked} disableHoverCard={moderation.blocked}
/> />
<Text <Text
style={[a.text_lg, a.font_bold, a.pt_sm, a.pb_2xs]} style={[a.text_lg, a.font_bold, a.pt_sm, a.pb_2xs]}

View File

@ -62,7 +62,7 @@ export function MessagesSettingsScreen({}: Props) {
} }
items={[ items={[
{label: _(msg`Everyone`), value: 'all'}, {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'}, {label: _(msg`No one`), value: 'none'},
]} ]}
onSelect={onSelectItem} onSelect={onSelectItem}

View File

@ -51,7 +51,7 @@ interface EditableUserAvatarProps extends BaseUserAvatarProps {
interface PreviewableUserAvatarProps extends BaseUserAvatarProps { interface PreviewableUserAvatarProps extends BaseUserAvatarProps {
moderation?: ModerationUI moderation?: ModerationUI
profile: AppBskyActorDefs.ProfileViewBasic profile: AppBskyActorDefs.ProfileViewBasic
disable?: boolean disableHoverCard?: boolean
onBeforePress?: () => void onBeforePress?: () => void
} }
@ -384,7 +384,7 @@ export {EditableUserAvatar}
let PreviewableUserAvatar = ({ let PreviewableUserAvatar = ({
moderation, moderation,
profile, profile,
disable, disableHoverCard,
onBeforePress, onBeforePress,
...rest ...rest
}: PreviewableUserAvatarProps): React.ReactNode => { }: PreviewableUserAvatarProps): React.ReactNode => {
@ -397,7 +397,7 @@ let PreviewableUserAvatar = ({
}, [profile, queryClient, onBeforePress]) }, [profile, queryClient, onBeforePress])
return ( return (
<ProfileHoverCard did={profile.did} disable={disable}> <ProfileHoverCard did={profile.did} disable={disableHoverCard}>
<Link <Link
label={_(msg`See profile`)} label={_(msg`See profile`)}
to={makeProfileLink({ to={makeProfileLink({