Skip to content

Commit f70a11b

Browse files
authored
feat(i18n): add Chinese translations (#2485)
1 parent 3b47de4 commit f70a11b

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

i18n/locales/zh-CN.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@
339339
"tangled": "在 Tangled 上查看"
340340
},
341341
"collapse": "收起",
342-
"expand": "展开"
342+
"collapse_with_name": "收起 {name}",
343+
"expand": "展开",
344+
"expand_with_name": "展开 {name}"
343345
},
344346
"profile": {
345347
"display_name": "显示名称",
@@ -1234,6 +1236,17 @@
12341236
"packages_selected": "已选择 {count}/{max} 个包。",
12351237
"add_hint": "至少添加 2 个包以进行比较。"
12361238
},
1239+
"scatter_chart": {
1240+
"title": "对比 {x} 与 {y}",
1241+
"freshness_score": "新鲜度评分",
1242+
"copy_alt": {
1243+
"analysis": "{package} : {x_name} ({x_value}) 和 {y_name} ({y_value})",
1244+
"description": "散点图:展示 {x_name} 和 {y_name} 对比结果。 {analysis}。 {watermark}"
1245+
},
1246+
"filename": "{x}-vs-{y}-散点图",
1247+
"x_axis": "X 轴 ↦",
1248+
"y_axis": "Y 轴 ↥"
1249+
},
12371250
"no_dependency": {
12381251
"label": "(不使用依赖)",
12391252
"typeahead_title": "James 会怎么做?",

i18n/locales/zh-TW.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,9 @@
338338
"tangled": "在 Tangled 上檢視"
339339
},
340340
"collapse": "收合",
341-
"expand": "展開"
341+
"collapse_with_name": "收合 {name}",
342+
"expand": "展開",
343+
"expand_with_name": "展開 {name}"
342344
},
343345
"profile": {
344346
"display_name": "顯示名稱",
@@ -1233,6 +1235,17 @@
12331235
"packages_selected": "已選擇 {count}/{max} 個套件。",
12341236
"add_hint": "至少新增 2 個套件以進行比較。"
12351237
},
1238+
"scatter_chart": {
1239+
"title": "比較 {x} 與 {y}",
1240+
"freshness_score": "新鮮度分數",
1241+
"copy_alt": {
1242+
"analysis": "{package} : {x_name} ({x_value}) 與 {y_name} ({y_value})",
1243+
"description": "散佈圖:顯示 {x_name} 與 {y_name} 的比較結果。 {analysis}。 {watermark}"
1244+
},
1245+
"filename": "{x}-vs-{y}-散佈圖",
1246+
"x_axis": "X 軸 ↦",
1247+
"y_axis": "Y 軸 ↥"
1248+
},
12361249
"no_dependency": {
12371250
"label": "(無相依套件)",
12381251
"typeahead_title": "如果是 James Garbutt 會怎麼做?",

0 commit comments

Comments
 (0)