alter locale a little

This commit is contained in:
Artur Paikin 2017-10-03 16:41:59 -04:00
parent 6c1253f75e
commit d9485b44d0

View file

@ -24,8 +24,8 @@ module.exports = class DragDrop extends Plugin {
const defaultLocale = {
strings: {
dropHere: 'Drop files here',
orBrowse: 'or browse'
dropHereOr: 'Drop files here or',
browse: 'browse'
// selectedFiles: {
// 0: '%{smart_count} file selected',
// 1: '%{smart_count} files selected'
@ -135,8 +135,8 @@ module.exports = class DragDrop extends Plugin {
value=""
onchange=${this.handleInputChange.bind(this)} />
<label class="uppy-DragDrop-label" onclick=${onSelect}>
${this.i18n('dropHere')}
<span class="uppy-DragDrop-dragText">${this.i18n('orBrowse')}</span>
${this.i18n('dropHereOr')}
<span class="uppy-DragDrop-dragText">${this.i18n('browse')}</span>
</label>
<span class="uppy-DragDrop-note">${this.opts.note}</span>
</form>