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": "默认",