Mark translatable text in PreferenceControls.tsx (#8516)
* Update PreferenceControls.tsx * Update PreferenceControls.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update PreferenceControls.tsx Co-authored-by: Minseo Lee <itoupluk427@gmail.com> * Update PreferenceControls.tsx --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Minseo Lee <itoupluk427@gmail.com>
This commit is contained in:
@@ -98,7 +98,7 @@ export function Inner({
|
||||
<View style={[a.px_xl, a.pt_md, a.gap_sm]}>
|
||||
<Toggle.Group
|
||||
type="checkbox"
|
||||
label={_(`Select your preferred notification channels`)}
|
||||
label={_(msg`Select your preferred notification channels`)}
|
||||
values={channels}
|
||||
onChange={onChangeChannels}>
|
||||
<View style={[a.gap_sm]}>
|
||||
@@ -141,10 +141,12 @@ export function Inner({
|
||||
{'filter' in preference && (
|
||||
<>
|
||||
<Divider />
|
||||
<Text style={[a.font_bold, a.text_md]}>From</Text>
|
||||
<Text style={[a.font_bold, a.text_md]}>
|
||||
<Trans>From</Trans>
|
||||
</Text>
|
||||
<Toggle.Group
|
||||
type="radio"
|
||||
label={_('Filter who you receive notifications from')}
|
||||
label={_(msg`Filter who you receive notifications from`)}
|
||||
values={[preference.filter]}
|
||||
onChange={onChangeFilter}
|
||||
disabled={channels.length === 0}>
|
||||
|
||||
Reference in New Issue
Block a user