diff --git a/messages/zh-CN.json b/messages/zh-CN.json index 112400ee4..9dee30f14 100644 --- a/messages/zh-CN.json +++ b/messages/zh-CN.json @@ -756,11 +756,11 @@ "rulesErrorDuplicate": "复制规则", "rulesErrorDuplicateDescription": "带有这些设置的规则已存在", "rulesErrorInvalidIpAddressRange": "无效的 CIDR", - "rulesErrorInvalidIpAddressRangeDescription": "请输入一个有效的 CIDR 值", - "rulesErrorInvalidUrl": "无效的 URL 路径", - "rulesErrorInvalidUrlDescription": "请输入一个有效的 URL 路径值", - "rulesErrorInvalidIpAddress": "无效的 IP", - "rulesErrorInvalidIpAddressDescription": "请输入一个有效的IP地址", + "rulesErrorInvalidIpAddressRangeDescription": "Enter a valid CIDR range (e.g., 10.0.0.0/8).", + "rulesErrorInvalidUrl": "Invalid path", + "rulesErrorInvalidUrlDescription": "Enter a valid URL path or pattern (e.g., /api/*).", + "rulesErrorInvalidIpAddress": "Invalid IP address", + "rulesErrorInvalidIpAddressDescription": "Enter a valid IPv4 or IPv6 address.", "rulesErrorUpdate": "更新规则失败", "rulesErrorUpdateDescription": "更新规则时出错", "rulesUpdated": "启用规则", @@ -768,15 +768,23 @@ "rulesMatchIpAddressRangeDescription": "以 CIDR 格式输入地址(如:103.21.244.0/22)", "rulesMatchIpAddress": "输入IP地址(例如,103.21.244.12)", "rulesMatchUrl": "输入一个 URL 路径或模式(例如/api/v1/todos 或 /api/v1/*)", - "rulesErrorInvalidPriority": "无效的优先级", - "rulesErrorInvalidPriorityDescription": "请输入一个有效的优先级", - "rulesErrorDuplicatePriority": "重复的优先级", - "rulesErrorDuplicatePriorityDescription": "请输入唯一的优先级", + "rulesErrorInvalidPriority": "Invalid priority", + "rulesErrorInvalidPriorityDescription": "Enter a whole number of 1 or higher.", + "rulesErrorDuplicatePriority": "Duplicate priorities", + "rulesErrorDuplicatePriorityDescription": "Each rule must have a unique priority number.", + "rulesErrorValidation": "Invalid rules", + "rulesErrorValidationRuleDescription": "Rule {ruleNumber}: {message}", + "rulesErrorValueRequired": "Enter a value for this rule.", + "rulesErrorInvalidCountry": "Invalid country", + "rulesErrorInvalidCountryDescription": "Select a valid country.", + "rulesErrorInvalidAsn": "Invalid ASN", + "rulesErrorInvalidAsnDescription": "Enter a valid ASN (e.g., AS15169).", "ruleUpdated": "规则已更新", "ruleUpdatedDescription": "规则更新成功", "ruleErrorUpdate": "操作失败", "ruleErrorUpdateDescription": "保存过程中发生错误", "rulesPriority": "优先权", + "rulesReorderDragHandle": "Drag to reorder rule priority", "rulesAction": "行为", "rulesMatchType": "匹配类型", "value": "值", @@ -795,7 +803,7 @@ "rulesResource": "资源规则配置", "rulesResourceDescription": "配置规则来控制对资源的访问", "ruleSubmit": "添加规则", - "rulesNoOne": "没有规则。使用表单添加规则。", + "rulesNoOne": "No rules yet.", "rulesOrder": "规则按优先顺序评定。", "rulesSubmit": "保存规则", "policyErrorCreate": "创建策略时出错", @@ -806,7 +814,44 @@ "policyErrorUpdateMessageDescription": "发生意外错误", "policyCreatedSuccess": "资源策略创建成功", "policyUpdatedSuccess": "资源策略更新成功", - "authMethodsSave": "保存身份验证方法", + "authMethodsSave": "Save Settings", + "policyAuthStackTitle": "Authentication", + "policyAuthStackDescription": "Control which authentication methods are required to access this resource", + "policyAuthOrLogicTitle": "Multiple authentication methods active", + "policyAuthOrLogicBanner": "Visitors may authenticate using any one of the active methods below. They do not need to complete all of them.", + "policyAuthMethodActive": "Active", + "policyAuthMethodOff": "Off", + "policyAuthSsoTitle": "Platform SSO", + "policyAuthSsoDescription": "Require sign-in through your organization's identity provider", + "policyAuthSsoSummary": "{idp} · {users} users, {roles} roles", + "policyAuthSsoDefaultIdp": "Default provider", + "policyAuthAddDefaultIdentityProvider": "Add Default Identity Provider", + "policyAuthOtherMethodsTitle": "Other Methods", + "policyAuthOtherMethodsDescription": "Optional methods visitors can use instead of or alongside platform SSO", + "policyAuthPasscodeTitle": "Passcode", + "policyAuthPasscodeDescription": "Require a shared alphanumeric passcode to access the resource", + "policyAuthPasscodeSummary": "Passcode set", + "policyAuthPincodeTitle": "PIN Code", + "policyAuthPincodeDescription": "A short numeric code required to access the resource", + "policyAuthPincodeSummary": "6-digit PIN set", + "policyAuthEmailTitle": "Email Whitelist", + "policyAuthEmailDescription": "Allow listed email addresses with one-time passwords", + "policyAuthEmailSummary": "{count} addresses allowed", + "policyAuthEmailOtpCallout": "Enabling email whitelist sends a one-time password to the visitor's email on login.", + "policyAuthHeaderAuthTitle": "Basic Header Auth", + "policyAuthHeaderAuthDescription": "Validate a custom HTTP header name and value on each request", + "policyAuthHeaderAuthSummary": "Header configured", + "policyAuthHeaderName": "Header name", + "policyAuthHeaderValue": "Expected value", + "policyAccessRulesTitle": "Access Rules", + "policyAccessRulesEnableDescription": "When enabled, rules are evaluated in descending order until one evaluates as true.", + "policyAccessRulesFirstMatch": "Rules are evaluated top to bottom. The first matching rule decides the outcome.", + "policyAccessRulesHowItWorks": "Rules match requests by path, IP address, location, or other criteria. Each rule applies an action: bypass authentication, block access, or pass to authentication. If no rule matches, traffic continues to authentication.", + "policyAccessRulesFallthroughOff": "When rules are disabled, all traffic passes through to authentication.", + "policyAccessRulesFallthroughOn": "When no rule matches, traffic passes through to authentication.", + "rulesPlaceholderCidr": "10.0.0.0/8", + "rulesPlaceholderPath": "/admin/*", + "rulesPlaceholderGeo": "RU, KP", "rulesSave": "保存规则", "resourceErrorCreate": "创建资源时出错", "resourceErrorCreateDescription": "创建资源时出错", @@ -3045,7 +3090,7 @@ "enterConfirmation": "输入确认", "blueprintViewDetails": "详细信息", "defaultIdentityProvider": "默认身份提供商", - "defaultIdentityProviderDescription": "当选择默认身份提供商时,用户将自动重定向到提供商进行身份验证。", + "defaultIdentityProviderDescription": "The user will be automatically redirected to this identity provider for authentication.", "editInternalResourceDialogNetworkSettings": "网络设置", "editInternalResourceDialogAccessPolicy": "访问策略", "editInternalResourceDialogAddRoles": "添加角色",