Explorar o código

alter locale a little

Artur Paikin %!s(int64=7) %!d(string=hai) anos
pai
achega
d9485b44d0
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/plugins/DragDrop/index.js

+ 4 - 4
src/plugins/DragDrop/index.js

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