Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

chore(common): improve Chinese translations (#6611)

Denny Jiangc806de7b2abb
diff --git a/packages/hoppscotch-common/locales/cn.json b/packages/hoppscotch-common/locales/cn.json
index 73311d906..fa0b76b6f 100644
--- a/packages/hoppscotch-common/locales/cn.json
+++ b/packages/hoppscotch-common/locales/cn.json
@@ -393,7 +393,12 @@
"cookie_value": "值",
"empty_domain": "域名为空",
"empty_domains": "域名列表为空",
+ "invalid_domain": "域名包含无效字符",
"enter_cookie_string": "输入 Cookie 字符串",
+ "host_only": "HostOnly",
+ "host_only_info": "仅发送给设置它的主机,子域不会收到。",
+ "http_only": "HttpOnly",
+ "http_only_info": "不暴露给页面脚本,但匹配的请求仍会携带。",
"interceptor_no_support": "您当前选择的中间件不支持 Cookie,请选择一个其他的中间件并重试。",
"managed_tab": "管理",
"new_domain_name": "新域名",
@@ -470,6 +475,7 @@
"title": "主体"
},
"copied_to_clipboard": "已复制到剪贴板!",
+ "copy_to_clipboard": "复制到剪贴板",
"curl": {
"click_to_load": "点击加载 cURL 命令",
"copied": "cURL 命令已复制到剪贴板!",
@@ -498,6 +504,7 @@
"no_documentation_found": "未找到文件夹或请求的文档",
"no_request_data": "无可用请求数据",
"no_requests_or_folders": "无请求或文件夹",
+ "no_write_access": "您没有对此文档的写入权限",
"not_set": "未设置",
"open_request_in_new_tab": "在新标签页中打开请求",
"parameters": {
@@ -513,6 +520,7 @@
"button": "发布",
"copy_url": "复制 URL",
"delete": "删除文档",
+ "delete_error": "删除已发布文档失败",
"unpublish_doc": "您确定要取消发布此文档吗?",
"delete_success": "已成功删除已发布的文档",
"doc_title": "标题",
@@ -555,8 +563,8 @@
"snapshot_empty": "此快照中没有请求或文件夹",
"snapshot_item_count": "{count} 项",
"auto_sync_live_notice": "此版本会与实时集合自动同步",
- "snapshot_promote_warning": "启用自动同步会将此冻结快照替换为实时集合树。此操作无法撤销。",
- "live_freeze_notice": "自动同步将被关闭,并且此版本会冻结在当前集合状态。",
+ "snapshot_promote_warning": "启用自动同步会将此冻结快照替换为实时集合树,此操作无法撤销。",
+ "live_freeze_notice": "自动同步将被关闭,并且此版本会被冻结在当前集合状态。",
"untitled_project": "未命名项目",
"environment": "环境",
"no_environment": "无环境",
@@ -582,6 +590,9 @@
"untitled_collection": "未命名集合",
"untitled_request": "未命名请求",
"value": "值",
+ "query": {
+ "title": "查询"
+ },
"variables": {
"no_vars": "未定义变量",
"title": "变量"
@@ -760,6 +771,15 @@
},
"export": {
"as_json": "导出为 JSON",
+ "as_openapi": "导出为 OpenAPI",
+ "as_yaml": "导出为 YAML",
+ "choose_format": "选择导出格式",
+ "collection": "导出集合",
+ "collections": "导出全部集合",
+ "format_hoppscotch": "导出为 Hoppscotch JSON",
+ "format_openapi_json": "导出为 OpenAPI 3.1(JSON)",
+ "format_openapi_yaml": "导出为 OpenAPI 3.1(YAML)",
+ "openapi_lossy_summary": "OpenAPI 导出会丢失脚本、认证凭证、未启用的项、重复路径和重复响应状态码。",
"create_secret_gist": "创建私密 Gist",
"create_secret_gist_tooltip_text": "导出为私密 Gist",
"failed": "导出时发生了错误",
@@ -811,19 +831,25 @@
"arguments": "参数",
"connection_switch_confirm": "您想连接最新的 GraphQL 端点吗?",
"connection_error_http": "由于网络错误,获取 GraphQL Schema 失败。",
+ "connection_error_introspection_disabled": "此服务器已禁用内省功能。",
+ "connection_error_invalid_json": "内省响应不是有效的 JSON——该端点可能不是 GraphQL 服务器。",
"connection_switch_new_url": "切换到标签页将使您与活动的 GraphQL 连接断开。新的连接 URL 是",
"connection_switch_url": "您已连接到 GraphQL 端点,连接 URL 为",
"deprecated": "已弃用",
"fields": "字段",
"mutation": "变更",
"mutations": "变更",
+ "operation_error": "执行操作时出现问题",
"schema": "模式",
"show_depricated_values": "显示已弃用的值",
"subscription": "订阅",
+ "subscription_log": "订阅日志",
"subscriptions": "订阅",
+ "subscribing": "正在连接订阅端点……",
"switch_connection": "切换连接",
"url_placeholder": "输入一个 GraphQL 端点 URL",
- "query": "查询"
+ "query": "查询",
+ "waiting_for_events": "已订阅。正在等待事件……"
},
"graphql_collections": {
"title": "GraphQL 集合"
@@ -1049,7 +1075,7 @@
"connection_config": "连接配置",
"connection_not_authorized": "此MQTT连接未使用任何验证。",
"invalid_topic": "请提供该订阅的主题",
- "keep_alive": "Keep Alive",
+ "keep_alive": "保活时间",
"log": "日志",
"lw_message": "遗嘱消息",
"lw_qos": "遗嘱消息 QoS",
@@ -1186,6 +1212,7 @@
"show_content_type": "显示内容类型",
"different_collection": "不能对来自不同集合的请求进行重新排序",
"duplicated": "重复的请求",
+ "rest_in_gql_collection": "这是一个 REST 请求——请从 REST 工作区打开它",
"duration": "持续时间",
"enter_curl": "输入 cURL",
"generate_code": "生成代码",
@@ -1198,6 +1225,7 @@
"moved": "请求移动完成",
"name": "请求名称",
"new": "新请求",
+ "new_gql": "新 GraphQL 请求",
"order_changed": "请求顺序更新完成",
"override": "覆盖",
"override_help": "设置 <kbd>Content-Type</kbd> 头",
@@ -1220,7 +1248,9 @@
"share_description": "分享 Hoppscotch 给您的朋友",
"share_request": "分享请求",
"stop": "停止",
+ "switch_protocol": "切换协议",
"title": "请求",
+ "try": "尝试",
"type": "请求类型",
"url": "URL",
"url_placeholder": "输入一个 URL 或者粘贴一个 cURL 命令",
@@ -1255,11 +1285,12 @@
"generate_data_schema": "生成数据结构",
"data_schema": "数据结构",
"saved": "响应已保存",
+ "save_as_example": "保存示例",
"invalid_name": "请为响应提供名称"
},
"script": {
"inheriting": "正在从以下位置继承脚本",
- "inheriting_from_count": "从 {count} 个集合继承 | 从 {count} 个集合继承",
+ "inheriting_from_count": "从 {count} 个集合继承",
"inherited_scripts": "继承的脚本",
"view_inherited": "查看继承的脚本"
},
@@ -1289,20 +1320,27 @@
"delete_account": "刪除账号",
"delete_account_description": "一旦您删除了您的帐号,您的所有数据将被永久删除。此操作无法复原。",
"desktop": "桌面版",
- "desktop_description": "更新 Hoppscotch 桌面应用的行为和键盘处理方式。",
+ "desktop_description": "更新 Hoppscotch 桌面应用的行为、连接超时、键盘处理和显示偏好。",
+ "desktop_display": "显示",
"desktop_keyboard": "键盘",
- "desktop_keyboard_strategy_label": "按输入字符或物理按键位置匹配快捷键",
- "desktop_keyboard_strategy_description": "在非 QWERTY 布局中,同一个字母可能来自不同的物理按键。默认设置适用于大多数布局;如果快捷键在您的布局上未按预期触发,请切换选项。",
+ "desktop_keyboard_strategy_label": "按输入字母或物理按键位置匹配快捷键",
+ "desktop_keyboard_strategy_description": "在非 QWERTY 布局中,相同字母可能来自不同物理按键。默认设置适用于大多数布局;如果快捷键在您的布局上无法按预期触发,请切换选项。",
"desktop_keyboard_strategy_hybrid": "智能(推荐)",
"desktop_keyboard_strategy_hybrid_description": "拉丁字符使用输入的字母;非拉丁布局(西里尔、CJK)则回退到物理按键位置。",
"desktop_keyboard_strategy_key": "输入的字母",
"desktop_keyboard_strategy_key_description": "始终使用输入的字母。如果快捷键在您的布局上未按预期工作,请选择此项。",
"desktop_keyboard_strategy_code": "物理按键位置",
- "desktop_keyboard_strategy_code_description": "始终使用 US-QWERTY 物理位置。如果您在非拉丁布局上已有 QWERTY 肌肉记忆,请选择此项。",
+ "desktop_keyboard_strategy_code_description": "始终使用 US-QWERTY 的物理按键位置。如果您在非拉丁布局上已有 QWERTY 肌肉记忆,请选择此项。",
"desktop_updates": "更新",
"disable_encode_mode_tooltip": "从不编码请求中的参数",
"disable_update_checks": "禁用自动更新检查",
- "disable_update_checks_description": "应用启动时跳过更新检查。使用上方按钮可按需检查。",
+ "disable_update_checks_description": "在应用启动时跳过更新检查。使用上方按钮按需检查。",
+ "zoom_level": "缩放级别",
+ "zoom_level_description": "缩放整个界面。较高值会在高分辨率屏幕上放大文本和控件。",
+ "zoom_level_100": "100%",
+ "zoom_level_110": "110%",
+ "zoom_level_125": "125%",
+ "zoom_level_150": "150%",
"enable_encode_mode_tooltip": "始终编码请求中的参数",
"enter_otp": "输入 Agent 的验证码",
"expand_navigation": "展开导航栏",
@@ -1331,6 +1369,7 @@
"profile_photo": "头像",
"proxy": "网络代理",
"proxy_url": "代理网址",
+ "proxy_url_invalid": "代理网址必须以 http(s):// 开头且不包含空格",
"proxy_use_toggle": "使用代理中间件发送请求",
"read_the": "阅读",
"register_agent": "注册 Agent",
@@ -1349,6 +1388,7 @@
"experimental_scripting_sandbox": "实验性脚本沙盒",
"enable_experimental_mock_servers": "启用 Mock 服务",
"enable_experimental_documentation": "启用文档",
+ "enable_gql_in_rest_workspace": "启用统一 GraphQL 工作区",
"sync": "同步",
"sync_collections": "集合",
"sync_description": "这些设置会同步到云。",
@@ -1399,9 +1439,15 @@
"ca_certificates": "CA 证书",
"ca_certificates_support": "Hoppscotch 支持包含一个或多个证书的 .crt、.cer 或 .pem 文件。",
"proxy_capabilities": "Hoppscotch Agent 和桌面应用支持 HTTP/HTTPS/SOCKS 代理,并支持 NTLM 和 Basic 身份验证。",
- "proxy_auth": "您还可以在 URL 中包含用户名和密码。"
+ "proxy_auth": "您还可以在 URL 中包含用户名和密码。",
+ "connection_timeout": "连接超时",
+ "connection_timeout_description": "等待实例响应的时长。下载实例的超时时间是此限制的十倍。更改此设置后需重启应用,才会对下载生效。",
+ "connection_timeout_seconds": "{seconds} 秒",
+ "connection_timeout_seconds_default": "{seconds} 秒(默认)",
+ "desktop_connection": "连接"
},
"shared_requests": {
+ "auth_warning": "此请求包含身份验证凭据。任何拥有分享链接的人都能读取它们——包括令牌、密码和 API 密钥。",
"button": "按钮",
"button_info": "为您的网站、博客或者 README 创建一个“Run in Hoppscotch”按钮。",
"copy_html": "复制 HTML",
@@ -1914,6 +1960,7 @@
"snippets": "代码片段",
"run": "运行",
"run_again": "再次运行",
+ "running": "正在运行测试...",
"stop": "停止",
"new_run": "重新运行",
"iterations": "迭代次数",
@@ -1988,7 +2035,41 @@
"cli_command_generation_description_sh_with_server_url_placeholder": "复制以下命令并在 CLI 中运行。请指定个人访问令牌和 SH 实例服务器 URL。",
"run_collection": "运行集合",
"no_passed_tests": "没有测试通过",
- "no_failed_tests": "没有测试失败"
+ "no_failed_tests": "没有测试失败",
+ "collection_load_failed": "无法加载此集合。",
+ "data_feed": "数据源",
+ "data_feed_help": "导入 CSV 或 JSON 文件,为每一行数据运行一次迭代。",
+ "data_file_size_limit_exceeded": "数据文件超过了 {sizeLimit} MB 限制",
+ "data_preview": "数据预览",
+ "dataset_iterations_info": "数据集包含 {rows} 行,根据您的配置将运行 {total} 次迭代。",
+ "dataset_preview_truncated": "正在显示数据集的前 {count} 行。",
+ "dataset_row": "{count} 行",
+ "dataset_rows": "{count} 行",
+ "deselect_all": "取消全选",
+ "empty_data_file": "数据文件为空",
+ "export_results": "导出结果",
+ "filter_requests": "筛选请求",
+ "invalid_data_file": "无效的数据文件",
+ "invalid_iterations": "迭代次数必须至少为 1",
+ "iteration": "迭代 {count}",
+ "iterations": "迭代次数",
+ "iterations_locked_to_dataset": "迭代次数与数据集行数一致。移除数据文件后可手动设置。",
+ "jump_to_iteration": "跳转到迭代",
+ "next_iteration": "下一次迭代",
+ "no_requests_match_filter": "没有与筛选条件匹配的请求",
+ "no_requests_selected": "请至少选择一个请求来运行",
+ "previous_iteration": "上一次迭代",
+ "remove_file": "移除文件",
+ "reset_run_order": "重置",
+ "results_not_restored": "重新加载后运行结果不会保留。请再次运行集合以查看结果。",
+ "run_sequence": "运行顺序",
+ "select_all": "全选",
+ "select_data_file": "选择 CSV / JSON 文件",
+ "selected_requests_count": "已选择 {selected}/{total}",
+ "selection_partially_reset": "部分已选请求已不存在,已从选择中移除。",
+ "selection_reset": "集合已更改,因此将运行所有请求。",
+ "time": "次",
+ "times": "次"
},
"ai_experiments": {
"generate_request_name": "使用 AI 生成请求名称",