Remove redundant “options” from “Compose box options”

Thanks @ariasuni.
This commit is contained in:
Thibaut Girka 2019-02-03 00:34:52 +01:00 committed by ThibG
parent a0a8203a0b
commit c9d261753a
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import { preferencesLink } from 'flavours/glitch/util/backend_links';
const messages = defineMessages({ const messages = defineMessages({
general: { id: 'settings.general', defaultMessage: 'General' }, general: { id: 'settings.general', defaultMessage: 'General' },
compose: { id: 'settings.compose_box_opts', defaultMessage: 'Compose box options' }, compose: { id: 'settings.compose_box_opts', defaultMessage: 'Compose box' },
content_warnings: { id: 'settings.content_warnings', defaultMessage: 'Content Warnings' }, content_warnings: { id: 'settings.content_warnings', defaultMessage: 'Content Warnings' },
collapsed: { id: 'settings.collapsed_statuses', defaultMessage: 'Collapsed toots' }, collapsed: { id: 'settings.collapsed_statuses', defaultMessage: 'Collapsed toots' },
media: { id: 'settings.media', defaultMessage: 'Media' }, media: { id: 'settings.media', defaultMessage: 'Media' },

View File

@ -108,7 +108,7 @@ export default class LocalSettingsPage extends React.PureComponent {
), ),
({ intl, onChange, settings }) => ( ({ intl, onChange, settings }) => (
<div className='glitch local-settings__page compose_box_opts'> <div className='glitch local-settings__page compose_box_opts'>
<h1><FormattedMessage id='settings.compose_box_opts' defaultMessage='Compose box options' /></h1> <h1><FormattedMessage id='settings.compose_box_opts' defaultMessage='Compose box' /></h1>
<LocalSettingsPageItem <LocalSettingsPageItem
settings={settings} settings={settings}
item={['always_show_spoilers_field']} item={['always_show_spoilers_field']}