Add explanation for some options in the local settings dialog

This commit is contained in:
Claire 2022-07-24 11:11:38 +02:00
parent 406b7d972b
commit 42d06afe03

View file

@ -375,6 +375,7 @@ class LocalSettingsPage extends React.PureComponent {
onChange={onChange} onChange={onChange}
> >
<FormattedMessage id='settings.enable_collapsed' defaultMessage='Enable collapsed toots' /> <FormattedMessage id='settings.enable_collapsed' defaultMessage='Enable collapsed toots' />
<span className='hint'><FormattedMessage id='settings.enable_collapsed_hint' defaultMessage='Collapsed posts have parts of their contents hidden to take up less screen space. This is distinct from the Content Warning feature' /></span>
</LocalSettingsPageItem> </LocalSettingsPageItem>
<LocalSettingsPageItem <LocalSettingsPageItem
settings={settings} settings={settings}
@ -466,6 +467,7 @@ class LocalSettingsPage extends React.PureComponent {
dependsOn={[['collapsed', 'enabled']]} dependsOn={[['collapsed', 'enabled']]}
> >
<FormattedMessage id='settings.image_backgrounds_media' defaultMessage='Preview collapsed toot media' /> <FormattedMessage id='settings.image_backgrounds_media' defaultMessage='Preview collapsed toot media' />
<span className='hint'><FormattedMessage id='settings.image_backgrounds_media_hint' defaultMessage='If the post has any media attachment, use the first one as a background' /></span>
</LocalSettingsPageItem> </LocalSettingsPageItem>
</section> </section>
</div> </div>