diff --git a/src/app/create/page.tsx b/src/app/create/page.tsx index db1efb7..a952677 100644 --- a/src/app/create/page.tsx +++ b/src/app/create/page.tsx @@ -39,14 +39,14 @@ interface Zone { } const STEP_LABELS: Record = { - find_zone: "Lookup DNS Zone", - create_tunnel: "Create Tunnel", - configure_tunnel: "Configure Ingress", - create_dns: "Create DNS Record", - create_access_app: "Create Access App", - setup_ca: "Setup Short-lived Cert", - get_token: "Get Tunnel Token", - browser_rendering: "Browser Rendering", + find_zone: "查找 DNS Zone", + create_tunnel: "创建隆道", + configure_tunnel: "配置 Ingress", + create_dns: "创建 DNS 记录", + create_access_app: "创建访问应用", + setup_ca: "配置短期证书", + get_token: "获取隆道 Token", + browser_rendering: "浏览器渲染提醒", }; export default function CreatePage() { @@ -143,24 +143,24 @@ export default function CreatePage() {
-

Deploy SSH Host

+

部署 SSH 主机

- One form → Tunnel + DNS + Access App + Install Command + 一键完成 → 隆道 + DNS + 访问应用 + 安装命令

{/* Form */}
- } label="Server Name" - hint="A friendly label for this server, e.g. prod-web-1"> + } label="服务器名称" + hint="服务器昵称,如 prod-web-1"> {/* SSH Hostname — zone dropdown + subdomain */} - } label="SSH Hostname" - hint={hostname ? `Will create: ${hostname}` : "Select a zone, then enter a subdomain"}> + } label="SSH 访问域名" + hint={hostname ? `将创建:${hostname}` : "选择 Zone 再填写子域名前缀"}>
- Loading zones… + 加载 Zone 中…
) : zonesError ? (
- {zonesError} + 加载失败: {zonesError} @@ -194,7 +194,7 @@ export default function CreatePage() { className="form-input appearance-none pr-8" required > - + {zones.map((z) => ( ))} @@ -206,20 +206,20 @@ export default function CreatePage() {
- } label="SSH Port" - hint="Server-side SSH port (usually 22)"> + } label="SSH 端口" + hint="服务器 SSH 端口(通常为 22)"> - } label="SSO Email" - hint="Your Cloudflare SSO email — its prefix becomes the Linux user"> + } label="SSO 邮筱" + hint="Cloudflare SSO 邮筱,前缀将作为 Linux 用户名"> - } label="Allowed Emails (optional)" - hint="Comma-separated emails for the Access Policy. Leave empty = any authenticated user"> + } label="允许访问的邮筱(可选)" + hint="多个邮筱用逗号分隔,留空表示所有已认证用户均可访问">