Browse Source

added zh-CN

shian48263 8 years ago
parent
commit
3c7a094af0
2 changed files with 7 additions and 1 deletions
  1. 1 1
      README.md
  2. 6 0
      locales/zh-CN.json

+ 1 - 1
README.md

@@ -20,7 +20,7 @@ fill out `config.js` as your infomation.
   **You should generate the token in admin user, not owner.**
   If you generate the token in owner user, `missing_scope` error will be occurred.
 * `inviteToken`: an optional security measure - if it is set, then that token will be required to get invited.
-* `locale`: application language (currently `en`, `de`, `es`, `fr`, `pt` and `zh-TW` available).
+* `locale`: application language (currently `en`, `de`, `es`, `fr`, `pt`, `zh-CN` and `zh-TW` available).
 
   You can test your token via curl:
 

+ 6 - 0
locales/zh-CN.json

@@ -0,0 +1,6 @@
+{
+  "HEADER": "以下请输入您的电子邮箱加入 %s 的 Slack!",
+  "ENTER_EMAIL": "输入您的电子邮箱地址",
+  "ENTER_TOKEN": "输入提供予您的邀请令牌",
+  "TITLE": "加入 %s 的 Slack 社群!"
+}