[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(i18n): add missing zh-CN translations for shortcuts, data source… (#1250)

authored by

penjj and committed by
GitHub
e0c6b735 85b52265

+82 -6
+41 -3
i18n/locales/zh-CN.json
··· 15 15 "docs": "文档", 16 16 "source": "源码", 17 17 "social": "社交媒体", 18 - "chat": "聊天" 18 + "chat": "聊天", 19 + "keyboard_shortcuts": "键盘快捷键" 20 + }, 21 + "shortcuts": { 22 + "section": { 23 + "global": "全局", 24 + "search": "搜索", 25 + "package": "包" 26 + }, 27 + "focus_search": "聚焦搜索", 28 + "show_kbd_hints": "高亮键盘提示", 29 + "settings": "打开设置", 30 + "compare": "打开比较", 31 + "compare_from_package": "打开比较(使用当前包预填充)", 32 + "navigate_results": "导航结果", 33 + "go_to_result": "跳转到结果", 34 + "open_code_view": "打开代码视图", 35 + "open_docs": "打开文档" 19 36 }, 20 37 "search": { 21 38 "label": "搜索 npm 包", ··· 23 40 "button": "搜索", 24 41 "searching": "搜索中…", 25 42 "found_packages": "共找到 {count} 个包", 43 + "found_packages_sorted": "正在排序前 {count} 个结果", 26 44 "updating": "(更新中…)", 27 45 "no_results": "未找到匹配“{query}”的包", 46 + "rate_limited": "已达到 npm 请求限制,请稍后再试", 28 47 "title": "搜索", 29 48 "title_search": "搜索:{search}", 30 49 "title_packages": "搜索包", ··· 35 54 "claim_button": "声明“{name}”", 36 55 "want_to_claim": "想要声明这个包名吗?", 37 56 "start_typing": "输入以搜索软件包", 57 + "algolia_disclaimer": "由 Algolia 提供支持", 38 58 "exact_match": "精确匹配", 39 59 "suggestion": { 40 60 "user": "用户", ··· 62 82 "sections": { 63 83 "appearance": "外观", 64 84 "display": "显示", 85 + "search": "搜索", 65 86 "language": "语言" 87 + }, 88 + "data_source": { 89 + "label": "数据来源", 90 + "description": "选择 npmx 从哪里获取搜索数据。单独的包页面始终直接使用 npm registry。", 91 + "npm": "npm Registry", 92 + "npm_description": "直接从 npm 官方注册表获取搜索、组织和用户列表。权威可靠,但速度可能较慢。", 93 + "algolia": "Algolia", 94 + "algolia_description": "使用 Algolia 来实现更快的搜索,适用于组织页和用户页。" 66 95 }, 67 96 "relative_dates": "相对时间", 68 97 "include_types": "在安装时包含 {'@'}types", ··· 390 419 "date_range_multiline": "{start}\n到 {end}", 391 420 "download_file": "下载 {fileType}", 392 421 "toggle_annotator": "切换标注工具", 393 - "legend_estimation": "估算值" 422 + "legend_estimation": "估算值", 423 + "no_data": "无可用数据", 424 + "y_axis_label": "{granularity} {facet}", 425 + "items": { 426 + "downloads": "下载量" 427 + } 394 428 } 395 429 }, 396 430 "connector": { ··· 796 830 "create_account": "创建一个新账户", 797 831 "connect_bluesky": "使用 Bluesky 账户登录", 798 832 "what_is_atmosphere": "什么是 Atmosphere 账户?", 799 - "atmosphere_explanation": "{npmx} 使用 {atproto} 为其多项社交功能提供支持,让用户真正拥有自己的数据并使用一个账户登录所有兼容的应用。一旦创建账户,你便可以使用其他应用,例如 {bluesky} 和 {tangled}。" 833 + "atmosphere_explanation": "{npmx} 使用 {atproto} 为其多项社交功能提供支持,让用户真正拥有自己的数据并使用一个账户登录所有兼容的应用。一旦创建账户,你便可以使用其他应用,例如 {bluesky} 和 {tangled}。", 834 + "default_input_error": "请输入有效的 handle、DID 或完整的 PDS URL" 800 835 } 801 836 }, 802 837 "header": { ··· 932 967 "types_none": "无", 933 968 "vulnerabilities_summary": "{count}({critical} 严重/{high} 高)", 934 969 "up_to_you": "由你决定!" 970 + }, 971 + "trends": { 972 + "title": "每周下载量" 935 973 } 936 974 } 937 975 },
+41 -3
lunaria/files/zh-CN.json
··· 15 15 "docs": "文档", 16 16 "source": "源码", 17 17 "social": "社交媒体", 18 - "chat": "聊天" 18 + "chat": "聊天", 19 + "keyboard_shortcuts": "键盘快捷键" 20 + }, 21 + "shortcuts": { 22 + "section": { 23 + "global": "全局", 24 + "search": "搜索", 25 + "package": "包" 26 + }, 27 + "focus_search": "聚焦搜索", 28 + "show_kbd_hints": "高亮键盘提示", 29 + "settings": "打开设置", 30 + "compare": "打开比较", 31 + "compare_from_package": "打开比较(使用当前包预填充)", 32 + "navigate_results": "导航结果", 33 + "go_to_result": "跳转到结果", 34 + "open_code_view": "打开代码视图", 35 + "open_docs": "打开文档" 19 36 }, 20 37 "search": { 21 38 "label": "搜索 npm 包", ··· 23 40 "button": "搜索", 24 41 "searching": "搜索中…", 25 42 "found_packages": "共找到 {count} 个包", 43 + "found_packages_sorted": "正在排序前 {count} 个结果", 26 44 "updating": "(更新中…)", 27 45 "no_results": "未找到匹配“{query}”的包", 46 + "rate_limited": "已达到 npm 请求限制,请稍后再试", 28 47 "title": "搜索", 29 48 "title_search": "搜索:{search}", 30 49 "title_packages": "搜索包", ··· 35 54 "claim_button": "声明“{name}”", 36 55 "want_to_claim": "想要声明这个包名吗?", 37 56 "start_typing": "输入以搜索软件包", 57 + "algolia_disclaimer": "由 Algolia 提供支持", 38 58 "exact_match": "精确匹配", 39 59 "suggestion": { 40 60 "user": "用户", ··· 62 82 "sections": { 63 83 "appearance": "外观", 64 84 "display": "显示", 85 + "search": "搜索", 65 86 "language": "语言" 87 + }, 88 + "data_source": { 89 + "label": "数据来源", 90 + "description": "选择 npmx 从哪里获取搜索数据。单独的包页面始终直接使用 npm registry。", 91 + "npm": "npm Registry", 92 + "npm_description": "直接从 npm 官方注册表获取搜索、组织和用户列表。权威可靠,但速度可能较慢。", 93 + "algolia": "Algolia", 94 + "algolia_description": "使用 Algolia 来实现更快的搜索,适用于组织页和用户页。" 66 95 }, 67 96 "relative_dates": "相对时间", 68 97 "include_types": "在安装时包含 {'@'}types", ··· 390 419 "date_range_multiline": "{start}\n到 {end}", 391 420 "download_file": "下载 {fileType}", 392 421 "toggle_annotator": "切换标注工具", 393 - "legend_estimation": "估算值" 422 + "legend_estimation": "估算值", 423 + "no_data": "无可用数据", 424 + "y_axis_label": "{granularity} {facet}", 425 + "items": { 426 + "downloads": "下载量" 427 + } 394 428 } 395 429 }, 396 430 "connector": { ··· 796 830 "create_account": "创建一个新账户", 797 831 "connect_bluesky": "使用 Bluesky 账户登录", 798 832 "what_is_atmosphere": "什么是 Atmosphere 账户?", 799 - "atmosphere_explanation": "{npmx} 使用 {atproto} 为其多项社交功能提供支持,让用户真正拥有自己的数据并使用一个账户登录所有兼容的应用。一旦创建账户,你便可以使用其他应用,例如 {bluesky} 和 {tangled}。" 833 + "atmosphere_explanation": "{npmx} 使用 {atproto} 为其多项社交功能提供支持,让用户真正拥有自己的数据并使用一个账户登录所有兼容的应用。一旦创建账户,你便可以使用其他应用,例如 {bluesky} 和 {tangled}。", 834 + "default_input_error": "请输入有效的 handle、DID 或完整的 PDS URL" 800 835 } 801 836 }, 802 837 "header": { ··· 932 967 "types_none": "无", 933 968 "vulnerabilities_summary": "{count}({critical} 严重/{high} 高)", 934 969 "up_to_you": "由你决定!" 970 + }, 971 + "trends": { 972 + "title": "每周下载量" 935 973 } 936 974 } 937 975 },