mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
fix wording for multiple uploads
This commit is contained in:
parent
f5b34222a9
commit
58c0ce4c3f
@ -57,7 +57,13 @@ let FileDragAndDropDialog = React.createClass({
|
||||
if(this.props.multipleFiles) {
|
||||
return (
|
||||
<span className="file-drag-and-drop-dialog">
|
||||
{getLangText('Click or drag to add files')}
|
||||
<p>{getLangText('Drag files here')}</p>
|
||||
<p>{getLangText('or')}</p>
|
||||
<span
|
||||
className="btn btn-default"
|
||||
onClick={this.props.onClick}>
|
||||
{getLangText('choose files to upload')}
|
||||
</span>
|
||||
</span>
|
||||
);
|
||||
} else {
|
||||
|
@ -160,7 +160,7 @@ var ReactS3FineUploader = React.createClass({
|
||||
}
|
||||
return name;
|
||||
},
|
||||
multiple: false,
|
||||
multiple: true,
|
||||
defaultErrorMessage: getLangText('Unexpected error. Please contact us if this happens repeatedly.')
|
||||
};
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user