feat(i18n): 系统更新功能多语言支持与缺失 key 补全

- 新增 systemUpdate 区块(zh-CN/zh-TW/en)覆盖系统更新页与版本提示
- zh-CN 补充 account.walletType
- SystemUpdate 页与 Layout 版本 tag 全部改为 useTranslation,移除硬编码中文

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
WrBug
2026-02-25 21:14:59 +08:00
co-authored by Cursor
parent 0740abcf16
commit f35bad78d4
5 changed files with 206 additions and 53 deletions
+53 -3
View File
@@ -419,6 +419,40 @@
"saveFailed": "Failed to save auto redeem configuration"
}
},
"systemUpdate": {
"title": "System Update",
"currentVersion": "Current Version",
"ready": "Ready",
"hasNewVersion": "New version available: {{version}}",
"alreadyLatest": "You are on the latest version",
"checkFailed": "Failed to check for updates",
"confirmTitle": "Confirm Update",
"confirmContent1": "Update to version {{version}}?",
"confirmContent2": "The system will be temporarily unavailable during the update (about 30-60 seconds).",
"confirmContent3": "The page will refresh automatically when the update completes.",
"okText": "Update Now",
"cancelText": "Cancel",
"updateStarted": "Update started, please wait...",
"updateFailedWithMessage": "Update failed: {{message}}",
"updateSuccessRefresh": "Update successful! Page will refresh in 3 seconds...",
"needAdmin": "Admin permission required to perform update",
"startFailed": "Failed to start update",
"updating": "System is updating",
"updateFailedTitle": "Update Failed",
"checkUpdate": "Check for Updates",
"newVersionFound": "New Version Available",
"publishedAt": "Published At",
"releaseNotes": "Release Notes",
"upgradeNow": "Upgrade to v{{version}} Now",
"usageTitle": "Instructions",
"usage1": "Click \"Check for Updates\" to see if a new version is available",
"usage2": "Update takes about 30-60 seconds; the system will be temporarily unavailable",
"usage3": "The page will refresh automatically after a successful update",
"usage4": "If the update fails, the system will roll back to the current version",
"versionTooltipNew": "New version available, click to go to System Update",
"versionTooltipLatest": "You are on the latest version",
"prerelease": "Pre-release"
},
"builderApiKey": {
"title": "Builder API Key Configuration",
"alertTitle": "What is Builder API Key?",
@@ -1579,20 +1613,36 @@
"title": "Price Chart",
"btcTitle": "BTC Price Chart",
"marketTitle": "Market Price Chart",
"price": "BTC Price",
"priceChart": "Price Chart",
"price": "Price",
"openPrice": "Open",
"spread": "Spread",
"minSpreadLine": "Min Spread Line",
"maxSpreadLine": "Max Spread Line",
"marketUp": "Up",
"marketDown": "Down",
"time": "Time"
"time": "Time",
"latestPrice": "Latest",
"timeWindowStart": "Window Start",
"timeWindowEnd": "Window End"
},
"strategyInfo": {
"title": "Strategy Info",
"market": "Market",
"interval": "Interval",
"account": "Account",
"spreadMode": "Spread Mode"
"spreadMode": "Spread Mode",
"spreadDirection": "Spread Direction"
},
"periodSwitch": {
"mode": "Period Switch Mode",
"auto": "Auto",
"manual": "Manual",
"autoDesc": "Automatically switch to the latest period when it ends",
"manualDesc": "Keep complete data when period ends",
"switchToLatest": "Switch to Latest Period",
"periodEnded": "Current period has ended",
"newPeriodAvailable": "New period has started"
}
}
}