Skip to content

Commit c8a7a5d

Browse files
authored
feat(i18n): keep zh-CN fresh (#204)
1 parent 28afd3d commit c8a7a5d

1 file changed

Lines changed: 37 additions & 24 deletions

File tree

i18n/locales/zh-CN.json

Lines changed: 37 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"seo": {
33
"home": {
4-
"title": "npmx - npm 包打造的更佳浏览工具",
5-
"description": " npm 包打造的更佳浏览工具。通过更现代化的用户界面搜索,浏览,并探索软件包。"
4+
"title": "npmx - 更好的 npm 仓库浏览工具",
5+
"description": "更好的 npm 仓库浏览工具。通过更现代化的用户界面搜索,浏览,并探索软件包。"
66
}
77
},
8-
"tagline": " npm 包打造的更佳浏览工具",
8+
"tagline": "更好的 npm 仓库浏览工具",
99
"non_affiliation_disclaimer": "不与 npm, Inc. 有任何隶属关系",
1010
"trademark_disclaimer": "npm 是 npm, Inc. 的注册商标。本网站不与 npm, Inc. 有任何隶属关系。",
1111
"footer": {
@@ -19,14 +19,21 @@
1919
"button": "搜索",
2020
"clear": "清除搜索",
2121
"searching": "搜索中...",
22-
"found_packages": "找到 {count} 个包",
22+
"found_packages": "共找到 {count} 个包",
2323
"updating": "(更新中...)",
24-
"no_results": "未找到与 \"{query}\" 匹配的包",
24+
"no_results": "未找到匹配 \"{query}\" 的包",
2525
"not_taken": "{name} 尚未被占用",
2626
"claim_prompt": "在 npm 上声明",
2727
"claim_button": "声明 \"{name}\"",
2828
"want_to_claim": "想要声明这个包名吗?",
29-
"start_typing": "输入以搜索软件包"
29+
"start_typing": "输入以搜索软件包",
30+
"exact_match": "精确匹配",
31+
"suggestion": {
32+
"org": "组织",
33+
"user": "用户",
34+
"view_org_packages": "查看该组织的包",
35+
"view_user_packages": "查看该用户的包"
36+
}
3037
},
3138
"nav": {
3239
"popular_packages": "热门软件包",
@@ -37,7 +44,11 @@
3744
"relative_dates": "相对时间",
3845
"include_types": "在安装时包含 {'@'}types",
3946
"language": "语言",
40-
"help_translate": "帮助翻译 npmx"
47+
"help_translate": "帮助翻译 npmx",
48+
"theme": "主题",
49+
"theme_dark": "深色",
50+
"theme_light": "浅色",
51+
"theme_system": "跟随系统"
4152
},
4253
"common": {
4354
"loading": "加载中...",
@@ -76,8 +87,8 @@
7687
},
7788
"stats": {
7889
"license": "许可证",
79-
"weekly": "每周",
80-
"deps": "依赖",
90+
"weekly": "每周下载量",
91+
"deps": "依赖项",
8192
"install_size": "安装大小",
8293
"updated": "最近更新",
8394
"view_download_trends": "查看下载趋势",
@@ -90,7 +101,8 @@
90101
"issues": "议题",
91102
"forks": "复刻",
92103
"jsr": "jsr",
93-
"code": "代码"
104+
"code": "代码",
105+
"docs": "文档"
94106
},
95107
"install": {
96108
"title": "安装",
@@ -109,7 +121,8 @@
109121
"publisher": "发布者",
110122
"updated": "更新",
111123
"weekly_downloads": "每周下载量",
112-
"keywords": "关键词"
124+
"keywords": "关键词",
125+
"license": "许可证"
113126
},
114127
"versions": {
115128
"title": "版本",
@@ -175,8 +188,8 @@
175188
"currently": "当前 {version}"
176189
},
177190
"playgrounds": {
178-
"title": "尝试一下",
179-
"choose": "选择 playground"
191+
"title": "试一试",
192+
"choose": "选择 Playground"
180193
},
181194
"metrics": {
182195
"esm": "只支持 ES Modules",
@@ -314,7 +327,7 @@
314327
"filter_placeholder": "筛选团队...",
315328
"sort_by": "按排序",
316329
"loading": "加载团队...",
317-
"no_teams": "没有找到团队",
330+
"no_teams": "未找到团队",
318331
"list_label": "组织团队",
319332
"delete_team": "删除团队 {name}",
320333
"member_count": "{count} 个成员",
@@ -329,7 +342,7 @@
329342
"team_name_label": "团队名称",
330343
"team_name_placeholder": "团队名称...",
331344
"create_button": "创建",
332-
"no_match": "没有团队匹配 \"{query}\"",
345+
"no_match": "未找到匹配 \"{query}\" 的团队",
333346
"cancel_create": "取消创建团队",
334347
"create_team": "+ 创建团队"
335348
},
@@ -343,12 +356,12 @@
343356
"all_teams": "所有团队",
344357
"sort_by": "按排序",
345358
"loading": "加载成员...",
346-
"no_members": "没有找到成员",
359+
"no_members": "未找到成员",
347360
"list_label": "组织成员",
348361
"change_role_for": "更改 {name} 的角色",
349362
"remove_from_org": "从组织中移除 {name}",
350363
"view_team": "查看 {team} 团队",
351-
"no_match": "没有成员匹配您的筛选条件",
364+
"no_match": "未找到匹配筛选条件的成员",
352365
"username_label": "用户名",
353366
"username_placeholder": "用户名...",
354367
"role_label": "角色",
@@ -369,11 +382,11 @@
369382
"packages_title": "软件包",
370383
"members_tab": "成员",
371384
"teams_tab": "团队",
372-
"no_packages": "没有找到公开包",
385+
"no_packages": "未找到公开包",
373386
"no_packages_hint": "这个组织可能不存在或没有公开包。",
374387
"failed_to_load": "加载组织包失败",
375-
"no_match": "没有包匹配 \"{query}\"",
376-
"not_found": "组织未找到",
388+
"no_match": "未找到匹配 \"{query}\" 的包",
389+
"not_found": "未找到组织",
377390
"not_found_message": "组织 \"{'@'}{name}\" 在 npm 上不存在",
378391
"filter_placeholder": "筛选 {count} 个包..."
379392
}
@@ -387,10 +400,10 @@
387400
},
388401
"page": {
389402
"packages_title": "软件包",
390-
"no_packages": "没有找到公开包",
403+
"no_packages": "未找到公开包",
391404
"no_packages_hint": "这个用户可能不存在或没有公开包。",
392405
"failed_to_load": "加载用户包失败",
393-
"no_match": "没有包匹配 \"{query}\"",
406+
"no_match": "未找到匹配 \"{query}\" 的包",
394407
"filter_placeholder": "筛选 {count} 个包..."
395408
},
396409
"orgs_page": {
@@ -481,15 +494,15 @@
481494
"title": "您的包",
482495
"loading": "加载中...",
483496
"error": "加载包失败",
484-
"empty": "没有找到包",
497+
"empty": "未找到包",
485498
"view_all": "查看全部"
486499
},
487500
"orgs": "组织",
488501
"orgs_dropdown": {
489502
"title": "您的组织",
490503
"loading": "加载中...",
491504
"error": "加载组织失败",
492-
"empty": "没有找到组织",
505+
"empty": "未找到组织",
493506
"view_all": "查看全部"
494507
}
495508
}

0 commit comments

Comments
 (0)