Add context for translators for "No one" string (#9844)

* add context for translators 'No one' option

* update ActivityPrivacySettings to add context for translators

* update translation context for 'No one' option
This commit is contained in:
surfdude29
2026-02-09 23:37:04 +00:00
committed by GitHub
parent 5642bc40bb
commit b8db36afb0
3 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -103,10 +103,12 @@ export function MessagesSettingsScreenInner({}: Props) {
</Toggle.Item>
<Toggle.Item
name="none"
label={_(msg`No one`)}
label={_(
msg({context: 'allow messages from', message: `No one`}),
)}
style={[a.justify_between, a.py_sm]}>
<Toggle.LabelText>
<Trans>No one</Trans>
<Trans context="allow messages from">No one</Trans>
</Toggle.LabelText>
<Toggle.Radio />
</Toggle.Item>