From fc59cb103254896cb439eb54c1f2dae183978ff2 Mon Sep 17 00:00:00 2001 From: Muse Date: Mon, 19 Oct 2026 20:53:37 +0800 Subject: [PATCH] =?UTF-8?q?Agent=20=E8=8A=82=E7=82=B9=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=EF=BC=9A=E6=98=BE=E7=A4=BA=E5=AE=8C=E6=95=B4?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=91=BD=E4=BB=A4=EF=BC=88=E4=B8=BB=E6=8E=A7?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E5=8F=AF=E7=BC=96=E8=BE=91=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/web/translation/en-US.json | 11 ++++++----- internal/web/translation/zh-CN.json | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/internal/web/translation/en-US.json b/internal/web/translation/en-US.json index 27a6cbf..160efb5 100644 --- a/internal/web/translation/en-US.json +++ b/internal/web/translation/en-US.json @@ -1184,13 +1184,14 @@ "nodeTypeTraditional": "Traditional Panel", "nodeTypeAgent": "Agent", "agentHint": "Agent nodes don't need a panel address. An agent token will be generated on creation for configuring the agent on the node machine.", - "agentTokenTitle": "Agent Token", + "agentTokenTitle": "Agent Node Setup", "agentTokenCreated": "Node {{name}} created successfully", - "agentTokenHint": "Copy the token below and configure it in agent.json on the node machine. This token is shown only once!", - "agentTokenInstructions": "Run the install script on the node machine, or manually create /etc/x-ui/agent.json with the master URL and this token, then start the agent.", - "agentTokenCopied": "Token copied", + "agentTokenHint": "Copy the command below and run it on the node machine. This token is shown only once!", + "agentTokenInstructions": "The command downloads the installer, configures the master URL and token. The node comes online in ~30s.", + "agentTokenCopied": "Install command copied", "agentTokenCopyFailed": "Copy failed, please copy manually", - "copyToken": "Copy Token" + "copyToken": "Copy Install Command", + "agentMasterUrlHint": "Master URL (used by agent to reach the master; change to public address if behind proxy):" }, "settings": { "defaultTag": "Default", diff --git a/internal/web/translation/zh-CN.json b/internal/web/translation/zh-CN.json index 983e326..6e08e80 100644 --- a/internal/web/translation/zh-CN.json +++ b/internal/web/translation/zh-CN.json @@ -1066,13 +1066,14 @@ "nodeTypeTraditional": "传统面板", "nodeTypeAgent": "Agent", "agentHint": "Agent 节点无需面板地址,创建后会自动生成 agent token,用于在节点机上配置 agent。", - "agentTokenTitle": "Agent Token", + "agentTokenTitle": "Agent 节点安装", "agentTokenCreated": "节点 {{name}} 创建成功", - "agentTokenHint": "请复制下面的 token,配置到节点机的 agent.json 中。此 token 只显示一次!", - "agentTokenInstructions": "在节点机上运行安装脚本,或手动创建 /etc/x-ui/agent.json 并填入 master 地址和此 token,然后启动 agent。", - "agentTokenCopied": "Token 已复制", + "agentTokenHint": "复制下面的命令,在节点机上运行即可完成安装。此 token 只显示一次!", + "agentTokenInstructions": "命令会自动下载安装脚本、配置主控地址和 token,约 30 秒后节点上线。", + "agentTokenCopied": "安装命令已复制", "agentTokenCopyFailed": "复制失败,请手动复制", - "copyToken": "复制 Token" + "copyToken": "复制安装命令", + "agentMasterUrlHint": "主控地址(agent 用来连接主控,如有域名或反代请改成对外地址):" }, "settings": { "defaultTag": "默认",