mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-11-17 07:14:24 +08:00
feat(domain): 支持通配符域名及关联功能适配 (#63)
* feat(domain): 支持通配符域名及关联功能适配 * fix(domain): preserve legacy Unicode imports and address review findings * fix(domain): canonicalize legacy IDNs and exclude empty host labels * fix(domain): normalize equivalent Unicode IDN spellings --------- Co-authored-by: Ryan <63696351+Rain-kl@users.noreply.github.com> Co-authored-by: ryan <ryan@arctel.net>
This commit is contained in:
@@ -79,21 +79,21 @@
|
||||
"expiresAt": "Expires",
|
||||
"selectZone": "Select a Zone first",
|
||||
"enterDomain": "Enter a domain",
|
||||
"noWildcard": "Zone domains do not support wildcards",
|
||||
"noWildcard": "A wildcard must be a single * in the leftmost label, such as *.example.com",
|
||||
"invalidFormat": "Invalid domain format",
|
||||
"invalidSubdomain": "Invalid subdomain name format",
|
||||
"mustBelongToZone": "The domain must belong to Zone {root}",
|
||||
"domainAdded": "Domain added",
|
||||
"addFailed": "Add failed",
|
||||
"quickCreateTitle": "Quick add domain",
|
||||
"quickCreateDesc": "After selecting a Zone, enter a subdomain name (such as api), @ (the root), or a full FQDN.",
|
||||
"quickCreateDesc": "Enter a subdomain (api), @ (the root), * (wildcard under the root), or a full FQDN. For nested wildcards, enter the full name, such as *.s3.example.com; *.s3 shorthand is not supported.",
|
||||
"selectRegisteredRoot": "Select registered root domain",
|
||||
"zoneLabel": "Zone:",
|
||||
"domain": "Domain",
|
||||
"domainPlaceholderWithZone": "api or @ or api.{domain}",
|
||||
"domainPlaceholder": "api / @ / full domain",
|
||||
"domainPlaceholderWithZone": "api / @ / * / *.s3.{domain}",
|
||||
"domainPlaceholder": "api / @ / * / full domain",
|
||||
"willCreate": "Will create:",
|
||||
"domainExample": "Example: enter <api>api</api> → <fqdn>api.zone.com</fqdn>; <apex>@</apex> → the root itself",
|
||||
"domainExample": "Example: <api>api</api> → <fqdn>api.zone.com</fqdn>; <apex>@</apex> → the root; * → *.zone.com. A wildcard cannot be opened directly; visit a concrete matching hostname.",
|
||||
"certOptional": "Certificate (optional)",
|
||||
"noCert": "No certificate"
|
||||
},
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
"expiresAt": "Срок действия истекает",
|
||||
"selectZone": "Сначала выберите зону",
|
||||
"enterDomain": "Введите домен",
|
||||
"noWildcard": "Домены зон не поддерживают подстановочные знаки",
|
||||
"noWildcard": "Допустим только один символ * как крайняя левая метка, например *.example.com",
|
||||
"invalidFormat": "Неверный формат домена",
|
||||
"invalidSubdomain": "Неверный формат имени субдомена",
|
||||
"mustBelongToZone": "Домен должен принадлежать зоне {root}",
|
||||
|
||||
@@ -79,21 +79,21 @@
|
||||
"expiresAt": "到期时间",
|
||||
"selectZone": "请先选择 Zone",
|
||||
"enterDomain": "请输入域名",
|
||||
"noWildcard": "Zone 域名不支持通配符",
|
||||
"noWildcard": "通配符只能是最左侧的完整标签 *,例如 *.example.com,且只能出现一次",
|
||||
"invalidFormat": "域名格式不合法",
|
||||
"invalidSubdomain": "子域名称格式不合法",
|
||||
"mustBelongToZone": "域名必须属于 Zone {root}",
|
||||
"domainAdded": "域名已添加",
|
||||
"addFailed": "添加失败",
|
||||
"quickCreateTitle": "快捷新增域名",
|
||||
"quickCreateDesc": "选择 Zone 后输入:子域名称(如 api)、@(根域)或完整 FQDN。",
|
||||
"quickCreateDesc": "输入子域名称(api)、@(根域)、*(根域下泛域名)或完整 FQDN。多级泛域名请填写完整名称,例如 *.s3.example.com,不支持 *.s3 简写。",
|
||||
"selectRegisteredRoot": "选择注册根域",
|
||||
"zoneLabel": "Zone:",
|
||||
"domain": "域名",
|
||||
"domainPlaceholderWithZone": "api 或 @ 或 api.{domain}",
|
||||
"domainPlaceholder": "api / @ / 完整域名",
|
||||
"domainPlaceholderWithZone": "api / @ / * / *.s3.{domain}",
|
||||
"domainPlaceholder": "api / @ / * / 完整域名",
|
||||
"willCreate": "将创建:",
|
||||
"domainExample": "示例:输入 <api>api</api> → <fqdn>api.zone.com</fqdn>;<apex>@</apex> → 根域本身",
|
||||
"domainExample": "示例:<api>api</api> → <fqdn>api.zone.com</fqdn>;<apex>@</apex> → 根域;* → *.zone.com。泛域名不能直接打开,请使用匹配的具体主机名访问。",
|
||||
"certOptional": "证书(可选)",
|
||||
"noCert": "不绑定证书"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user