Переглянути джерело

Changelog, config, minor tweaks

Artur Paikin 9 роки тому
батько
коміт
40c30549b4
4 змінених файлів з 6 додано та 6 видалено
  1. 1 0
      CHANGELOG.md
  2. 1 2
      src/core/Translator.js
  3. 3 3
      website/_config.yml
  4. 1 1
      website/src/examples/i18n/app.es6

+ 1 - 0
CHANGELOG.md

@@ -17,6 +17,7 @@ Work not started yet
 - [ ] core: Apply plugins when DOM elements aren't static (#25)
 - [ ] core: Create a progressbar/spinner/etc plugin (#18)
 - [ ] multipart: Write an acceptance test for the Multipart example via Saucelabs (#2, #23, @hedgerh)
+- [ ] tests: setup an HTML page with all sorts of crazy styles and resets to see what brakes Uppy 
 
 ## 0.0.2 (Unreleased, work in progress)
 

+ 1 - 2
src/core/Translator.js

@@ -7,7 +7,7 @@
  * and can be easily added among with dictionaries, nested objects are used for pluralization
  * as opposed to `||||` delimeter
  *
- * Usage example: `translator.t('files_chosen', {smart_count: 3})`
+ * Usage example: `translator.translate('files_chosen', {smart_count: 3})`
  *
  * @param {object} opts
  */
@@ -61,7 +61,6 @@ export default class Translator {
   translate (key, options) {
     if (options && options.smart_count) {
       var plural = this.opts.locale.pluralize(options.smart_count)
-      console.log(this)
       return this.interpolate(this.opts.locale.strings[key][plural], options)
     }
 

+ 3 - 3
website/_config.yml

@@ -5,9 +5,9 @@
 # Uppy versions, auto updated by update.js
 uppy_version: 0.0.1
 
-uppy_dev_size: "121.27"
-uppy_min_size: "121.27"
-uppy_gz_size: "121.27"
+uppy_dev_size: "89.87"
+uppy_min_size: "89.87"
+uppy_gz_size: "89.87"
 
 # Theme
 google_analytics: UA-63083-12

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

@@ -1,7 +1,7 @@
 import Uppy from 'uppy/core'
 import { Tus10 } from 'uppy/plugins'
 
-const ru   = require('../../../../src/locale/ru.js')
+const ru = require('../../../../src/locale/ru.js')
 const uppy = new Uppy({wait: false, locale: ru})
 
 uppy