From 7a4ec97f0d534991cd75c9553a67703944e873e2 Mon Sep 17 00:00:00 2001 From: Leopoldthecoder Date: Sun, 26 Nov 2017 16:07:44 +0800 Subject: [PATCH] Chore: misc updates --- README.md | 4 ---- build/bin/version.js | 2 +- examples/docs/en-US/i18n.md | 1 + examples/docs/zh-CN/i18n.md | 1 + examples/index.tpl | 1 - examples/versions.json | 2 +- packages/select/src/select.vue | 2 +- packages/table/src/table.vue | 6 +++++- 8 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index bddc21da0..5f32c8f6f 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,6 @@ > A Vue.js 2.0 UI Toolkit for Web. - - - - ## Links - Homepage and documentation - International users: http://element.eleme.io/ diff --git a/build/bin/version.js b/build/bin/version.js index da642b33b..54d4fb429 100644 --- a/build/bin/version.js +++ b/build/bin/version.js @@ -1,6 +1,6 @@ var fs = require('fs'); var path = require('path'); var version = process.env.VERSION || require('../../package.json').version; -var content = { '1.0.9': '1.0', '1.1.6': '1.1', '1.2.9': '1.2', '1.3.7': '1.3', '1.4.10': '1.4' }; +var content = { '1.0.9': '1.0', '1.1.6': '1.1', '1.2.9': '1.2', '1.3.7': '1.3', '1.4.11': '1.4' }; if (!content[version]) content[version] = '2.0'; fs.writeFileSync(path.resolve(__dirname, '../../examples/versions.json'), JSON.stringify(content)); diff --git a/examples/docs/en-US/i18n.md b/examples/docs/en-US/i18n.md index 6b98f0b4b..f1fa7269d 100644 --- a/examples/docs/en-US/i18n.md +++ b/examples/docs/en-US/i18n.md @@ -207,6 +207,7 @@ Currently Element ships with the following languages:
  • Slovenian (sl)
  • Arabic (ar)
  • Hebrew (he)
  • +
  • Lithuanian (lt)
  • If your target language is not included, you are more than welcome to contribute: just add another language config [here](https://github.com/ElemeFE/element/tree/master/src/locale/lang) and create a pull request. diff --git a/examples/docs/zh-CN/i18n.md b/examples/docs/zh-CN/i18n.md index 78a1eae4a..87240edef 100644 --- a/examples/docs/zh-CN/i18n.md +++ b/examples/docs/zh-CN/i18n.md @@ -219,6 +219,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
  • 斯洛文尼亚语(sl)
  • 阿拉伯语(ar)
  • 希伯来语(he)
  • +
  • 立陶宛语(lt)
  • 如果你需要使用其他的语言,欢迎贡献 PR:只需在 [这里](https://github.com/ElemeFE/element/tree/master/src/locale/lang) 添加一个语言配置文件即可。 diff --git a/examples/index.tpl b/examples/index.tpl index 11cfea252..05b70386f 100644 --- a/examples/index.tpl +++ b/examples/index.tpl @@ -9,7 +9,6 @@
    <% if (process.env.NODE_ENV === 'production') { %> -