Add hint to clarify Feed settings

This commit is contained in:
Justin 2022-03-22 08:58:12 -04:00
parent 12ed6889a4
commit 69035c3dab
2 changed files with 9 additions and 2 deletions

View file

@ -111,11 +111,17 @@ const Preferences = () => {
return (
<Form>
<List>
<ListItem label={<FormattedMessage id='home.column_settings.show_reblogs' defaultMessage='Show reTRUTHs' />}>
<ListItem
label={<FormattedMessage id='home.column_settings.show_reblogs' defaultMessage='Show reTRUTHs' />}
hint={<FormattedMessage id='preferences.hints.feed' defaultMessage='In your home feed' />}
>
<SettingToggle settings={settings} settingPath={['home', 'shows', 'reblog']} onChange={onToggleChange} />
</ListItem>
<ListItem label={<FormattedMessage id='home.column_settings.show_replies' defaultMessage='Show replies' />}>
<ListItem
label={<FormattedMessage id='home.column_settings.show_replies' defaultMessage='Show replies' />}
hint={<FormattedMessage id='preferences.hints.feed' defaultMessage='In your home feed' />}
>
<SettingToggle settings={settings} settingPath={['home', 'shows', 'reply']} onChange={onToggleChange} />
</ListItem>

View file

@ -713,6 +713,7 @@
"preferences.fields.system_font_label": "Use system's default font",
"preferences.fields.underline_links_label": "Always underline links in posts",
"preferences.fields.unfollow_modal_label": "Show confirmation dialog before unfollowing someone",
"preferences.hints.feed": "In your home feed",
"preferences.hints.content_type_markdown": "Warning: experimental!",
"preferences.hints.demetricator": "Decrease social media anxiety by hiding all numbers from the site.",
"preferences.hints.halloween": "Beware: SPOOKY! Supports light/dark toggle.",