mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-30 13:30:31 +00:00
update i18n example
This commit is contained in:
parent
7bce334d9f
commit
39c21b4384
2 changed files with 2 additions and 5 deletions
|
|
@ -1,11 +1,8 @@
|
|||
import Uppy from '../../../../src/core/Core.js'
|
||||
import Tus10 from '../../../../src/plugins/GoogleDrive'
|
||||
import russian from '../../../../src/locales/ru_RU'
|
||||
// import Uppy from 'uppy/core'
|
||||
// import { Tus10 } from 'uppy/plugins'
|
||||
// import { ru_RU } from 'uppy/locales'
|
||||
|
||||
const uppy = new Uppy({debug: true, wait: false, locales: russian})
|
||||
const uppy = new Uppy({debug: true, autoProceed: false, locale: russian})
|
||||
|
||||
uppy
|
||||
.use(Tus10, {endpoint: '//tusd.tus.io/files/'})
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<script src="/uppy/uppy.min.js"></script>
|
||||
<script src="/uppy/locales/ru_RU.js"></script>
|
||||
<script>
|
||||
var uppy = new Uppy.Core({locales: Uppy.locales.ru_RU, debug: true});
|
||||
var uppy = new Uppy.Core({locale: Uppy.locales.ru_RU, debug: true});
|
||||
uppy.use(Uppy.DragDrop, {target: '.UppyDragDrop'});
|
||||
uppy.use(Uppy.Tus10, {endpoint: 'http://master.tus.io:3020/files/'});
|
||||
uppy.run();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue