Agent 节点创建弹窗:显示完整安装命令(主控地址可编辑)

This commit is contained in:
Muse
2026-10-19 20:53:37 +08:00
parent 2f2efdac42
commit fc59cb1032
2 changed files with 12 additions and 10 deletions
+6 -5
View File
@@ -1184,13 +1184,14 @@
"nodeTypeTraditional": "Traditional Panel", "nodeTypeTraditional": "Traditional Panel",
"nodeTypeAgent": "Agent", "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.", "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", "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!", "agentTokenHint": "Copy the command below and run it 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.", "agentTokenInstructions": "The command downloads the installer, configures the master URL and token. The node comes online in ~30s.",
"agentTokenCopied": "Token copied", "agentTokenCopied": "Install command copied",
"agentTokenCopyFailed": "Copy failed, please copy manually", "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": { "settings": {
"defaultTag": "Default", "defaultTag": "Default",
+6 -5
View File
@@ -1066,13 +1066,14 @@
"nodeTypeTraditional": "传统面板", "nodeTypeTraditional": "传统面板",
"nodeTypeAgent": "Agent", "nodeTypeAgent": "Agent",
"agentHint": "Agent 节点无需面板地址,创建后会自动生成 agent token,用于在节点机上配置 agent。", "agentHint": "Agent 节点无需面板地址,创建后会自动生成 agent token,用于在节点机上配置 agent。",
"agentTokenTitle": "Agent Token", "agentTokenTitle": "Agent 节点安装",
"agentTokenCreated": "节点 {{name}} 创建成功", "agentTokenCreated": "节点 {{name}} 创建成功",
"agentTokenHint": "请复制下面的 token,配置到节点机的 agent.json 中。此 token 只显示一次!", "agentTokenHint": "复制下面的命令,在节点机上运行即可完成安装。此 token 只显示一次!",
"agentTokenInstructions": "在节点机上运行安装脚本,或手动创建 /etc/x-ui/agent.json 并填入 master 地址和此 token,然后启动 agent。", "agentTokenInstructions": "命令会自动下载安装脚本、配置主控地址和 token,约 30 秒后节点上线。",
"agentTokenCopied": "Token 已复制", "agentTokenCopied": "安装命令已复制",
"agentTokenCopyFailed": "复制失败,请手动复制", "agentTokenCopyFailed": "复制失败,请手动复制",
"copyToken": "复制 Token" "copyToken": "复制安装命令",
"agentMasterUrlHint": "主控地址(agent 用来连接主控,如有域名或反代请改成对外地址):"
}, },
"settings": { "settings": {
"defaultTag": "默认", "defaultTag": "默认",