mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
Fix locales — point to CDN v1.31.0
This commit is contained in:
parent
980074c0a1
commit
198f23649f
3 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ Add a `<script>` tag with Uppy bundle and the locale pack you’d like to use. Y
|
|||
|
||||
```html
|
||||
<script src="https://releases.transloadit.com/uppy/v1.31.0/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/locales/v2.0.0-alpha.0/de_DE.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/locales/v1.31.0/de_DE.min.js"></script>
|
||||
|
||||
<script>
|
||||
var uppy = Uppy.Core({
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ function loadLocaleFromCDN (localeName) {
|
|||
const head = document.getElementsByTagName('head')[0]
|
||||
const js = document.createElement('script')
|
||||
js.type = 'text/javascript'
|
||||
js.src = `https://releases.transloadit.com/uppy/locales/v2.0.0-alpha.0/${localeName}.min.js`
|
||||
js.src = `https://releases.transloadit.com/uppy/locales/v1.31.0/${localeName}.min.js`
|
||||
|
||||
head.appendChild(js)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<!-- Load Uppy JS bundle. -->
|
||||
<script src="https://releases.transloadit.com/uppy/v1.31.0/uppy.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/locales/v2.0.0-alpha.0/ru_RU.min.js"></script>
|
||||
<script src="https://releases.transloadit.com/uppy/locales/v1.31.0/ru_RU.min.js"></script>
|
||||
<script>
|
||||
var uppy = Uppy.Core({
|
||||
debug: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue