Add english-only-resource context and tweak labels (#8805)
* add context in VerificationsDialog.tsx * add context in VerifierDialog.tsx * add context in VerificationSettings.tsx * add context in EditProfileDialog.tsx * add context and tweak label in ChangeHandleDialog.tsx * tweak label in ContentHider.tsx
This commit is contained in:
@@ -215,7 +215,7 @@ function ContentHiderActive({
|
|||||||
control.open()
|
control.open()
|
||||||
}}
|
}}
|
||||||
label={_(
|
label={_(
|
||||||
msg`Learn more about the moderation applied to this content.`,
|
msg`Learn more about the moderation applied to this content`,
|
||||||
)}
|
)}
|
||||||
style={[a.pt_sm]}>
|
style={[a.pt_sm]}>
|
||||||
{state => (
|
{state => (
|
||||||
|
|||||||
@@ -147,7 +147,12 @@ function Inner({
|
|||||||
<Link
|
<Link
|
||||||
overridePresentation
|
overridePresentation
|
||||||
to={urls.website.blog.initialVerificationAnnouncement}
|
to={urls.website.blog.initialVerificationAnnouncement}
|
||||||
label={_(msg`Learn more about verification on Bluesky`)}
|
label={_(
|
||||||
|
msg({
|
||||||
|
message: `Learn more about verification on Bluesky`,
|
||||||
|
context: `english-only-resource`,
|
||||||
|
}),
|
||||||
|
)}
|
||||||
size="small"
|
size="small"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="secondary"
|
color="secondary"
|
||||||
@@ -162,7 +167,7 @@ function Inner({
|
|||||||
)
|
)
|
||||||
}}>
|
}}>
|
||||||
<ButtonText>
|
<ButtonText>
|
||||||
<Trans>Learn more</Trans>
|
<Trans context="english-only-resource">Learn more</Trans>
|
||||||
</ButtonText>
|
</ButtonText>
|
||||||
</Link>
|
</Link>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@@ -114,7 +114,12 @@ function Inner({
|
|||||||
<Link
|
<Link
|
||||||
overridePresentation
|
overridePresentation
|
||||||
to={urls.website.blog.initialVerificationAnnouncement}
|
to={urls.website.blog.initialVerificationAnnouncement}
|
||||||
label={_(msg`Learn more about verification on Bluesky`)}
|
label={_(
|
||||||
|
msg({
|
||||||
|
message: `Learn more about verification on Bluesky`,
|
||||||
|
context: `english-only-resource`,
|
||||||
|
}),
|
||||||
|
)}
|
||||||
size="small"
|
size="small"
|
||||||
variant="solid"
|
variant="solid"
|
||||||
color="primary"
|
color="primary"
|
||||||
@@ -129,7 +134,7 @@ function Inner({
|
|||||||
)
|
)
|
||||||
}}>
|
}}>
|
||||||
<ButtonText>
|
<ButtonText>
|
||||||
<Trans>Learn more</Trans>
|
<Trans context="english-only-resource">Learn more</Trans>
|
||||||
</ButtonText>
|
</ButtonText>
|
||||||
</Link>
|
</Link>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -44,7 +44,12 @@ export function Screen() {
|
|||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
overridePresentation
|
overridePresentation
|
||||||
to={urls.website.blog.initialVerificationAnnouncement}
|
to={urls.website.blog.initialVerificationAnnouncement}
|
||||||
label={_(msg`Learn more`)}
|
label={_(
|
||||||
|
msg({
|
||||||
|
message: `Learn more`,
|
||||||
|
context: `english-only-resource`,
|
||||||
|
}),
|
||||||
|
)}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
logger.metric(
|
logger.metric(
|
||||||
'verification:learn-more',
|
'verification:learn-more',
|
||||||
|
|||||||
@@ -347,9 +347,14 @@ function DialogInner({
|
|||||||
You are verified. You will lose your verification status if you
|
You are verified. You will lose your verification status if you
|
||||||
change your display name.{' '}
|
change your display name.{' '}
|
||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
label={_(msg`Learn more`)}
|
label={_(
|
||||||
|
msg({
|
||||||
|
message: `Learn more`,
|
||||||
|
context: `english-only-resource`,
|
||||||
|
}),
|
||||||
|
)}
|
||||||
to={urls.website.blog.initialVerificationAnnouncement}>
|
to={urls.website.blog.initialVerificationAnnouncement}>
|
||||||
<Trans>Learn more.</Trans>
|
<Trans context="english-only-resource">Learn more.</Trans>
|
||||||
</InlineLinkText>
|
</InlineLinkText>
|
||||||
</Trans>
|
</Trans>
|
||||||
</Admonition>
|
</Admonition>
|
||||||
|
|||||||
@@ -209,9 +209,14 @@ function ProvidedHandlePage({
|
|||||||
You are verified. You will lose your verification status if you
|
You are verified. You will lose your verification status if you
|
||||||
change your handle.{' '}
|
change your handle.{' '}
|
||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
label={_(msg`Learn more`)}
|
label={_(
|
||||||
|
msg({
|
||||||
|
message: `Learn more`,
|
||||||
|
context: `english-only-resource`,
|
||||||
|
}),
|
||||||
|
)}
|
||||||
to={urls.website.blog.initialVerificationAnnouncement}>
|
to={urls.website.blog.initialVerificationAnnouncement}>
|
||||||
<Trans>Learn more.</Trans>
|
<Trans context="english-only-resource">Learn more.</Trans>
|
||||||
</InlineLinkText>
|
</InlineLinkText>
|
||||||
</Trans>
|
</Trans>
|
||||||
</Admonition>
|
</Admonition>
|
||||||
@@ -268,7 +273,12 @@ function ProvidedHandlePage({
|
|||||||
If you have your own domain, you can use that as your handle. This
|
If you have your own domain, you can use that as your handle. This
|
||||||
lets you self-verify your identity.{' '}
|
lets you self-verify your identity.{' '}
|
||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
label={_(msg`learn more`)}
|
label={_(
|
||||||
|
msg({
|
||||||
|
message: `Learn more`,
|
||||||
|
context: `english-only-resource`,
|
||||||
|
}),
|
||||||
|
)}
|
||||||
to="https://bsky.social/about/blog/4-28-2023-domain-handle-tutorial"
|
to="https://bsky.social/about/blog/4-28-2023-domain-handle-tutorial"
|
||||||
style={[a.font_bold]}
|
style={[a.font_bold]}
|
||||||
disableMismatchWarning>
|
disableMismatchWarning>
|
||||||
|
|||||||
Reference in New Issue
Block a user