diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ProfileHoverCard/index.web.tsx | 18 | ||||
-rw-r--r-- | src/components/moderation/LabelsOnMeDialog.tsx | 2 | ||||
-rw-r--r-- | src/components/moderation/ModerationDetailsDialog.tsx | 16 |
3 files changed, 19 insertions, 17 deletions
diff --git a/src/components/ProfileHoverCard/index.web.tsx b/src/components/ProfileHoverCard/index.web.tsx index 305327d8b..274a4c96f 100644 --- a/src/components/ProfileHoverCard/index.web.tsx +++ b/src/components/ProfileHoverCard/index.web.tsx @@ -404,7 +404,9 @@ function Inner({ color={profileShadow.viewer?.following ? 'secondary' : 'primary'} variant="solid" label={ - profileShadow.viewer?.following ? _('Following') : _('Follow') + profileShadow.viewer?.following + ? _(msg`Following`) + : _(msg`Follow`) } style={[a.rounded_full]} onPress={profileShadow.viewer?.following ? unfollow : follow}> @@ -413,7 +415,9 @@ function Inner({ icon={profileShadow.viewer?.following ? Check : Plus} /> <ButtonText> - {profileShadow.viewer?.following ? _('Following') : _('Follow')} + {profileShadow.viewer?.following + ? _(msg`Following`) + : _(msg`Follow`)} </ButtonText> </Button> )} @@ -452,12 +456,10 @@ function Inner({ label={_(msg`${following} following`)} style={[t.atoms.text]} onPress={hide}> - <Trans> - <Text style={[a.text_md, a.font_bold]}>{following} </Text> - <Text style={[t.atoms.text_contrast_medium]}> - {pluralizedFollowings} - </Text> - </Trans> + <Text style={[a.text_md, a.font_bold]}>{following} </Text> + <Text style={[t.atoms.text_contrast_medium]}> + {pluralizedFollowings} + </Text> </InlineLinkText> </View> diff --git a/src/components/moderation/LabelsOnMeDialog.tsx b/src/components/moderation/LabelsOnMeDialog.tsx index 04b4dbd53..176b04941 100644 --- a/src/components/moderation/LabelsOnMeDialog.tsx +++ b/src/components/moderation/LabelsOnMeDialog.tsx @@ -190,7 +190,7 @@ function AppealForm({ }, reason: details, }) - Toast.show(_(msg`Appeal submitted.`)) + Toast.show(_(msg`Appeal submitted`)) } finally { control.close() } diff --git a/src/components/moderation/ModerationDetailsDialog.tsx b/src/components/moderation/ModerationDetailsDialog.tsx index da57de4df..edf828755 100644 --- a/src/components/moderation/ModerationDetailsDialog.tsx +++ b/src/components/moderation/ModerationDetailsDialog.tsx @@ -121,20 +121,20 @@ function ModerationDetailsDialogInner({ <> <Divider /> <Text style={[t.atoms.text, a.text_md, a.leading_snug, a.mt_lg]}> - <Trans> - This label was applied by{' '} - {modcause.source.type === 'user' ? ( - <Trans>the author</Trans> - ) : ( + {modcause.source.type === 'user' ? ( + <Trans>This label was applied by the author.</Trans> + ) : ( + <Trans> + This label was applied by{' '} <InlineLinkText to={makeProfileLink({did: modcause.label.src, handle: ''})} onPress={() => control.close()} style={a.text_md}> {desc.source} </InlineLinkText> - )} - . - </Trans> + . + </Trans> + )} </Text> </> )} |