Przeglądaj źródła

add translation team members.

Leopoldthecoder 8 lat temu
rodzic
commit
9cd6f36f1f

+ 13 - 0
README.md

@@ -66,5 +66,18 @@ We have collected some [frequently asked questions](https://github.com/ElemeFE/e
 ## Contribution
 Please make sure to read the [Contributing Guide](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.md) before making a pull request.
 
+## Special Thanks
+English documentation is brought to you by SwiftGG Translation Team. Our special thanks go to these fellows:
+- [raychenfj](https://github.com/raychenfj)
+- [kevin](http://thekevin.cn/)
+- [曾小涛](https://github.com/zengxiaotao)
+- [湾仔王二](https://github.com/wanzaiwanger)
+- [BlooDLine](http://www.ibloodline.com/)
+- [陈铭嘉](https://chenmingjia.github.io/)
+- [千叶知风](http://mpc6.com/)
+- [梁杰](http://numbbbbb.com)
+- [Changing](https://github.com/sunzhuo11)
+- [mmoaay](https://github.com/mmoaay)
+
 ## LICENSE
 MIT

+ 5 - 0
examples/docs/en-US/i18n.md

@@ -51,6 +51,11 @@ Currently Element ships with the following languages:
   <li>Italian (it)</li>
   <li>Korean (ko)</li>
   <li>Japanese (ja)</li>
+  <li>Dutch (nl)</li>
+  <li>Vietnamese (vi)</li>
+  <li>Russian (ru-RU)</li>
+  <li>Turkish (tr-TR)</li>
+  <li>Brazilian Portuguese (pt-br)</li>
 </ul>
 
 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.

+ 1 - 0
examples/docs/en-US/message-box.md

@@ -245,6 +245,7 @@ The corresponding methods are: `MessageBox`, `MessageBox.alert`, `MessageBox.con
 | title | title of the MessageBox | string | — | — |
 | message | content of the MessageBox | string | — | — |
 | type | message type, used for icon display | string | success/info/<br>warning/error | — |
+| callback | MessageBox closing callback if you don't prefer Promise | function(action), where action can be 'confirm' or 'cancel' | — | — |
 | lockScroll | whether to lock body scroll when MessageBox prompts | boolean | — | true |
 | showCancelButton | whether to show a cancel button | boolean | — | false (true when called with confirm and prompt) |
 | showConfirmButton | whether to show a confirm button | boolean | — | true |

+ 5 - 0
examples/docs/zh-CN/i18n.md

@@ -63,6 +63,11 @@ Vue.component(Select.name, Select)
   <li>意大利语(it)</li>
   <li>韩语(ko)</li>
   <li>日语(ja)</li>
+  <li>荷兰语(nl)</li>
+  <li>越南语(vi)</li>
+  <li>俄语(ru-RU)</li>
+  <li>土耳其语(tr-TR)</li>
+  <li>巴西葡萄牙语(pt-br)</li>
 </ul>
  
 如果你需要使用其他的语言,欢迎贡献 PR:只需在 [这里](https://github.com/ElemeFE/element/tree/master/src/locale/lang) 添加一个语言配置文件即可。

+ 1 - 0
examples/docs/zh-CN/message-box.md

@@ -242,6 +242,7 @@ import { MessageBox } from 'element-ui';
 | title | MessageBox 标题 | string | — | — |
 | message | MessageBox 消息正文内容 | string | — | — |
 | type | 消息类型,用于显示图标 | string | success/info/<br>warning/error | — |
+| callback | 若不使用 Promise,可以使用此参数指定 MessageBox 关闭后的回调 | function(action),action 的值为'confirm'或'cancel' | — | — |
 | lockScroll | 是否在 MessageBox 出现时将 body 滚动锁定 | boolean | — | true |
 | showCancelButton | 是否显示取消按钮 | boolean | — | false(以 confirm 和 prompt 方式调用时为 true) |
 | showConfirmButton | 是否显示确定按钮 | boolean | — | true |