Skip to content

Commit 4898a7d

Browse files
9romiseautofix-ci[bot]
authored andcommitted
feat(i18n): update zh-CN translations (#377)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 38c11c3 commit 4898a7d

2 files changed

Lines changed: 270 additions & 14 deletions

File tree

i18n/locales/zh-CN.json

Lines changed: 135 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"found_packages": "共找到 {count} 个包",
2525
"updating": "(更新中...)",
2626
"no_results": "未找到匹配 \"{query}\" 的包",
27+
"results": "搜索结果",
2728
"not_taken": "{name} 尚未被占用",
2829
"claim_prompt": "在 npm 上声明",
2930
"claim_button": "声明 \"{name}\"",
@@ -41,7 +42,8 @@
4142
"popular_packages": "热门软件包",
4243
"search": "搜索",
4344
"settings": "设置",
44-
"back": "返回"
45+
"back": "返回",
46+
"main_navigation": "主页"
4547
},
4648
"settings": {
4749
"title": "设置",
@@ -55,9 +57,9 @@
5557
"relative_dates": "相对时间",
5658
"relative_dates_description": "显示 \"3天前\" 而不是完整日期",
5759
"include_types": "在安装时包含 {'@'}types",
58-
"include_types_description": "在未类型化的包的安装命令中添加 {'@'}types ",
59-
"hide_platform_packages": "在搜索结果中隐藏平台特定的包",
60-
"hide_platform_packages_description": "从结果中隐藏诸如 {'@'}esbuild/linux-x64 之类的原生二进制包",
60+
"include_types_description": "为未提供类型定义的包自动添加 {'@'}types 包到安装命令",
61+
"hide_platform_packages": "在搜索结果隐藏平台特定包",
62+
"hide_platform_packages_description": "在搜索结果中隐藏平台特定的原生二进制包(例如 {'@'}esbuild/linux-x64",
6163
"theme": "主题",
6264
"theme_dark": "深色",
6365
"theme_light": "浅色",
@@ -86,6 +88,8 @@
8688
"retry": "重试",
8789
"copy": "复制",
8890
"copied": "已复制!",
91+
"skip_link": "跳转到主界面",
92+
"close_modal": "关闭对话框",
8993
"show_more": "展示更多",
9094
"warnings": "警告:",
9195
"go_back_home": "返回首页",
@@ -106,18 +110,29 @@
106110
"not_latest": "(不是最新)",
107111
"verified_provenance": "已验证的来源",
108112
"view_permalink": "查看这个版本的链接",
113+
"navigation": "包导航",
109114
"deprecation": {
110115
"package": "这个包已经被弃用。",
111116
"version": "这个版本已经被弃用。",
112117
"no_reason": "没有提供原因"
113118
},
119+
"replacement": {
120+
"title": "您可能不需要这个依赖。",
121+
"native": "该功能自 Node.js {nodeVersion} 起已被内置,可直接使用 {replacement} 替代。",
122+
"simple": "社区标记此包为冗余,建议替换为:{replacement}。",
123+
"documented": "社区标记此包存在性能更优的替代方案",
124+
"none": "此包已被标记为不再需要,其功能很可能已由所有引擎原生提供。",
125+
"learn_more": "了解更多",
126+
"mdn": "MDN"
127+
},
114128
"stats": {
115129
"license": "许可证",
116130
"deps": "依赖项",
117131
"install_size": "安装大小",
118132
"updated": "最近更新",
119133
"view_dependency_graph": "查看依赖图",
120-
"inspect_dependency_tree": "查看依赖树"
134+
"inspect_dependency_tree": "查看依赖树",
135+
"vulns": "漏洞"
121136
},
122137
"links": {
123138
"repo": "仓库",
@@ -128,6 +143,10 @@
128143
"docs": "文档",
129144
"fund": "资助"
130145
},
146+
"docs": {
147+
"not_available": "文档不可用",
148+
"not_available_detail": "我们无法为此版本生成文档。"
149+
},
131150
"get_started": {
132151
"title": "开始使用",
133152
"pm_label": "包管理器",
@@ -173,7 +192,8 @@
173192
"title": "依赖({count}个)",
174193
"list_label": "包依赖",
175194
"show_all": "显示全部 {count} 个依赖",
176-
"optional": "可选"
195+
"optional": "可选",
196+
"view_vulnerabilities": "查看漏洞"
177197
},
178198
"peer_dependencies": {
179199
"title": "对等依赖({count}个)",
@@ -213,7 +233,9 @@
213233
"end_date": "结束",
214234
"no_data": "没有下载数据",
215235
"loading": "加载中...",
216-
"y_axis_label": "{granularity} 下载量"
236+
"y_axis_label": "{granularity} 下载量",
237+
"download_file": "下载 {fileType}",
238+
"toggle_annotator": "切换标注工具"
217239
},
218240
"install_scripts": {
219241
"title": "安装脚本",
@@ -537,6 +559,112 @@
537559
"label": "jsr"
538560
}
539561
},
562+
"filters": {
563+
"title": "筛选",
564+
"search": "搜索",
565+
"search_scope": "搜索范围",
566+
"search_placeholder_name": "通过包名搜索...",
567+
"search_placeholder_description": "通过描述搜索...",
568+
"search_placeholder_keywords": "通过关键词搜索...",
569+
"search_placeholder_all": "搜索全部或使用 name: desc: kw:",
570+
"scope_name": "名称",
571+
"scope_name_description": "只搜索包名",
572+
"scope_description": "描述",
573+
"scope_description_description": "只搜索描述",
574+
"scope_keywords": "关键词",
575+
"scope_keywords_description": "只搜索关键词",
576+
"scope_all": "全部",
577+
"scope_all_description": "搜索全部字段,支持 name: desc: kw: operators",
578+
"weekly_downloads": "每周下载量",
579+
"updated_within": "最近更新",
580+
"security": "安全性",
581+
"keywords": "关键词",
582+
"more_keywords": "+ {count} 个更多",
583+
"clear_all": "清除所有",
584+
"remove_filter": "移除 {label} 筛选",
585+
"download_range": {
586+
"100_1k": "100 - 1K",
587+
"10k_100k": "10K - 100K",
588+
"1k_10k": "1K - 10K",
589+
"any": "任意",
590+
"gt100k": "> 100K",
591+
"lt100": "< 100"
592+
},
593+
"updated": {
594+
"any": "任意",
595+
"week": "近一周",
596+
"month": "近一个月",
597+
"quarter": "近三个月",
598+
"year": "近一年"
599+
},
600+
"security_options": {
601+
"all": "所有包",
602+
"insecure": "不带警告",
603+
"secure": "带有警告"
604+
},
605+
"sort": {
606+
"label": "排序包",
607+
"toggle_direction": "切换排序方向",
608+
"ascending": "升序",
609+
"descending": "降序",
610+
"relevance": "相关性",
611+
"downloads_week": "每周下载量",
612+
"downloads_day": "每日下载量",
613+
"downloads_month": "每月下载量",
614+
"downloads_year": "每年下载量",
615+
"updated": "最近更新",
616+
"name": "名称",
617+
"quality": "质量评分",
618+
"popularity": "受欢迎度",
619+
"maintenance": "维护程度",
620+
"score": "总分"
621+
},
622+
"columns": {
623+
"title": "",
624+
"show": "展示列",
625+
"reset": "重置为默认值",
626+
"coming_soon": "敬请期待",
627+
"name": "名称",
628+
"version": "版本",
629+
"description": "描述",
630+
"downloads": "每周下载量",
631+
"updated": "最近更新",
632+
"maintainers": "维护者",
633+
"keywords": "关键词",
634+
"quality_score": "质量评分",
635+
"popularity_score": "受欢迎度",
636+
"maintenance_score": "维护程度",
637+
"combined_score": "总分",
638+
"security": "安全性"
639+
},
640+
"view_mode": {
641+
"label": "视图模式",
642+
"cards": "卡片视图",
643+
"table": "表格视图"
644+
},
645+
"pagination": {
646+
"mode_label": "分页模式",
647+
"infinite": "无限",
648+
"paginated": "枫叶",
649+
"items_per_page": "每页显示",
650+
"per_page": "{count} / 页",
651+
"all_yolo": "全部(YOLO)",
652+
"showing": "第{start}-{end}条,共{total}条",
653+
"previous": "上一页",
654+
"next": "下一页",
655+
"nav_label": "分页"
656+
},
657+
"count": {
658+
"showing_filtered": "匹配 {filtered} 的 {total} 个包",
659+
"showing_all": "{total} 个包",
660+
"showing_paginated": "已显示{pageSize}个, 共{total}个包"
661+
},
662+
"table": {
663+
"no_packages": "安全性警告",
664+
"secure": "安全",
665+
"security_warning": "未找到包"
666+
}
667+
},
540668
"about": {
541669
"title": "关于",
542670
"heading": "关于",

0 commit comments

Comments
 (0)