Skip to content

Commit 3f73d83

Browse files
committed
Merge pull request isso-comments#184 from wendal/i18n_zh_CN
add: zh_CN Translation
2 parents 35897ef + 6e4d9ba commit 3f73d83

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

isso/js/app/i18n.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
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) {
1+
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) {
22

33
"use strict";
44

@@ -12,6 +12,7 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru"
1212
case "it":
1313
case "sv":
1414
case "nl":
15+
case "zh":
1516
return function(msgs, n) {
1617
return msgs[n === 1 ? 0 : 1];
1718
};
@@ -52,6 +53,7 @@ define(["app/config", "app/i18n/de", "app/i18n/en", "app/i18n/fr", "app/i18n/ru"
5253
ru: ru,
5354
sv: sv,
5455
nl: nl,
56+
zh: zh,
5557
es: es
5658
};
5759

isso/js/app/i18n/zh_CN.js

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
define({
2+
"postbox-text": "在此输入评论(最少3个字符)",
3+
"postbox-author": "名字(可选)",
4+
"postbox-email": "E-mail(可选)",
5+
"postbox-website": "网站(可选)",
6+
"postbox-submit": "提交",
7+
8+
"num-comments": "1条评论\n{{ n }}条评论",
9+
"no-comments": "还没有评论",
10+
11+
"comment-reply": "回复",
12+
"comment-edit": "编辑",
13+
"comment-save": "保存",
14+
"comment-delete": "删除",
15+
"comment-confirm": "确认",
16+
"comment-close": "关闭",
17+
"comment-cancel": "取消",
18+
"comment-deleted": "评论已删除.",
19+
"comment-queued": "评论待审核.",
20+
"comment-anonymous": "匿名",
21+
"comment-hidden": "{{ n }} 条评论已隐藏",
22+
23+
"date-now": "刚刚",
24+
"date-minute": "1分钟前\n{{ n }}分钟前",
25+
"date-hour": "1小时前\n{{ n }}小时前",
26+
"date-day": "昨天\n{{ n }}天前",
27+
"date-week": "上周\n{{ n }}周前",
28+
"date-month": "上个月\n{{ n }}个月前",
29+
"date-year": "去年\n{{ n }}年前"
30+
});

0 commit comments

Comments
 (0)