Skip to content

Commit a0dd2a9

Browse files
authored
fix(i18n): update Simplified Chinese and Traditional Chinese translations (#2147)
1 parent 62a9db0 commit a0dd2a9

File tree

2 files changed

+180
-28
lines changed

2 files changed

+180
-28
lines changed

i18n/locales/zh-CN.json

Lines changed: 51 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
"go_to_result": "跳转到结果",
3737
"open_code_view": "打开代码视图",
3838
"open_docs": "打开文档",
39-
"disable_shortcuts": "你可以在{settings}中禁用快捷键。"
39+
"disable_shortcuts": "你可以在{settings}中禁用快捷键。",
40+
"open_main": "查看主要信息",
41+
"open_diff": "查看版本差异"
4042
},
4143
"search": {
4244
"label": "搜索 npm 包",
@@ -136,6 +138,8 @@
136138
"include_types_description": "为未提供类型定义的包自动添加 {'@'}types 包到安装命令",
137139
"hide_platform_packages": "在搜索结果隐藏平台特定包",
138140
"hide_platform_packages_description": "在搜索结果中隐藏平台特定的原生二进制包(例如 {'@'}esbuild/linux-x64)",
141+
"enable_graph_pulse_loop": "启用迷你图表脉冲循环效果",
142+
"enable_graph_pulse_loop_description": "在周下载量图表上启用持续脉冲动画。部分用户可能会觉得该动画效果易造成视觉干扰。",
139143
"theme": "主题",
140144
"theme_light": "浅色",
141145
"theme_dark": "深色",
@@ -192,7 +196,17 @@
192196
"error": "加载出错",
193197
"view_on": {
194198
"npm": "在 npm 上查看",
195-
"github": "在 GitHub 上查看"
199+
"github": "在 GitHub 上查看",
200+
"gitlab": "在 GitLab 上查看",
201+
"bitbucket": "在 Bitbucket 上查看",
202+
"codeberg": "在 Codeberg 上查看",
203+
"git_repo": "在 Git 仓库上查看",
204+
"forgejo": "在 Forgejo 上查看",
205+
"gitea": "在 Gitea 上查看",
206+
"gitee": "在 Gitee 上查看",
207+
"radicle": "在 Radicle 上查看",
208+
"sourcehut": "在 SourceHut 上查看",
209+
"tangled": "在 Tangled 上查看"
196210
}
197211
},
198212
"profile": {
@@ -275,6 +289,7 @@
275289
"view_source": "查看源代码"
276290
},
277291
"links": {
292+
"main": "main",
278293
"repo": "仓库",
279294
"homepage": "主页",
280295
"issues": "议题",
@@ -350,7 +365,9 @@
350365
"published": "发布于",
351366
"weekly_downloads": "每周下载量",
352367
"keywords": "关键词",
353-
"license": "许可证"
368+
"license": "许可证",
369+
"select": "选择软件包",
370+
"select_maximum": "最多可选择 {count} 个软件包"
354371
},
355372
"versions": {
356373
"title": "版本",
@@ -365,6 +382,7 @@
365382
"all_covered": "所有版本均已包含于上方标签中。",
366383
"deprecated_title": "{version}(已弃用)",
367384
"view_all": "查看全部 {count} 个版本",
385+
"view_all_versions": "查看所有版本",
368386
"distribution_title": "语义化版本分组",
369387
"distribution_modal_title": "版本",
370388
"distribution_range_date_same_year": "{endYear}年 {from} 至 {to}",
@@ -376,6 +394,7 @@
376394
"grouping_versions_only_recent": "仅最近",
377395
"grouping_usage_title": "使用率",
378396
"grouping_usage_all": "全部",
397+
"grouping_usage_most_used": "最常用",
379398
"recent_versions_only_tooltip": "仅显示在过去一年内发布的版本。",
380399
"show_low_usage_tooltip": "包括下载量低于 1% 的版本组。",
381400
"y_axis_label": "下载量",
@@ -388,7 +407,12 @@
388407
"copy_alt": {
389408
"per_version_analysis": "{version} ({downloads}次)",
390409
"general_description": "条形图展示了 {package_name} 在 {date_range_label} 期间的下载量分布,数据涵盖了{versions_count} 个 {semver_grouping_mode}(从{first_version}到{last_version})。下载量最高的版本是{max_downloaded_version},达{max_version_downloads}次。其余版本下载量:{per_version_analysis}。{watermark}。"
391-
}
410+
},
411+
"page_title": "版本历史",
412+
"current_tags": "当前标签",
413+
"version_filter_placeholder": "筛选版本…",
414+
"version_filter_label": "筛选版本",
415+
"no_match_filter": "没有与“{filter}”匹配的版本"
392416
},
393417
"dependencies": {
394418
"title": "依赖({count} 个)",
@@ -423,7 +447,8 @@
423447
"cancel_add": "取消添加拥有者",
424448
"add_owner": "+ 添加拥有者",
425449
"show_more": "(显示另外 {count} 个)",
426-
"show_less": "(收起)"
450+
"show_less": "(收起)",
451+
"maintainer_template": "{avatar} {char126}{name}"
427452
},
428453
"trends": {
429454
"granularity": "周期",
@@ -455,6 +480,7 @@
455480
"data_correction": "数据校正",
456481
"average_window": "平均窗口",
457482
"smoothing": "平滑处理",
483+
"prediction": "预测",
458484
"known_anomalies": "已知异常",
459485
"known_anomalies_description": "对已知的由机器人或CI问题导致的下载峰值进行插值处理。",
460486
"known_anomalies_ranges": "异常区间",
@@ -475,7 +501,9 @@
475501
"estimations": "(注:最终值为基于部分数据的估算)",
476502
"compare": "以下为 {packages} 的下载量对比折线图。",
477503
"single_package": "{package} 的下载量折线图。",
478-
"general_description": "Y 轴表示下载量,X 轴表示日期范围({start_date} 至 {end_date}),统计周期为{granularity}。{estimation_notice} {packages_analysis}。{watermark}。"
504+
"general_description": "Y 轴表示下载量,X 轴表示日期范围({start_date} 至 {end_date}),统计周期为{granularity}。{estimation_notice} {packages_analysis}。{watermark}。",
505+
"facet_bar_general_description": "水平条形图:{packages} 的 {facet} 对比({description})。{facet_analysis} {watermark}",
506+
"facet_bar_analysis": "{package_name}:{value}"
479507
}
480508
},
481509
"downloads": {
@@ -774,7 +802,9 @@
774802
"preview": "预览",
775803
"code": "代码"
776804
},
777-
"file_path": "文件路径"
805+
"file_path": "文件路径",
806+
"binary_file": "二进制文件",
807+
"binary_rendering_warning": "暂不支持预览“{contentType}”类型的文件。"
778808
},
779809
"badges": {
780810
"provenance": {
@@ -836,6 +866,7 @@
836866
"secure": "没有警告",
837867
"insecure": "有警告"
838868
},
869+
"view_selected": "查看选中项",
839870
"sort": {
840871
"label": "排序包",
841872
"toggle_direction": "切换排序方向",
@@ -869,7 +900,8 @@
869900
"popularity_score": "受欢迎度",
870901
"maintenance_score": "维护程度",
871902
"combined_score": "总分",
872-
"security": "安全性"
903+
"security": "安全性",
904+
"selection": "选择软件包"
873905
},
874906
"view_mode": {
875907
"label": "视图模式",
@@ -1033,7 +1065,9 @@
10331065
"loading": "正在加载包数据…",
10341066
"error": "加载包数据失败。请重试。",
10351067
"empty_title": "选择要比较的包",
1036-
"empty_description": "在上方搜索并添加至少 2 个包,以查看它们指标的并排比较。"
1068+
"empty_description": "在上方搜索并添加至少 2 个包,以查看它们指标的并排比较。",
1069+
"table_view": "表格视图",
1070+
"charts_view": "图表视图"
10371071
},
10381072
"selector": {
10391073
"search_label": "搜索包",
@@ -1144,7 +1178,8 @@
11441178
"file_too_large": "文件过大,无法对比",
11451179
"file_size_warning": "{size} 超出了 250KB 的对比限制",
11461180
"compare_versions": "差异",
1147-
"compare_versions_title": "与最新版本比较",
1181+
"compare_versions_title": "与最新版本对比",
1182+
"version_selector_title": "版本对比",
11481183
"summary": "摘要",
11491184
"deps_count": "{count} 个依赖",
11501185
"dependencies": "直接依赖项",
@@ -1309,5 +1344,11 @@
13091344
"p1": "如果你在 {app} 上遇到无障碍访问问题,请在我们的 {link} 上提交 Issue 反馈给我们。我们会认真对待这些反馈,并尽力解决。",
13101345
"link": "GitHub 仓库"
13111346
}
1347+
},
1348+
"action_bar": {
1349+
"title": "操作栏",
1350+
"selection": "0 个项目被选中 | 1 个项目被选中 | {count} 个项目被选中",
1351+
"shortcut": "按下 \"{key}\" 快捷键以执行操作",
1352+
"button_close_aria_label": "关闭操作面板"
13121353
}
13131354
}

0 commit comments

Comments
 (0)