refactor(console): add more HTTP status codes and proxy settings to localization files- Added new HTTP status codes to both English and Chinese localization files (#625)
- Updated proxy settings in English localization file - Expanded HTTP status code list in Chinese localization file Co-authored-by: rick <linuxsuren@users.noreply.github.com>
This commit is contained in:
parent
cc5a463b4d
commit
c8df84cbeb
|
@ -78,6 +78,11 @@
|
|||
"proxy": "Proxy",
|
||||
"insecure": "Insecure"
|
||||
},
|
||||
"proxy": {
|
||||
"http": "HTTP Proxy",
|
||||
"https": "HTTPS Proxy",
|
||||
"no": "No Proxy"
|
||||
},
|
||||
"//see http spec": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",
|
||||
"httpCode": {
|
||||
"200": "200 OK",
|
||||
|
@ -85,20 +90,31 @@
|
|||
"204": "204 No Content",
|
||||
"400": "400 Bad Request",
|
||||
"401": "401 Unauthorized",
|
||||
"402": "402 Payment Required",
|
||||
"403": "403 Forbidden",
|
||||
"404": "404 Not Found",
|
||||
"405": "405 Method Not Allowed",
|
||||
"409": "409 Conflict",
|
||||
"413": "Content Too Large",
|
||||
"413": "413 Content Too Large",
|
||||
"415": "415 Unsupported Media Type",
|
||||
"422": "422 Unprocessable Content",
|
||||
"500": "500 Internal Server Error",
|
||||
"502": "502 Bad Gateway",
|
||||
"503": "503 Service Unavailable"
|
||||
},
|
||||
"proxy": {
|
||||
"http": "HTTP Proxy",
|
||||
"https": "HTTPS Proxy",
|
||||
"no": "No Proxy"
|
||||
"503": "503 Service Unavailable",
|
||||
"301": "301 Moved Permanently",
|
||||
"302": "302 Found",
|
||||
"304": "304 Not Modified",
|
||||
"406": "406 Not Acceptable",
|
||||
"407": "407 Proxy Authentication Required",
|
||||
"408": "408 Request Timeout",
|
||||
"410": "410 Gone",
|
||||
"411": "411 Length Required",
|
||||
"412": "412 Precondition Failed",
|
||||
"414": "414 URI Too Long",
|
||||
"416": "416 Range Not Satisfiable",
|
||||
"417": "417 Expectation Failed",
|
||||
"429": "429 Too Many Requests",
|
||||
"501": "501 Not Implemented",
|
||||
"504": "504 Gateway Timeout"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,5 +76,38 @@
|
|||
"http": "HTTP 代理",
|
||||
"https": "HTTPS 代理",
|
||||
"no": "跳过代理"
|
||||
},
|
||||
"httpCode": {
|
||||
"200": "200 成功",
|
||||
"201": "201 已创建",
|
||||
"204": "204 无内容",
|
||||
"400": "400 错误的请求",
|
||||
"401": "401 未授权",
|
||||
"402": "402 需要支付",
|
||||
"403": "403 禁止访问",
|
||||
"404": "404 未找到",
|
||||
"405": "405 方法不被允许",
|
||||
"409": "409 冲突",
|
||||
"413": "413 请求实体过大",
|
||||
"415": "415 不支持的媒体类型",
|
||||
"422": "422 处理不了的实体",
|
||||
"500": "500 内部服务器错误",
|
||||
"502": "502 错误的网关",
|
||||
"503": "503 服务不可用",
|
||||
"301": "301 永久移动",
|
||||
"302": "302 临时移动",
|
||||
"304": "304 未修改",
|
||||
"406": "406 不接受",
|
||||
"407": "407 需要代理身份验证",
|
||||
"408": "408 请求超时",
|
||||
"410": "410 已删除",
|
||||
"411": "411 需要内容长度",
|
||||
"412": "412 前提条件失败",
|
||||
"414": "414 请求 URI 过长",
|
||||
"416": "416 范围不可满足",
|
||||
"417": "417 期望失败",
|
||||
"429": "429 请求过多",
|
||||
"501": "501 未实现",
|
||||
"504": "504 网关超时"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue