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
+1 -1
View File
@@ -215,7 +215,7 @@ function ContentHiderActive({
control.open()
}}
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]}>
{state => (
@@ -147,7 +147,12 @@ function Inner({
<Link
overridePresentation
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"
variant="solid"
color="secondary"
@@ -162,7 +167,7 @@ function Inner({
)
}}>
<ButtonText>
<Trans>Learn more</Trans>
<Trans context="english-only-resource">Learn more</Trans>
</ButtonText>
</Link>
</View>
@@ -114,7 +114,12 @@ function Inner({
<Link
overridePresentation
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"
variant="solid"
color="primary"
@@ -129,7 +134,7 @@ function Inner({
)
}}>
<ButtonText>
<Trans>Learn more</Trans>
<Trans context="english-only-resource">Learn more</Trans>
</ButtonText>
</Link>
<Button