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:
surfdude29
2025-08-28 00:12:01 +01:00
committed by GitHub
parent 99722436b1
commit 01c20958c1
6 changed files with 41 additions and 11 deletions
@@ -44,7 +44,12 @@ export function Screen() {
<InlineLinkText
overridePresentation
to={urls.website.blog.initialVerificationAnnouncement}
label={_(msg`Learn more`)}
label={_(
msg({
message: `Learn more`,
context: `english-only-resource`,
}),
)}
onPress={() => {
logger.metric(
'verification:learn-more',
@@ -347,9 +347,14 @@ function DialogInner({
You are verified. You will lose your verification status if you
change your display name.{' '}
<InlineLinkText
label={_(msg`Learn more`)}
label={_(
msg({
message: `Learn more`,
context: `english-only-resource`,
}),
)}
to={urls.website.blog.initialVerificationAnnouncement}>
<Trans>Learn more.</Trans>
<Trans context="english-only-resource">Learn more.</Trans>
</InlineLinkText>
</Trans>
</Admonition>
@@ -209,9 +209,14 @@ function ProvidedHandlePage({
You are verified. You will lose your verification status if you
change your handle.{' '}
<InlineLinkText
label={_(msg`Learn more`)}
label={_(
msg({
message: `Learn more`,
context: `english-only-resource`,
}),
)}
to={urls.website.blog.initialVerificationAnnouncement}>
<Trans>Learn more.</Trans>
<Trans context="english-only-resource">Learn more.</Trans>
</InlineLinkText>
</Trans>
</Admonition>
@@ -268,7 +273,12 @@ function ProvidedHandlePage({
If you have your own domain, you can use that as your handle. This
lets you self-verify your identity.{' '}
<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"
style={[a.font_bold]}
disableMismatchWarning>