1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

fix wording for multiple uploads

This commit is contained in:
Tim Daubenschütz 2015-08-11 10:03:12 +02:00
parent f5b34222a9
commit 58c0ce4c3f
2 changed files with 8 additions and 2 deletions

View File

@ -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 {

View File

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