Skip to content

"Vibe-Trading: Your Personal Trading Agent"

fix(i18n): correct broker diagnostics in English and Chinese

tingkkae994bcfa6d4
diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json
index 7f4ec5452..0c96bd7f2 100644
--- a/frontend/src/i18n/locales/en.json
+++ b/frontend/src/i18n/locales/en.json
@@ -127,9 +127,9 @@
"connectorVerifyFailed": "Connection verification failed.",
"diagnosticCredentialsPartial": "Credentials are incomplete. Configure all required variables and recreate the service.",
"diagnosticCredentialsConflict": "Credential sources conflict. Keep one complete source, then retry.",
- "diagnosticSdkMissing": "The Longbridge SDK is not installed in the backend service.",
+ "diagnosticSdkMissing": "The SDK required by this broker is not installed in the backend service.",
"diagnosticAuthenticationFailed": "Authentication failed. Check the configured credentials.",
- "diagnosticNetworkUnreachable": "The Longbridge service is unreachable. Check network access and retry.",
+ "diagnosticNetworkUnreachable": "The broker service or local gateway is unreachable. Check the connection address and network access, then retry.",
"diagnosticBrokerError": "The broker rejected the read-only verification request. Retry or check backend logs."
},
"scheduled": {
diff --git a/frontend/src/i18n/locales/zh-CN.json b/frontend/src/i18n/locales/zh-CN.json
index 38fc8f9ea..b578b8adc 100644
--- a/frontend/src/i18n/locales/zh-CN.json
+++ b/frontend/src/i18n/locales/zh-CN.json
@@ -122,9 +122,9 @@
"connectorVerifyFailed": "连接验证失败。",
"diagnosticCredentialsPartial": "凭证不完整。请配置所有必需变量并重新创建服务。",
"diagnosticCredentialsConflict": "凭证来源冲突。请仅保留一套完整来源,然后重试。",
- "diagnosticSdkMissing": "后端服务未安装 Longbridge SDK。",
+ "diagnosticSdkMissing": "后端服务未安装此券商所需的 SDK。",
"diagnosticAuthenticationFailed": "认证失败。请检查已配置的凭证。",
- "diagnosticNetworkUnreachable": "无法连接 Longbridge 服务。请检查网络后重试。",
+ "diagnosticNetworkUnreachable": "无法连接券商服务或本地网关。请检查连接地址和网络后重试。",
"diagnosticBrokerError": "券商拒绝了只读验证请求。请重试或检查后端日志。"
},
"scheduled": {