wvq commented on code in PR #3256:
URL: https://github.com/apache/apisix-dashboard/pull/3256#discussion_r2571299580


##########
src/locales/zh/common.json:
##########
@@ -1 +1,368 @@
-{}
+{
+  "apisix": {
+    "dashboard": "APISIX Dashboard",
+    "logo": "APISIX Logo"
+  },
+  "consumerGroups": {
+    "singular": "消费者组"
+  },
+  "consumers": {
+    "singular": "消费者"
+  },
+  "credentials": {
+    "singular": "凭证"
+  },
+  "form": {
+    "basic": {
+      "desc": "描述",
+      "labels": {
+        "errorFormat": "格式标签错误, 正确格式为`key:value`",
+        "key": "Key",
+        "placeholder": "输入类似 `key:value`, then enter or blur",
+        "title": "标签",
+        "value": "值"
+      },
+      "name": "名字",
+      "status": "状态",
+      "statusOption": {
+        "0": "已禁用",
+        "1": "已启用"
+      },
+      "title": "基本信息"
+    },
+    "btn": {
+      "add": "增加",
+      "addARow": "增加一行",
+      "cancel": "取消",
+      "delete": "删除",
+      "edit": "编辑",
+      "save": "保存",
+      "upload": "上传",
+      "view": "查看"
+    },
+    "consumers": {
+      "groupId": "组ID",
+      "username": "用户名"
+    },
+    "disabled": "禁用,点击开关启用",
+    "general": {
+      "title": "常规"
+    },
+    "info": {
+      "create_time": "创建时间",
+      "id": "ID",
+      "title": "信息",
+      "update_time": "更新时间"
+    },
+    "json": {
+      "parseError": "JSON格式无效"
+    },
+    "plugins": {
+      "addPlugin": "添加插件",
+      "configId": "插件配置ID",
+      "editPlugin": "编辑插件",
+      "label": "插件",
+      "searchForSelectedPlugins": "搜索所选插件",
+      "selectPlugins": {
+        "title": "选择插件"
+      },
+      "viewPlugin": "查看插件"
+    },
+    "protos": {
+      "content": "内容",
+      "contentPlaceholder": "粘贴或上传 {{fileTypes}} 文件"
+    },
+    "routes": {
+      "enableWebsocket": "启用WebSocket",
+      "filterFunc": "过滤函数",
+      "host": "主机",
+      "hosts": "主机",
+      "matchRules": "匹配规则",
+      "methods": "HTTP方法",
+      "priority": "优先级",
+      "remoteAddr": "远程地址",
+      "remoteAddrs": "远程地址",
+      "service": "服务",
+      "uri": "URI",
+      "uris": "URIs",
+      "vars": "变量"
+    },
+    "search": "搜索",
+    "secrets": {
+      "aws": {
+        "access_key_id": "访问密钥ID",
+        "endpoint_url": "端点url",
+        "region": "地区",
+        "secret_access_key": "Secret Access Key",
+        "session_token": "Session Token"
+      },
+      "gcp": {
+        "auth": "认证",
+        "auth_config": "身份认证配置",
+        "auth_file": "身份认证文件",
+        "client_email": "客户端电子邮件",
+        "entries_uri": "Entries URI",
+        "private_key": "私钥",
+        "project_id": "项目 ID",
+        "scope": "范围",
+        "ssl_verify": "SSL验证",
+        "token_uri": "Token URI"
+      },
+      "manager": "安全管理",
+      "managerConfig": "配置管理",
+      "title": "安全配置",
+      "vault": {
+        "namespace": "命名空间",
+        "prefix": "前缀",
+        "token": "Token",
+        "uri": "URI"
+      }
+    },
+    "services": {
+      "enableWebsocket": "启用WebSocket",
+      "hosts": "主机",
+      "script": "脚本",
+      "settings": "服务设置"
+    },
+    "ssls": {
+      "cert": "证书",
+      "cert_key_list": {
+        "add": "添加pair",
+        "delete": "删除pair",
+        "title": "证书和密钥对"
+      },
+      "client": {
+        "ca": "客户端CA证书",
+        "depth": "Verification Depth",
+        "skipMtlsUriRegex": "跳过 mTLS URI 正则表达式",
+        "title": "客户端"
+      },
+      "key": "私钥",
+      "sni": "SNI",
+      "snis": "SNIs",
+      "ssl_protocols": "SSL协议",
+      "type": "证书类型"
+    },
+    "streamRoutes": {
+      "protocol": {
+        "conf": "配置",
+        "logger": "记录器",
+        "name": "协议名称",
+        "superiorId": "Superior ID",
+        "title": "协议信息"
+      },
+      "remoteAddr": "远程地址",
+      "server": "服务器",
+      "serverAddr": "服务器地址",
+      "serverPort": "服务器端口",
+      "sni": "SNI"
+    },
+    "tagsInput": {
+      "placeholder": "Input text, then enter or blur"
+    },
+    "upload": {
+      "fileOverSize": "文件尺寸太大",
+      "readError": "文件读取错误:"
+    },
+    "upstreams": {
+      "checks": {
+        "active": {
+          "concurrency": "并发",
+          "healthy": {
+            "http_statuses": "HTTP状态",
+            "interval": "间隔",
+            "successes": "成功",
+            "title": "健康"
+          },
+          "host": "主机",
+          "http_path": "HTTP路径",
+          "http_request_headers": "HTTP请求头",
+          "https_verify_certificate": "Https验证证书",
+          "port": "端口",
+          "timeout": "超时",
+          "title": "活动",
+          "type": "类型",
+          "unhealthy": {
+            "http_failures": "HTTP失败",
+            "http_statuses": "HTTP状态",
+            "interval": "间隔",
+            "tcp_failures": "TCP故障",
+            "timeouts": "超时",
+            "title": "故障"
+          }
+        },
+        "passive": {
+          "healthy": {
+            "http_statuses": "HTTP状态",
+            "successes": "“成功",
+            "title": "Healthy"
+          },
+          "title": "Passive",
+          "type": "类型",
+          "unhealthy": {
+            "http_failures": "HTTP失败",
+            "http_statuses": "HTTP状态",
+            "tcp_failures": "TCP失败",
+            "timeouts": "超时",
+            "title": "Unhealthy"
+          }
+        },
+        "title": "健康检查"
+      },
+      "connectionConfiguration": "连接配置",
+      "discoveryArgs": {
+        "title": "发现Args"
+      },
+      "discoveryType": {
+        "title": "发现类型"
+      },
+      "findUpstreamFrom": "查找来自上游",
+      "hashOn": "哈希开启",
+      "hashOnDesc": "This will be valid when `type` is `chash`",
+      "identifier": "上游标识符",
+      "inline": "内联上游配置",
+      "keepalivePool": {
+        "idleTimeout": "空闲超时",
+        "requests": "请求",
+        "size": "大小",
+        "title": "Keepalive Pool"
+      },
+      "key": "Key",
+      "keyDesc": "This will be valid when `type` is `chash`",
+      "loadBalancing": "负载平衡",
+      "nodes": {
+        "action": {
+          "title": "操作"
+        },
+        "add": "添加节点",
+        "host": {
+          "title": "主机"
+        },
+        "port": {
+          "title": "端口"
+        },
+        "priority": {
+          "title": "优先级"
+        },
+        "title": "节点",
+        "weight": {
+          "title": "Weight"
+        }
+      },
+      "passHost": "Pass Host",
+      "retries": "重试",
+      "retry": "重试",
+      "retryTimeout": "重试超时",
+      "scheme": "方案",
+      "serviceDiscovery": {
+        "serviceName": "服务名称",
+        "title": "服务发现"
+      },
+      "serviceId": "服务ID",
+      "serviceName": {
+        "title": "服务名称"
+      },
+      "timeout": {
+        "connect": "连接",
+        "read": "读取",
+        "send": "发送",
+        "title": "超时"
+      },
+      "title": "上",

Review Comment:
   "title": "上游"



##########
src/locales/zh/common.json:
##########
@@ -1 +1,368 @@
-{}
+{
+  "apisix": {
+    "dashboard": "APISIX Dashboard",
+    "logo": "APISIX Logo"
+  },
+  "consumerGroups": {
+    "singular": "消费者组"
+  },
+  "consumers": {
+    "singular": "消费者"
+  },
+  "credentials": {
+    "singular": "凭证"
+  },
+  "form": {
+    "basic": {
+      "desc": "描述",
+      "labels": {
+        "errorFormat": "格式标签错误, 正确格式为`key:value`",
+        "key": "Key",
+        "placeholder": "输入类似 `key:value`, then enter or blur",
+        "title": "标签",
+        "value": "值"
+      },
+      "name": "名字",
+      "status": "状态",
+      "statusOption": {
+        "0": "已禁用",
+        "1": "已启用"
+      },
+      "title": "基本信息"
+    },
+    "btn": {
+      "add": "增加",
+      "addARow": "增加一行",
+      "cancel": "取消",
+      "delete": "删除",
+      "edit": "编辑",
+      "save": "保存",
+      "upload": "上传",
+      "view": "查看"
+    },
+    "consumers": {
+      "groupId": "组ID",
+      "username": "用户名"
+    },
+    "disabled": "禁用,点击开关启用",
+    "general": {
+      "title": "常规"
+    },
+    "info": {
+      "create_time": "创建时间",
+      "id": "ID",
+      "title": "信息",
+      "update_time": "更新时间"
+    },
+    "json": {
+      "parseError": "JSON格式无效"
+    },
+    "plugins": {
+      "addPlugin": "添加插件",
+      "configId": "插件配置ID",
+      "editPlugin": "编辑插件",
+      "label": "插件",
+      "searchForSelectedPlugins": "搜索所选插件",
+      "selectPlugins": {
+        "title": "选择插件"
+      },
+      "viewPlugin": "查看插件"
+    },
+    "protos": {
+      "content": "内容",
+      "contentPlaceholder": "粘贴或上传 {{fileTypes}} 文件"
+    },
+    "routes": {
+      "enableWebsocket": "启用WebSocket",
+      "filterFunc": "过滤函数",
+      "host": "主机",
+      "hosts": "主机",
+      "matchRules": "匹配规则",
+      "methods": "HTTP方法",
+      "priority": "优先级",
+      "remoteAddr": "远程地址",
+      "remoteAddrs": "远程地址",
+      "service": "服务",
+      "uri": "URI",
+      "uris": "URIs",
+      "vars": "变量"
+    },
+    "search": "搜索",
+    "secrets": {
+      "aws": {
+        "access_key_id": "访问密钥ID",
+        "endpoint_url": "端点url",
+        "region": "地区",
+        "secret_access_key": "Secret Access Key",
+        "session_token": "Session Token"
+      },
+      "gcp": {
+        "auth": "认证",
+        "auth_config": "身份认证配置",
+        "auth_file": "身份认证文件",
+        "client_email": "客户端电子邮件",
+        "entries_uri": "Entries URI",
+        "private_key": "私钥",
+        "project_id": "项目 ID",
+        "scope": "范围",
+        "ssl_verify": "SSL验证",
+        "token_uri": "Token URI"
+      },
+      "manager": "安全管理",
+      "managerConfig": "配置管理",
+      "title": "安全配置",
+      "vault": {
+        "namespace": "命名空间",
+        "prefix": "前缀",
+        "token": "Token",
+        "uri": "URI"
+      }
+    },
+    "services": {
+      "enableWebsocket": "启用WebSocket",
+      "hosts": "主机",
+      "script": "脚本",
+      "settings": "服务设置"
+    },
+    "ssls": {
+      "cert": "证书",
+      "cert_key_list": {
+        "add": "添加pair",
+        "delete": "删除pair",
+        "title": "证书和密钥对"
+      },
+      "client": {
+        "ca": "客户端CA证书",
+        "depth": "Verification Depth",
+        "skipMtlsUriRegex": "跳过 mTLS URI 正则表达式",
+        "title": "客户端"
+      },
+      "key": "私钥",
+      "sni": "SNI",
+      "snis": "SNIs",
+      "ssl_protocols": "SSL协议",
+      "type": "证书类型"
+    },
+    "streamRoutes": {
+      "protocol": {
+        "conf": "配置",
+        "logger": "记录器",
+        "name": "协议名称",
+        "superiorId": "Superior ID",
+        "title": "协议信息"
+      },
+      "remoteAddr": "远程地址",
+      "server": "服务器",
+      "serverAddr": "服务器地址",
+      "serverPort": "服务器端口",
+      "sni": "SNI"
+    },
+    "tagsInput": {
+      "placeholder": "Input text, then enter or blur"
+    },
+    "upload": {
+      "fileOverSize": "文件尺寸太大",
+      "readError": "文件读取错误:"
+    },
+    "upstreams": {
+      "checks": {
+        "active": {
+          "concurrency": "并发",
+          "healthy": {
+            "http_statuses": "HTTP状态",
+            "interval": "间隔",
+            "successes": "成功",
+            "title": "健康"
+          },
+          "host": "主机",
+          "http_path": "HTTP路径",
+          "http_request_headers": "HTTP请求头",
+          "https_verify_certificate": "Https验证证书",
+          "port": "端口",
+          "timeout": "超时",
+          "title": "活动",
+          "type": "类型",
+          "unhealthy": {
+            "http_failures": "HTTP失败",
+            "http_statuses": "HTTP状态",
+            "interval": "间隔",
+            "tcp_failures": "TCP故障",
+            "timeouts": "超时",
+            "title": "故障"
+          }
+        },
+        "passive": {
+          "healthy": {
+            "http_statuses": "HTTP状态",
+            "successes": "“成功",
+            "title": "Healthy"
+          },
+          "title": "Passive",
+          "type": "类型",
+          "unhealthy": {
+            "http_failures": "HTTP失败",
+            "http_statuses": "HTTP状态",
+            "tcp_failures": "TCP失败",
+            "timeouts": "超时",
+            "title": "Unhealthy"
+          }
+        },
+        "title": "健康检查"
+      },
+      "connectionConfiguration": "连接配置",
+      "discoveryArgs": {
+        "title": "发现Args"
+      },
+      "discoveryType": {
+        "title": "发现类型"
+      },
+      "findUpstreamFrom": "查找来自上游",
+      "hashOn": "哈希开启",
+      "hashOnDesc": "This will be valid when `type` is `chash`",
+      "identifier": "上游标识符",
+      "inline": "内联上游配置",
+      "keepalivePool": {
+        "idleTimeout": "空闲超时",
+        "requests": "请求",
+        "size": "大小",
+        "title": "Keepalive Pool"
+      },
+      "key": "Key",
+      "keyDesc": "This will be valid when `type` is `chash`",
+      "loadBalancing": "负载平衡",

Review Comment:
    "loadBalancing":  "负载均衡"



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to