Browse Source

Merge pull request #327 from TazeTSchnitzel/clearer_unlisted

Replace “Unlisted mode” with “Do not show on public timeline”
closed-social-v3
Eugen 8 years ago
committed by GitHub
parent
commit
2b2797d6a5
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/assets/javascripts/components/features/compose/components/compose_form.jsx
  2. +1
    -1
      app/assets/javascripts/components/locales/en.jsx

+ 1
- 1
app/assets/javascripts/components/features/compose/components/compose_form.jsx View File

@ -195,7 +195,7 @@ const ComposeForm = React.createClass({
<label style={{ display: 'block', lineHeight: '24px', verticalAlign: 'middle', marginTop: '10px', borderTop: '1px solid #282c37', paddingTop: '10px' }}> <label style={{ display: 'block', lineHeight: '24px', verticalAlign: 'middle', marginTop: '10px', borderTop: '1px solid #282c37', paddingTop: '10px' }}>
<Toggle checked={this.props.unlisted} onChange={this.handleChangeVisibility} /> <Toggle checked={this.props.unlisted} onChange={this.handleChangeVisibility} />
<span style={{ display: 'inline-block', verticalAlign: 'middle', marginBottom: '14px', marginLeft: '8px', color: '#9baec8' }}><FormattedMessage id='compose_form.unlisted' defaultMessage='Unlisted mode' /></span>
<span style={{ display: 'inline-block', verticalAlign: 'middle', marginBottom: '14px', marginLeft: '8px', color: '#9baec8' }}><FormattedMessage id='compose_form.unlisted' defaultMessage='Do not show on public timeline' /></span>
</label> </label>
<label style={{ display: 'block', lineHeight: '24px', verticalAlign: 'middle' }}> <label style={{ display: 'block', lineHeight: '24px', verticalAlign: 'middle' }}>

+ 1
- 1
app/assets/javascripts/components/locales/en.jsx View File

@ -38,7 +38,7 @@ const en = {
"compose_form.placeholder": "What is on your mind?", "compose_form.placeholder": "What is on your mind?",
"compose_form.publish": "Toot", "compose_form.publish": "Toot",
"compose_form.sensitive": "Mark content as sensitive", "compose_form.sensitive": "Mark content as sensitive",
"compose_form.unlisted": "Unlisted mode",
"compose_form.unlisted": "Do not show on public timeline",
"navigation_bar.settings": "Settings", "navigation_bar.settings": "Settings",
"navigation_bar.public_timeline": "Public timeline", "navigation_bar.public_timeline": "Public timeline",
"navigation_bar.logout": "Logout", "navigation_bar.logout": "Logout",

Loading…
Cancel
Save