Remove redundant “options” from “Compose box options”

Thanks @ariasuni.
master
Thibaut Girka 6 years ago committed by ThibG
parent a0a8203a0b
commit c9d261753a
  1. 2
      app/javascript/flavours/glitch/features/local_settings/navigation/index.js
  2. 2
      app/javascript/flavours/glitch/features/local_settings/page/index.js

@ -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' },

@ -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']}

Loading…
Cancel
Save