{{if eq .Lang "zh"}}IPv6 地址池{{else}}IPv6 address pool{{end}}

{{if eq .Lang "zh"}}总览{{else}}Overview{{end}} {{if eq .Lang "zh"}}域名管理{{else}}Domains{{end}} 中文EN
{{if .Msg}}
{{.Msg}}
{{end}} {{if .Err}}
{{.Err}}
{{end}} {{if or (eq .Mode "prefix") (eq .Mode "none")}}

{{if eq .Lang "zh"}}整段 /64 分配{{else}}Whole /64 blocks{{end}}

{{if eq .Lang "zh"}}这里可以填写一段委派的前缀(如 /60、/56、/48):填写后,容器可以获得一整段 /64,在容器内部自行切分子网或运行 SLAAC。在 IPv4-only 模式下容器将通过独立路由网卡接入 IPv6。留空即关闭该功能,已分配的 /64 不受影响。{{else}}Optionally enter a delegated prefix here (e.g. /60, /56, /48): containers can then be given a whole /64 of their own, to subnet internally or run SLAAC. In IPv4-only mode, the /64 is delivered via a routed NIC. Leave empty to disable; already-assigned /64s are not affected.{{end}}

{{if .ExtraTotal}}{{if eq .Lang "zh"}}共 {{.ExtraTotal}} 个 /64 · 宿主机保留 {{.ExtraReserved}} · 已分配 {{.ExtraUsed}} · 剩余 {{.ExtraFree}}{{else}}{{.ExtraTotal}} /64s · {{.ExtraReserved}} kept for this host · {{.ExtraUsed}} assigned · {{.ExtraFree}} free{{end}}{{end}}

{{if eq .Lang "zh"}}宿主机自己正在使用的 /64 永远不会分配给容器;已分配的 /64 不能通过改配额收回,删除该账号才会释放。{{else}}The /64 this host uses itself is never handed out, and an assigned /64 cannot be taken back by editing quotas — deleting the account releases it.{{end}}

{{if .ExtraAssigned}}

{{if eq .Lang "zh"}}已分配的 /64{{else}}Assigned /64s{{end}}

{{range .ExtraAssigned}}{{end}}
{{if eq .Lang "zh"}}前缀{{else}}Prefix{{end}} {{if eq .Lang "zh"}}所属用户{{else}}Owner{{end}}
{{.Block}}{{.User}}
{{end}} {{else if eq .Mode "pool"}}

{{if eq .Lang "zh"}}添加地址{{else}}Add addresses{{end}}

{{if eq .Lang "zh"}}每行一个地址,可接受裸地址或 /128 形式(如 2001:db8:1::9c4 或 2001:db8:1::9c5/128)。已分配给小鸡的地址不可删除。{{else}}One address per line, bare or with /128 (e.g. 2001:db8:1::9c4 or 2001:db8:1::9c5/128). Addresses assigned to a container cannot be removed.{{end}}

{{if eq .Lang "zh"}}⚠️ 不要将宿主机本身正在使用的公网 IPv6 添加进池,否则会断掉宿主机的 v6 出网。{{else}}⚠️ Do not add the host's own currently-used public IPv6 address to the pool, or it will break the host's IPv6 connectivity.{{end}}
{{if eq .Lang "zh"}}池:{{.Used}}/{{.Total}} 已用,{{.Free}} 空闲{{else}}{{.Used}}/{{.Total}} used, {{.Free}} free{{end}}

{{if eq .Lang "zh"}}池列表{{else}}Pool list{{end}}

{{if .Addrs}} {{range .Addrs}} {{end}}
{{if eq .Lang "zh"}}地址{{else}}Address{{end}} {{if eq .Lang "zh"}}状态{{else}}Status{{end}} {{if eq .Lang "zh"}}所属用户{{else}}Owner{{end}}
{{.Address}} {{if .Used}}{{if eq $.Lang "zh"}}已分配{{else}}used{{end}}{{else}}{{if eq $.Lang "zh"}}空闲{{else}}free{{end}}{{end}} {{if .User}}{{.User}}{{else}}-{{end}} {{if not .Used}}
{{end}}
{{else}}
{{if eq .Lang "zh"}}池为空 — 在上方添加服务商给你的地址。创建容器时如不指定地址,将自动分配第一个空闲地址;池耗尽后创建的小鸡为纯 IPv4。{{else}}Pool is empty — add the addresses your provider gave you above. When creating a container without a specific address, the first free one is auto-assigned; once the pool is exhausted, new containers are IPv4-only.{{end}}
{{end}}
{{else}}

{{if eq .Lang "zh"}}本机未启用 IPv6 地址池(当前模式:未启用)。{{else}}IPv6 pool is not in use on this host (IPv6 disabled).{{end}}

{{end}}