refactor(i18n): U16 AgentWizard i18n 治理 — 29 个 agentwizardtsx.* hash 乱码键清理为 agent.wizard.* 语义化键 + 组件从 i18n.t() 全局改为 useTranslation() hook + 8 处硬编码中文 UI 文案清零. zh/en 7564=7564 对齐, tsc -b=0, npm build✓, ESLint=0/66/0, 17/17 测试通过
This commit is contained in:
1 parent
f178609d09
commit
a85e063a47
3 files changed
+113
-96
No files matched your search
@@ -6851,21 +6851,6 @@
|
||||
"agentalertstsx.sddab4a17": "Alert Threshold Triggered",
|
||||
"agentalertstsx.sbfdcf242": "Metric:",
|
||||
"agentalertstsx.s2d13763b": "Current Value:",
|
||||
"agentwizardtsx.s19ee0048": "Install command copied to clipboard, paste and execute on the target host",
|
||||
"agentwizardtsx.s7ac41b1c": "Auto-copy failed, please manually select all and copy below (Ctrl+A → Ctrl+C)",
|
||||
"agentwizardtsx.s8c59e054": "1. Download binary",
|
||||
"agentwizardtsx.s2f17bf61": "2. Set execute permission",
|
||||
"agentwizardtsx.s03fa0002": "3. Create systemd service",
|
||||
"agentwizardtsx.s84bd81f4": "4. Start and enable on boot",
|
||||
"agentwizardtsx.s6cfe961c": "Please fill in SSH login credentials (password or key)",
|
||||
"agentwizardtsx.s812cc1a5": "Deploy Agent",
|
||||
"agentwizardtsx.sed0c1b63": "Execute the following command on the target host to install and register the Agent",
|
||||
"agentwizardtsx.s564be0b1": "Copy to Clipboard",
|
||||
"agentwizardtsx.sc9b7eec2": "No target host selected",
|
||||
"agentwizardtsx.s12a11150": "Please check a host in the host list first, then click \"Install Agent\" to open this page",
|
||||
"agentwizardtsx.seb55dff9": "This server has no SSH credentials configured, please fill in the following (auto-saved after first successful connection)",
|
||||
"agentwizardtsx.sce2f5317": "Connect and install Agent (credentials will be auto-saved)",
|
||||
"agentwizardtsx.s9866eb4f": "One-click Install Agent",
|
||||
"agentalerthelpe.sc1eec3e5": "CPU IO Wait",
|
||||
"agentalerthelpe.sa2f9101c": "Swap Usage",
|
||||
"agentalerthelpe.sf23ce82f": "1-minute Load",
|
||||
@@ -6906,20 +6891,43 @@
|
||||
"agentmonitortsx.s8h9i0j1k": "Remote Command",
|
||||
"agentmonitortsx.s9i0j1k2l": "Details",
|
||||
"agentmonitortsx.s0j1k2l3m": "Close",
|
||||
"agentwizardtsx.s1a2b3c4d": "Install Agent",
|
||||
"agentwizardtsx.s2b3c4d5e": "SSH One-Click Install",
|
||||
"agentwizardtsx.s3c4d5e6f": "Manual Install",
|
||||
"agentwizardtsx.s4d5e6f7g": "Run the following command on the target host; Agent will download, install and start automatically:",
|
||||
"agentwizardtsx.s5e6f7g8h": "Auto-copy failed. Click the input field, select all (Ctrl+A) and copy (Ctrl+C):",
|
||||
"agentwizardtsx.s6f7g8h9i": "Server address auto-detected - install script and Agent reporting both use {{origin}} (proxied via Nginx/Vite to backend).",
|
||||
"agentwizardtsx.s7g8h9i0j": "Remotely connect to target host via SSH, auto-download and install Agent, starts running immediately.",
|
||||
"agentwizardtsx.s8h9i0j1k": "SSH connecting, installing...",
|
||||
"agentwizardtsx.s9i0j1k2l": "System will SSH connect to {{ip}} and run install script. Ensure SSH credentials are configured.",
|
||||
"agentwizardtsx.s0j1k2l3m": "After completing the above steps, Agent will run as a systemd service and auto-report metrics.",
|
||||
"agentwizardtsx.s1k2l3m4n": "or",
|
||||
"agentwizardtsx.s2l3m4n5o": "Key",
|
||||
"agentwizardtsx.s3m4n5o6p": "SSH Private Key (PEM format)",
|
||||
"agentwizardtsx.s4n5o6p7q": "Agent install task submitted, running in background..."
|
||||
"wizard.wizard.title": "Deploy Agent",
|
||||
"wizard.wizard.titleWithHost": "Deploy Agent → {{hostname}}",
|
||||
"wizard.wizard.desc": "Execute the following command on the target host to install and register the Agent",
|
||||
"wizard.wizard.descWithHost": "Target host {{hostname}} ({{ip}}), choose installation method:",
|
||||
"wizard.wizard.tabAuto": "Install Agent",
|
||||
"wizard.wizard.tabSSH": "SSH One-Click Install",
|
||||
"wizard.wizard.tabManual": "Manual Install",
|
||||
"wizard.wizard.tabPowerShell": "PowerShell Install",
|
||||
"wizard.wizard.copySuccess": "Install command copied to clipboard, paste and execute on the target host",
|
||||
"wizard.wizard.copyFailed": "Auto-copy failed, please manually select all and copy below (Ctrl+A → Ctrl+C)",
|
||||
"wizard.wizard.copyBtn": "Copy to Clipboard",
|
||||
"wizard.wizard.autoHint": "Run the following command on the target host; Agent will download, install and start automatically:",
|
||||
"wizard.wizard.autoHintWindows": "Run the following command in an administrator PowerShell on the target Windows host.",
|
||||
"wizard.wizard.manualCopyHint": "Auto-copy failed. Click the input field, select all (Ctrl+A) and copy (Ctrl+C):",
|
||||
"wizard.wizard.addressDetected": "Server address auto-detected - install script and Agent reporting both use {{origin}} (proxied via Nginx/Vite to backend). After successful installation, the Agent will connect automatically and start reporting metrics.",
|
||||
"wizard.wizard.noServer": "No target host selected",
|
||||
"wizard.wizard.noServerHint": "Please check a host in the host list first, then click \"Install Agent\" to open this page",
|
||||
"wizard.wizard.credsHint": "This server has no SSH credentials configured, please fill in the following (auto-saved after first successful connection)",
|
||||
"wizard.wizard.credsRequired": "Please fill in SSH login credentials (password or key)",
|
||||
"wizard.wizard.or": "or",
|
||||
"wizard.wizard.keyAuth": "Key",
|
||||
"wizard.wizard.privateKey": "SSH Private Key (PEM format)",
|
||||
"wizard.wizard.sshHint": "Remotely connect to target host via SSH, auto-download and install Agent, starts running immediately.",
|
||||
"wizard.wizard.sshInstalling": "SSH connecting, installing...",
|
||||
"wizard.wizard.installWithCreds": "Connect and install Agent (credentials will be auto-saved)",
|
||||
"wizard.wizard.installNow": "One-click Install Agent",
|
||||
"wizard.wizard.sshConnectHint": "System will SSH connect to {{ip}} and run install script. Ensure SSH credentials are configured.",
|
||||
"wizard.wizard.windowsSSHNotSupported": "For Windows Agent, please use the PowerShell install command. SSH one-click install only supports Linux/macOS",
|
||||
"wizard.wizard.installSubmitted": "{{hostname}}: Agent install task submitted, running in background...",
|
||||
"wizard.wizard.manualHint": "After completing the above steps, Agent will run as a systemd service and auto-report metrics.",
|
||||
"wizard.wizard.stepDownload": "1. Download binary",
|
||||
"wizard.wizard.stepDownloadWindows": "Download Windows Agent",
|
||||
"wizard.wizard.stepChmod": "2. Set execute permission",
|
||||
"wizard.wizard.stepService": "3. Create systemd service",
|
||||
"wizard.wizard.stepRegisterWindows": "Register Windows Service",
|
||||
"wizard.wizard.stepStart": "4. Start and enable on boot",
|
||||
"wizard.wizard.stepStartCheck": "Start and Check"
|
||||
},
|
||||
"system": {
|
||||
"title": "System",
|
||||
|
||||
Reference in new issue
Block a user