Skip to content

Commit 2f70f72

Browse files
committed
feat(i18n): update zh-CN translations
1 parent cbfc01e commit 2f70f72

1 file changed

Lines changed: 157 additions & 7 deletions

File tree

i18n/locales/zh-CN.json

Lines changed: 157 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,18 +42,41 @@
4142
"popular_packages": "热门软件包",
4243
"search": "搜索",
4344
"settings": "设置",
44-
"back": "返回"
45+
"back": "返回",
46+
"main_navigation": "主页"
4547
},
4648
"settings": {
49+
"title": "设置",
50+
"tagline": "自定义你的 npmx 体验",
51+
"meta_description": "使用主题、语言和显示偏好来自定义你的 npmx.dev 使用体验。",
52+
"sections": {
53+
"appearance": "外观",
54+
"display": "展示",
55+
"language": "语言"
56+
},
4757
"relative_dates": "相对时间",
58+
"relative_dates_description": "显示“3天前”而不是完整时间",
4859
"include_types": "在安装时包含 {'@'}types",
49-
"language": "语言",
50-
"help_translate": "帮助翻译 npmx",
60+
"include_types_description": "为未提供类型定义的包自动添加 {'@'}types 包到安装命令",
61+
"hide_platform_packages": "隐藏指定平台的包",
62+
"hide_platform_packages_description": "在结果中隐藏原生二进制包(例如 {'@'}esbuild/linux-x64)",
5163
"theme": "主题",
5264
"theme_dark": "深色",
5365
"theme_light": "浅色",
5466
"theme_system": "跟随系统",
55-
"accent_colors": "强调色"
67+
"language": "语言",
68+
"help_translate": "帮助翻译 npmx",
69+
"accent_colors": "强调色",
70+
"clear_accent": "清除强调色",
71+
"translation_progress": "翻译进度"
72+
},
73+
"i18n": {
74+
"missing_keys": "{count} 个未翻译",
75+
"copy_keys": "复制键",
76+
"show_more_keys": "展示更多 {count} 个...",
77+
"contribute_hint": "通过补充缺失的键来帮助改进翻译",
78+
"edit_on_github": "在 GitHub 上编辑",
79+
"view_guide": "翻译指南"
5680
},
5781
"common": {
5882
"loading": "加载中...",
@@ -64,6 +88,8 @@
6488
"retry": "重试",
6589
"copy": "复制",
6690
"copied": "已复制!",
91+
"skip_link": "跳转到主界面",
92+
"close_modal": "关闭对话框",
6793
"show_more": "展示更多",
6894
"warnings": "警告:",
6995
"go_back_home": "返回首页",
@@ -84,18 +110,29 @@
84110
"not_latest": "(不是最新)",
85111
"verified_provenance": "已验证的来源",
86112
"view_permalink": "查看这个版本的链接",
113+
"navigation": "包导航",
87114
"deprecation": {
88115
"package": "这个包已经被弃用。",
89116
"version": "这个版本已经被弃用。",
90117
"no_reason": "没有提供原因"
91118
},
119+
"replacement": {
120+
"title": "您可能不需要这个依赖。",
121+
"native": "该功能自 Node.js {nodeVersion} 起已被内置,可直接使用 {replacement} 替代。",
122+
"simple": "社区标记此包为冗余,建议替换为:{replacement}。",
123+
"documented": "社区标记此包存在性能更优的替代方案",
124+
"none": "此包已被标记为不再需要,其功能很可能已由所有引擎原生提供。",
125+
"learn_more": "了解更多",
126+
"mdn": "MDN"
127+
},
92128
"stats": {
93129
"license": "许可证",
94130
"deps": "依赖项",
95131
"install_size": "安装大小",
96132
"updated": "最近更新",
97133
"view_dependency_graph": "查看依赖图",
98-
"inspect_dependency_tree": "查看依赖树"
134+
"inspect_dependency_tree": "查看依赖树",
135+
"vulns": "漏洞"
99136
},
100137
"links": {
101138
"repo": "仓库",
@@ -106,6 +143,10 @@
106143
"docs": "文档",
107144
"fund": "资助"
108145
},
146+
"docs": {
147+
"not_available": "文档不可用",
148+
"not_available_detail": "我们无法为此版本生成文档。"
149+
},
109150
"get_started": {
110151
"title": "开始使用",
111152
"pm_label": "包管理器",
@@ -151,7 +192,8 @@
151192
"title": "依赖({count}个)",
152193
"list_label": "包依赖",
153194
"show_all": "显示全部 {count} 个依赖",
154-
"optional": "可选"
195+
"optional": "可选",
196+
"view_vulnerabilities": "查看漏洞"
155197
},
156198
"peer_dependencies": {
157199
"title": "对等依赖({count}个)",
@@ -191,7 +233,9 @@
191233
"end_date": "结束",
192234
"no_data": "没有下载数据",
193235
"loading": "加载中...",
194-
"y_axis_label": "{granularity} 下载量"
236+
"y_axis_label": "{granularity} 下载量",
237+
"download_file": "下载 {fileType}",
238+
"toggle_annotator": "切换标注工具"
195239
},
196240
"install_scripts": {
197241
"title": "安装脚本",
@@ -515,6 +559,112 @@
515559
"label": "jsr"
516560
}
517561
},
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+
},
518668
"about": {
519669
"title": "关于",
520670
"heading": "关于",

0 commit comments

Comments
 (0)