Skip to content

Commit 6b74d55

Browse files
fix(i18n): update zh-CN translation (#734)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent e4f9d61 commit 6b74d55

File tree

2 files changed

+178
-18
lines changed

2 files changed

+178
-18
lines changed

i18n/locales/zh-CN.json

Lines changed: 89 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"description": "更好的 npm 仓库浏览工具。通过更现代化的用户界面搜索,浏览,并探索软件包。"
66
}
77
},
8+
"version": "版本",
9+
"built_at": "构建于 {0}",
10+
"alt_logo": "npmx 标志",
811
"tagline": "更好的 npm 仓库浏览工具",
912
"non_affiliation_disclaimer": "不与 npm, Inc. 有任何隶属关系",
1013
"trademark_disclaimer": "npm 是 npm, Inc. 的注册商标。本网站不与 npm, Inc. 有任何隶属关系。",
@@ -24,6 +27,7 @@
2427
"found_packages": "共找到 {count} 个包",
2528
"updating": "(更新中…)",
2629
"no_results": "未找到匹配“{query}”的包",
30+
"title": "搜索",
2731
"not_taken": "{name} 尚未被占用",
2832
"claim_prompt": "在 npm 上声明",
2933
"claim_button": "声明“{name}”",
@@ -42,7 +46,13 @@
4246
"popular_packages": "热门软件包",
4347
"search": "搜索",
4448
"settings": "设置",
45-
"back": "返回"
49+
"compare": "比较包",
50+
"back": "返回",
51+
"menu": "菜单",
52+
"mobile_menu": "导航菜单",
53+
"open_menu": "打开菜单",
54+
"links": "链接",
55+
"tap_to_search": "点击搜索"
4656
},
4757
"settings": {
4858
"title": "设置",
@@ -67,7 +77,8 @@
6777
"help_translate": "帮助翻译 npmx",
6878
"accent_colors": "强调色",
6979
"clear_accent": "清除强调色",
70-
"translation_progress": "翻译进度"
80+
"translation_progress": "翻译进度",
81+
"background_themes": "背景色调"
7182
},
7283
"i18n": {
7384
"missing_keys": "{count} 项缺少翻译",
@@ -94,6 +105,7 @@
94105
"go_back_home": "返回首页",
95106
"view_on_npm": "在 npm 上查看",
96107
"per_week": "/ 周",
108+
"vanity_downloads_hint": "累计下载量:未显示包 | 累计下载量:显示的包 | 累计下载量:{count} 个显示的包的总和",
97109
"sort": {
98110
"name": "名称",
99111
"role": "角色",
@@ -110,6 +122,7 @@
110122
"verified_provenance": "已验证的来源",
111123
"view_permalink": "查看这个版本的链接",
112124
"navigation": "包导航",
125+
"copy_name": "复制包名",
113126
"deprecation": {
114127
"package": "这个包已经被弃用。",
115128
"version": "这个版本已经被弃用。",
@@ -130,6 +143,9 @@
130143
"deps": "依赖项",
131144
"install_size": "安装大小",
132145
"vulns": "漏洞",
146+
"published": "发布于",
147+
"published_tooltip": "日期 {package}{'@'}{version} 发布",
148+
"skills": "技能",
133149
"view_dependency_graph": "查看依赖图",
134150
"inspect_dependency_tree": "查看依赖树",
135151
"size_tooltip": {
@@ -138,7 +154,22 @@
138154
}
139155
},
140156
"skills": {
141-
"file_counts": {}
157+
"title": "代理技能",
158+
"skills_available": "{count} 个技能可用 | {count} 个技能可用",
159+
"view": "查看",
160+
"compatible_with": "兼容 {tool}",
161+
"install": "安装",
162+
"installation_method": "安装方法",
163+
"learn_more": "了解更多",
164+
"available_skills": "可用技能",
165+
"click_to_expand": "点击展开",
166+
"no_description": "无描述",
167+
"file_counts": {
168+
"scripts": "{count} 个脚本 | {count} 个脚本",
169+
"refs": "{count} 个引用 | {count} 个引用",
170+
"assets": "{count} 个资源 | {count} 个资源"
171+
},
172+
"view_source": "查看源代码"
142173
},
143174
"links": {
144175
"repo": "仓库",
@@ -147,7 +178,8 @@
147178
"jsr": "jsr",
148179
"code": "代码",
149180
"docs": "文档",
150-
"fund": "资助"
181+
"fund": "资助",
182+
"compare": "比较"
151183
},
152184
"docs": {
153185
"not_available": "文档不可用",
@@ -176,6 +208,7 @@
176208
"compatibility": "兼容性",
177209
"card": {
178210
"publisher": "发布者",
211+
"published": "发布于",
179212
"weekly_downloads": "每周下载量",
180213
"keywords": "关键词",
181214
"license": "许可证"
@@ -267,7 +300,8 @@
267300
"no_types": "没有 TypeScript 类型"
268301
},
269302
"license": {
270-
"view_spdx": "在 SPDX 上查看许可证文本"
303+
"view_spdx": "在 SPDX 上查看许可证文本",
304+
"none": ""
271305
},
272306
"vulnerabilities": {
273307
"no_description": "没有可用的描述",
@@ -334,6 +368,7 @@
334368
"weekly": "每周",
335369
"size": "大小",
336370
"deps": "依赖",
371+
"published": "发布于",
337372
"get_started": "开始使用",
338373
"readme": "Readme",
339374
"maintainers": "维护者",
@@ -343,6 +378,7 @@
343378
},
344379
"sort": {
345380
"downloads": "最多下载的",
381+
"published": "最近发布的",
346382
"name_asc": "名称(A-Z)",
347383
"name_desc": "名称(Z-A)"
348384
}
@@ -360,6 +396,9 @@
360396
},
361397
"modal": {
362398
"title": "本地连接器",
399+
"contributor_badge": "贡献者专用",
400+
"contributor_notice": "连接器尚未发布到 npm。请参阅 {link} 了解如何本地运行。",
401+
"contributor_link": "贡献指南",
363402
"connected": "已连接",
364403
"connected_as_user": "已连接为 {'@'}{user}",
365404
"connected_hint": "现在您可以通过 Web UI 管理包和组织。",
@@ -557,7 +596,8 @@
557596
"markdown_view_mode": {
558597
"preview": "预览",
559598
"code": "代码"
560-
}
599+
},
600+
"file_path": "文件路径"
561601
},
562602
"badges": {
563603
"provenance": {
@@ -623,6 +663,7 @@
623663
"downloads_day": "每日下载量",
624664
"downloads_month": "每月下载量",
625665
"downloads_year": "每年下载量",
666+
"published": "最近发布的",
626667
"name": "名称",
627668
"quality": "质量评分",
628669
"popularity": "受欢迎度",
@@ -638,6 +679,7 @@
638679
"version": "版本",
639680
"description": "描述",
640681
"downloads": "每周下载量",
682+
"published": "最近发布的",
641683
"maintainers": "维护者",
642684
"keywords": "关键词",
643685
"quality_score": "质量评分",
@@ -777,10 +819,48 @@
777819
}
778820
},
779821
"compare": {
780-
"packages": {},
781-
"selector": {},
822+
"packages": {
823+
"title": "比较包",
824+
"tagline": "并排比较 npm 包,帮助您选择合适的包。",
825+
"meta_title": "比较 {packages} - npmx",
826+
"meta_title_empty": "比较包 - npmx",
827+
"meta_description": "并排比较 {packages}",
828+
"meta_description_empty": "并排比较 npm 包,帮助您选择合适的包。",
829+
"section_packages": "",
830+
"section_facets": "方面",
831+
"section_comparison": "比较",
832+
"loading": "正在加载包数据…",
833+
"error": "加载包数据失败。请重试。",
834+
"empty_title": "选择要比较的包",
835+
"empty_description": "在上方搜索并添加至少 2 个包,以查看它们指标的并排比较。"
836+
},
837+
"selector": {
838+
"search_label": "搜索包",
839+
"search_first": "搜索包...",
840+
"search_add": "添加另一个包...",
841+
"searching": "搜索中...",
842+
"remove_package": "移除 {package}",
843+
"packages_selected": "{count}/{max} 个包已选择。",
844+
"add_hint": "至少添加 2 个包以进行比较。",
845+
"loading_versions": "正在加载版本...",
846+
"select_version": "选择版本"
847+
},
782848
"facets": {
783-
"categories": {}
849+
"group_label": "比较方面",
850+
"all": "全部",
851+
"none": "",
852+
"coming_soon": "即将推出",
853+
"select_all": "选择所有方面",
854+
"deselect_all": "取消选择所有方面",
855+
"select_category": "选择所有 {category} 方面",
856+
"deselect_category": "取消选择所有 {category} 方面",
857+
"binary_only_tooltip": "此包仅暴露二进制文件且无导出的指标",
858+
"categories": {
859+
"performance": "性能",
860+
"health": "健康",
861+
"compatibility": "兼容性",
862+
"security": "安全与合规"
863+
}
784864
}
785865
}
786866
}

0 commit comments

Comments
 (0)