mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Frudrax Cheng
surfdude29
Minseo Lee
and committed by
GitHub
13d21692 e672f43e

+5 -3
+5 -3
src/screens/Settings/NotificationSettings/components/PreferenceControls.tsx
··· 98 98 <View style={[a.px_xl, a.pt_md, a.gap_sm]}> 99 99 <Toggle.Group 100 100 type="checkbox" 101 - label={_(`Select your preferred notification channels`)} 101 + label={_(msg`Select your preferred notification channels`)} 102 102 values={channels} 103 103 onChange={onChangeChannels}> 104 104 <View style={[a.gap_sm]}> ··· 141 141 {'filter' in preference && ( 142 142 <> 143 143 <Divider /> 144 - <Text style={[a.font_bold, a.text_md]}>From</Text> 144 + <Text style={[a.font_bold, a.text_md]}> 145 + <Trans>From</Trans> 146 + </Text> 145 147 <Toggle.Group 146 148 type="radio" 147 - label={_('Filter who you receive notifications from')} 149 + label={_(msg`Filter who you receive notifications from`)} 148 150 values={[preference.filter]} 149 151 onChange={onChangeFilter} 150 152 disabled={channels.length === 0}>