Browse Source

Specify allowed media in upload button tooltip. (#8443)

pull/4/head
M Somerville 5 years ago
committed by Eugen Rochko
parent
commit
df06f53f9b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/javascript/mastodon/features/compose/components/upload_button.js
  2. +1
    -1
      app/javascript/mastodon/locales/en.json

+ 1
- 1
app/javascript/mastodon/features/compose/components/upload_button.js View File

@ -7,7 +7,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
import ImmutablePropTypes from 'react-immutable-proptypes';
const messages = defineMessages({
upload: { id: 'upload_button.label', defaultMessage: 'Add media' },
upload: { id: 'upload_button.label', defaultMessage: 'Add media (JPEG, PNG, GIF, WebM, MP4)' },
});
const makeMapStateToProps = () => {

+ 1
- 1
app/javascript/mastodon/locales/en.json View File

@ -297,7 +297,7 @@
"trends.count_by_accounts": "{count} {rawCount, plural, one {person} other {people}} talking",
"ui.beforeunload": "Your draft will be lost if you leave Mastodon.",
"upload_area.title": "Drag & drop to upload",
"upload_button.label": "Add media",
"upload_button.label": "Add media (JPEG, PNG, GIF, WebM, MP4)",
"upload_form.description": "Describe for the visually impaired",
"upload_form.focus": "Crop",
"upload_form.undo": "Delete",

Loading…
Cancel
Save