ソースを参照

alter locale a little

Artur Paikin 7 年 前
コミット
d9485b44d0
1 ファイル変更4 行追加4 行削除
  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 = {
     const defaultLocale = {
       strings: {
       strings: {
-        dropHere: 'Drop files here',
-        orBrowse: 'or browse'
+        dropHereOr: 'Drop files here or',
+        browse: 'browse'
         // selectedFiles: {
         // selectedFiles: {
         //   0: '%{smart_count} file selected',
         //   0: '%{smart_count} file selected',
         //   1: '%{smart_count} files selected'
         //   1: '%{smart_count} files selected'
@@ -135,8 +135,8 @@ module.exports = class DragDrop extends Plugin {
                  value=""
                  value=""
                  onchange=${this.handleInputChange.bind(this)} />
                  onchange=${this.handleInputChange.bind(this)} />
           <label class="uppy-DragDrop-label" onclick=${onSelect}>
           <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>
           </label>
           <span class="uppy-DragDrop-note">${this.opts.note}</span>
           <span class="uppy-DragDrop-note">${this.opts.note}</span>
         </form>
         </form>