add: zh_CN Translation

This commit is contained in:
wendal 2015-04-07 10:47:04 +08:00
parent 35897ef01f
commit 6e4d9ba446
2 changed files with 33 additions and 1 deletions

View File

@ -1,4 +1,4 @@
define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru", "app/i18n/it", "app/i18n/eo", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR", "app/i18n/es"], function(config, de, en, fr, ru, it, eo, sv, nl, el, es) {
define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru", "app/i18n/it", "app/i18n/eo", "app/i18n/sv", "app/i18n/nl", "app/i18n/el_GR", "app/i18n/es", "app/i18n/zh_CN"], function(config, de, en, fr, ru, it, eo, sv, nl, el, es, zh) {
"use strict";
@ -12,6 +12,7 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru"
case "it":
case "sv":
case "nl":
case "zh":
return function(msgs, n) {
return msgs[n === 1 ? 0 : 1];
};
@ -52,6 +53,7 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru"
ru: ru,
sv: sv,
nl: nl,
zh: zh,
es: es
};

30
isso/js/app/i18n/zh_CN.js Normal file
View File

@ -0,0 +1,30 @@
define({
"postbox-text": "在此输入评论(最少3个字符)",
"postbox-author": "名字(可选)",
"postbox-email": "E-mail(可选)",
"postbox-website": "网站(可选)",
"postbox-submit": "提交",
"num-comments": "1条评论\n{{ n }}条评论",
"no-comments": "还没有评论",
"comment-reply": "回复",
"comment-edit": "编辑",
"comment-save": "保存",
"comment-delete": "删除",
"comment-confirm": "确认",
"comment-close": "关闭",
"comment-cancel": "取消",
"comment-deleted": "评论已删除.",
"comment-queued": "评论待审核.",
"comment-anonymous": "匿名",
"comment-hidden": "{{ n }} 条评论已隐藏",
"date-now": "刚刚",
"date-minute": "1分钟前\n{{ n }}分钟前",
"date-hour": "1小时前\n{{ n }}小时前",
"date-day": "昨天\n{{ n }}天前",
"date-week": "上周\n{{ n }}周前",
"date-month": "上个月\n{{ n }}个月前",
"date-year": "去年\n{{ n }}年前"
});