about summary refs log tree commit diff
path: root/src/screens/Settings/NotificationSettings/components/PreferenceControls.tsx
diff options
context:
space:
mode:
authorFrudrax Cheng <i@cynosura.one>2025-06-18 19:57:49 +0800
committerGitHub <noreply@github.com>2025-06-18 04:57:49 -0700
commit13d21692bf28bbda502eb3694f94937dab851c41 (patch)
treeaa9b488afa2c73f3b5970c75771e2d1140e68734 /src/screens/Settings/NotificationSettings/components/PreferenceControls.tsx
parente672f43ec868f5d9d7aa4dabdfbcbc4f6bce69a2 (diff)
downloadvoidsky-13d21692bf28bbda502eb3694f94937dab851c41.tar.zst
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>
Diffstat (limited to 'src/screens/Settings/NotificationSettings/components/PreferenceControls.tsx')
-rw-r--r--src/screens/Settings/NotificationSettings/components/PreferenceControls.tsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/screens/Settings/NotificationSettings/components/PreferenceControls.tsx b/src/screens/Settings/NotificationSettings/components/PreferenceControls.tsx
index 336e08695..3177bcade 100644
--- a/src/screens/Settings/NotificationSettings/components/PreferenceControls.tsx
+++ b/src/screens/Settings/NotificationSettings/components/PreferenceControls.tsx
@@ -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}>