Define some local-settings hints

master
Thibaut Girka 6 years ago committed by ThibG
parent 26409f3e8e
commit 721aec40cd
  1. 11
      app/javascript/flavours/glitch/features/local_settings/page/index.js

@ -50,7 +50,8 @@ export default class LocalSettingsPage extends React.PureComponent {
id='mastodon-settings--notifications-tab_badge' id='mastodon-settings--notifications-tab_badge'
onChange={onChange} onChange={onChange}
> >
<FormattedMessage id='settings.notifications.tab_badge' defaultMessage="Display a badge for unread notifications if the notifications column isn't open" /> <FormattedMessage id='settings.notifications.tab_badge' defaultMessage="Unread notifications badge" />
<span className='hint'><FormattedMessage id='settings.notifications.tab_badge.hint' defaultMessage="Display a badge for unread notifications in the column icons when the notifications column isn't open" /></span>
</LocalSettingsPageItem> </LocalSettingsPageItem>
<LocalSettingsPageItem <LocalSettingsPageItem
settings={settings} settings={settings}
@ -58,7 +59,8 @@ export default class LocalSettingsPage extends React.PureComponent {
id='mastodon-settings--notifications-favicon_badge' id='mastodon-settings--notifications-favicon_badge'
onChange={onChange} onChange={onChange}
> >
<FormattedMessage id='settings.notifications.favicon_badge' defaultMessage='Display unread notifications count in the favicon' /> <FormattedMessage id='settings.notifications.favicon_badge' defaultMessage='Unread notifications favicon badge' />
<span className='hint'><FormattedMessage id='settings.notifications.favicon_badge.hint' defaultMessage="Add a badge for unread notifications to the favicon" /></span>
</LocalSettingsPageItem> </LocalSettingsPageItem>
</section> </section>
<section> <section>
@ -83,6 +85,7 @@ export default class LocalSettingsPage extends React.PureComponent {
onChange={onChange} onChange={onChange}
> >
<FormattedMessage id='settings.wide_view' defaultMessage='Wide view (Desktop mode only)' /> <FormattedMessage id='settings.wide_view' defaultMessage='Wide view (Desktop mode only)' />
<span className='hint'><FormattedMessage id='settings.wide_view_hint' defaultMessage='Stretches columns to better fill the available space.' /></span>
</LocalSettingsPageItem> </LocalSettingsPageItem>
<LocalSettingsPageItem <LocalSettingsPageItem
settings={settings} settings={settings}
@ -112,7 +115,8 @@ export default class LocalSettingsPage extends React.PureComponent {
id='mastodon-settings--preselect_on_reply' id='mastodon-settings--preselect_on_reply'
onChange={onChange} onChange={onChange}
> >
<FormattedMessage id='settings.preselect_on_reply' defaultMessage='Pre-select usernames past the first when replying to a toot with multiple participants' /> <FormattedMessage id='settings.preselect_on_reply' defaultMessage='Pre-select usernames on reply' />
<span className='hint'><FormattedMessage id='settings.preselect_on_reply_hint' defaultMessage='When replying to a conversation with multiple participants, pre-select usernames past the first' /></span>
</LocalSettingsPageItem> </LocalSettingsPageItem>
<LocalSettingsPageItem <LocalSettingsPageItem
settings={settings} settings={settings}
@ -290,6 +294,7 @@ export default class LocalSettingsPage extends React.PureComponent {
onChange={onChange} onChange={onChange}
> >
<FormattedMessage id='settings.media_letterbox' defaultMessage='Letterbox media' /> <FormattedMessage id='settings.media_letterbox' defaultMessage='Letterbox media' />
<span className='hint'><FormattedMessage id='settings.media_letterbox_hint' defaultMessage='Scale down and letterbox media to fill the image containers instead of stretching and cropping them' /></span>
</LocalSettingsPageItem> </LocalSettingsPageItem>
<LocalSettingsPageItem <LocalSettingsPageItem
settings={settings} settings={settings}

Loading…
Cancel
Save