refactor(layout, i18n, admin): 优化布局结构与多语言支持

调整 AdminShell 组件的子组件顺序,提升代码可读性。更新 admin-breadcrumb 组件,简化导航标签翻译逻辑,确保多语言支持的一致性。重构 admin-language-switcher 组件,优化语言切换的用户体验,增强界面交互性。更新多语言配置,新增登录界面的副标题,提升用户体验。
This commit is contained in:
2026-05-30 17:46:27 +08:00
parent 36117144dc
commit a550c418e5
64 changed files with 3405 additions and 1378 deletions

View File

@@ -1,6 +1,7 @@
{
"title": "Login",
"loginTitle": "Admin Login",
"loginSubtitle": "Sign in with your admin account",
"account": "Account",
"accountPlaceholder": "Login account",
"password": "Password",

View File

@@ -54,7 +54,8 @@
},
"aria": {
"expand": "Expand",
"collapse": "Collapse"
"collapse": "Collapse",
"rowActionsMenu": "Row actions menu"
},
"export": {
"drawsList": { "filename": "draws-list", "sheetName": "Draws" },
@@ -155,7 +156,9 @@
"workspace": "Workspace"
},
"auth": {
"checking": "Checking sign-in status…"
"checking": "Checking sign-in status…",
"checkingShort": "Loading workspace…",
"sessionExpired": "Your session has expired. Please sign in again."
},
"confirm": {
"cancel": "Cancel",

View File

@@ -353,6 +353,26 @@
},
"odds": {
"sectionHint": "Pick a version to edit prize-tier odds; publishing applies to new tickets immediately.",
"sections": {
"playScope": "Play scope",
"oddsConfig": "Odds"
},
"currentSelection": "Selection: {{category}} / {{play}}",
"playGroups": {
"bigSmall": "Big / small",
"combo4": "4D position",
"number3": "3D position",
"number2": "2D position",
"other": "Other"
},
"summary": {
"title": "Summary",
"version": "Version",
"statusLabel": "Status",
"readOnlyTag": "Read-only",
"readOnlyHint": "This version is read-only. Create a draft to make changes.",
"activeHint": "This version is active; new tickets use these settings."
},
"tabs": {
"all": "All"
},

View File

@@ -7,10 +7,13 @@
"lifetime": "All-time totals",
"currentDraw": "Current draw",
"currentDrawDetail": "Current draw · {{drawNo}}",
"operations": "Operations (current draw)"
"operations": "Operations (current draw)",
"snapshot": "Current draw snapshot"
},
"countdownToClose": "Time to close",
"scheduledDrawTime": "Draw at {{time}}",
"analytics": {
"title": "Financial analytics",
"title": "Finance overview",
"periodLabel": "Period",
"metricLabel": "Metric",
"playLabel": "Play filter",
@@ -22,8 +25,16 @@
"summaryBet": "Period bet",
"summaryPayout": "Period payout",
"summaryProfit": "Period profit",
"dailyTrend": "Daily trend",
"dailyTrend": "Period trend",
"granularityDay": "By day",
"playBreakdown": "Play breakdown",
"playRanking": "Top 5 plays",
"rankingMetricLabel": "Ranking metric",
"rankingMetrics": {
"bet": "By bet amount",
"payout": "By payout",
"profit": "By profit"
},
"periodDistribution": "Period structure",
"noPlayData": "No play data in this period",
"periods": {
@@ -57,6 +68,7 @@
"currentDrawPayout": "Draw payout",
"currentDrawProfit": "Draw profit",
"drawFinanceDetails": "Draw finance details",
"detailsShort": "Details",
"todayBetTotal": "Today's total bet",
"todayPayout": "Today's payout",
"todayProfit": "Today's profit",
@@ -97,6 +109,10 @@
"soldOutTotal": "Total sold out",
"pendingReviewResults": "Pending result review",
"abnormalTransferOrders": "Abnormal transfer orders",
"abnormalTransferScope": "Flagged by wallet reconciliation",
"abnormalTransferPending": "{{count}} pending review",
"abnormalTransferAllClear": "Reconciliation clear",
"abnormalTransferAction": "Open transfer orders to resolve",
"viewTransferOrders": "View transfer orders",
"noSoldOutNumbers": "No sold-out numbers",
"noPoolData": "No pool data for this dimension",
@@ -121,7 +137,11 @@
"results": "Results",
"tickets": "Ticket management",
"walletTransactions": "Wallet transactions",
"auditLogs": "Audit logs"
"auditLogs": "Audit logs",
"reports": "Reports",
"payoutRules": "Odds & rebate",
"riskMonitor": "Risk monitor",
"systemSettings": "System settings"
},
"warnings": {
"drawPermission": "This account has no draw/dashboard view permission. Finance and risk data were not returned.",