交付三种引擎登记、草稿/已保存连接测试、可逆启用、每源熔断与 Cron 巡检,以及控制台页面;用户确认收尾后标 DONE_LOCAL。 Co-authored-by: Cursor <cursoragent@cursor.com>
171 lines
6.1 KiB
JSON
171 lines
6.1 KiB
JSON
{
|
|
"appName": "Watchman",
|
|
"login": {
|
|
"title": "Sign in to Watchman",
|
|
"subtitle": "Use your company account to open the alert platform",
|
|
"eyebrow": "WATCHMAN · EARLY WARNING",
|
|
"heroEm": "visible",
|
|
"heroBefore": "Make exceptions ",
|
|
"submitting": "Signing in",
|
|
"account": "Account",
|
|
"accountPlaceholder": "Employee ID",
|
|
"passwordPlaceholder": "Password",
|
|
"cardTitle": "Sign in",
|
|
"theme": "Toggle theme",
|
|
"footer": "© 2026 和信精密 · HEXIN PRECISION",
|
|
"username": "Username",
|
|
"password": "Password",
|
|
"submit": "Sign in",
|
|
"failed": "Sign-in failed. Check the account and password.",
|
|
"unavailable": "Sign-in is temporarily unavailable. Try again shortly.",
|
|
"logout": "Sign out",
|
|
"forbiddenTitle": "No access",
|
|
"forbiddenBody": "This account is signed in, but it does not have a Watchman view, operate, or admin role.",
|
|
"fixture": "Local identity mode. This is not a production sign-in."
|
|
},
|
|
"shell": {
|
|
"welcome": "Signed in: {name}"
|
|
},
|
|
"health": {
|
|
"loading": "Checking health",
|
|
"success": "Health check succeeded",
|
|
"failure": "Health check failed",
|
|
"successDetail": "Service available: {detail}",
|
|
"failureDetail": "Service unavailable: {detail}"
|
|
},
|
|
"nav": {
|
|
"home": "Overview",
|
|
"datasources": "Data sources",
|
|
"create": "New",
|
|
"detail": "Details"
|
|
},
|
|
"datasource": {
|
|
"list": {
|
|
"create": "New",
|
|
"loading": "Loading data sources",
|
|
"loadFailed": "Failed to load data sources",
|
|
"empty": "No data sources yet",
|
|
"emptyHint": "An administrator can create the first data source."
|
|
},
|
|
"columns": {
|
|
"name": "Name",
|
|
"engine": "Engine",
|
|
"host": "Host",
|
|
"port": "Port",
|
|
"database": "Database",
|
|
"username": "Username",
|
|
"status": "Status",
|
|
"lastTest": "Last test",
|
|
"actions": "Actions"
|
|
},
|
|
"status": {
|
|
"enabled": "Enabled",
|
|
"disabled": "Disabled",
|
|
"circuitOpen": "Circuit open"
|
|
},
|
|
"actions": {
|
|
"edit": "Edit",
|
|
"test": "Test",
|
|
"disable": "Disable",
|
|
"save": "Save",
|
|
"backToList": "Back to list",
|
|
"testDisabledWhy": "A disabled data source cannot be tested",
|
|
"testConnection": "Test connection",
|
|
"testSaved": "Test saved connection",
|
|
"enable": "Enable"
|
|
},
|
|
"denied": {
|
|
"title": "Data sources are not available",
|
|
"body": "Only administrators can open the data source pages."
|
|
},
|
|
"form": {
|
|
"connection": "Connection",
|
|
"name": "Name",
|
|
"engine": "Engine",
|
|
"description": "Purpose",
|
|
"host": "Host",
|
|
"hostPlaceholder": "For example db.example.test",
|
|
"port": "Port",
|
|
"database": "Database",
|
|
"username": "Username",
|
|
"password": "Password",
|
|
"passwordPlaceholder": "Enter a password",
|
|
"required": "Required",
|
|
"saving": "Saving",
|
|
"invalidRange": "Enter a whole number from {min} to {max}"
|
|
},
|
|
"disabledNote": "This data source is disabled, so its saved connection cannot be tested. Click Enable to restore it.",
|
|
"circuit": {
|
|
"title": "Circuit breaker",
|
|
"hint": "When the saved connection fails the threshold number of times within the window, the circuit opens. It cannot be tested during the cooldown and recovers automatically afterwards.",
|
|
"window": "Failure window (seconds)",
|
|
"threshold": "Failure threshold (times)",
|
|
"cooldown": "Cooldown (seconds)",
|
|
"openTitle": "Circuit open",
|
|
"openBody": "Repeated failures opened the circuit. The saved connection cannot be tested until {until}.",
|
|
"testBlocked": "Circuit open, cannot be tested until {until}"
|
|
},
|
|
"enabledDone": "Enabled",
|
|
"loadFailed": "Failed to load the data source",
|
|
"notFound": "Data source not found",
|
|
"test": {
|
|
"title": "Connection test",
|
|
"none": "Not tested yet",
|
|
"noneDraft": "You can test the connection with the current form values before saving.",
|
|
"draftNote": "Draft test: uses the current form values. Nothing is saved and Last test is not updated.",
|
|
"savedNote": "Test of the saved connection. The result is recorded in Last test.",
|
|
"running": "Testing",
|
|
"failedUnknown": "The test did not finish. Try again shortly."
|
|
},
|
|
"category": {
|
|
"success": {
|
|
"title": "Test succeeded",
|
|
"body": "Connected and completed the read-only probe."
|
|
},
|
|
"auth_failed": {
|
|
"title": "Authentication failed",
|
|
"body": "The server did not accept the username or password. Check the username, then enter the password again and save."
|
|
},
|
|
"timeout": {
|
|
"title": "Timed out",
|
|
"body": "No reply from the server in the allowed time. Try again later, or check the network and firewall."
|
|
},
|
|
"unreachable": {
|
|
"title": "Unreachable",
|
|
"body": "Could not connect to the host and port. Check the host, the port, and whether the network allows it."
|
|
},
|
|
"rejected": {
|
|
"title": "Rejected by the server",
|
|
"body": "The server replied but refused the request, for example because the database does not exist. This is not a password error."
|
|
}
|
|
},
|
|
"lastTest": {
|
|
"success": "Succeeded",
|
|
"auth_failed": "Authentication failed",
|
|
"timeout": "Timed out",
|
|
"unreachable": "Unreachable",
|
|
"rejected": "Rejected",
|
|
"none": "Not tested yet"
|
|
},
|
|
"refs": {
|
|
"title": "References",
|
|
"empty": "No references yet",
|
|
"loadFailed": "Failed to load references"
|
|
},
|
|
"disableConfirm": {
|
|
"title": "Disable data source",
|
|
"body": "A disabled data source cannot be tested. The record is kept. Disable \"{name}\"?",
|
|
"ok": "Disable",
|
|
"cancel": "Cancel"
|
|
},
|
|
"errors": {
|
|
"duplicate_name": "This name already exists. Choose another.",
|
|
"disabled": "The data source is disabled, so the saved connection cannot be tested",
|
|
"circuit_open": "Circuit open, the saved connection cannot be tested for now",
|
|
"secret_unavailable": "The saved password cannot be used. Enter the password again, then test."
|
|
},
|
|
"saved": "Saved",
|
|
"disabled": "Disabled"
|
|
}
|
|
}
|