]> cat aescling's git repositories - mastodon.git/commitdiff
Specify allowed media in upload button tooltip. (#8443)
authorM Somerville <dracos@users.noreply.github.com>
Sat, 25 Aug 2018 22:18:40 +0000 (23:18 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 25 Aug 2018 22:18:40 +0000 (00:18 +0200)
app/javascript/mastodon/features/compose/components/upload_button.js
app/javascript/mastodon/locales/en.json

index 70b28a2baeb27fbd9b742c16e9533c226704aa47..2f38f5148ddac38de12779132eb4889e8449c3c6 100644 (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 = () => {
index 432c4f0b0afd196e62fe2bd28d50a30d4388b8ad..3d8fdc0d792ab29ba25fb782b5e0d638a329af30 100644 (file)
   "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",