Browse Source

i18n example fixes

Artur Paikin 8 years ago
parent
commit
2e3b25e599
2 changed files with 3 additions and 5 deletions
  1. 2 2
      website/src/examples/i18n/app.es6
  2. 1 3
      website/src/examples/i18n/index.ejs

+ 2 - 2
website/src/examples/i18n/app.es6

@@ -1,11 +1,11 @@
 import Uppy from '../../../../src/core/Core.js'
 import Uppy from '../../../../src/core/Core.js'
 import Tus10 from '../../../../src/plugins/GoogleDrive'
 import Tus10 from '../../../../src/plugins/GoogleDrive'
-import ru_RU from '../../../../src/locales/ru_RU'
+import russian from '../../../../src/locales/ru_RU'
 // import Uppy from 'uppy/core'
 // import Uppy from 'uppy/core'
 // import { Tus10 } from 'uppy/plugins'
 // import { Tus10 } from 'uppy/plugins'
 // import { ru_RU } from 'uppy/locales'
 // import { ru_RU } from 'uppy/locales'
 
 
-const uppy = new Uppy({debug: true, wait: false, locales: ru_RU})
+const uppy = new Uppy({debug: true, wait: false, locales: russian})
 
 
 uppy
 uppy
   .use(Tus10, {endpoint: 'http://master.tus.io:3020/files/'})
   .use(Tus10, {endpoint: 'http://master.tus.io:3020/files/'})

+ 1 - 3
website/src/examples/i18n/index.ejs

@@ -6,9 +6,7 @@ order: 4
 ---
 ---
 
 
 {% blockquote %}
 {% blockquote %}
-Here you'll see a demo of how you might set Uppy to work with language packs (i18n).
-Actually, two examples: pre-built bundle version ready to use with a <script> tag
-and the module, that you can bundle yourself with tools like <a href="http://webpack.github.io/">webpack</a>, <a href="http://browserify.org/">Browserify</a> or <a href="http://rollupjs.org/">rollup.js</a>.
+Here you'll see a demo of how you might set Uppy to work with language packs (i18n). Actually, two examples: pre-built bundle version ready to use with a &lt;script&gt; tag, and the module, that you can bundle yourself with tools like <a href="http://webpack.github.io/">webpack</a>, <a href="http://browserify.org/">Browserify</a> or <a href="http://rollupjs.org/">rollup.js</a>.
 {% endblockquote %}
 {% endblockquote %}
 
 
 <link rel="stylesheet" href="app.css">
 <link rel="stylesheet" href="app.css">