diff --git a/.agent-maintainer/dashboard-source-baseline.json b/.agent-maintainer/dashboard-source-baseline.json index 7441d3d8..5629614b 100644 --- a/.agent-maintainer/dashboard-source-baseline.json +++ b/.agent-maintainer/dashboard-source-baseline.json @@ -20,6 +20,21 @@ "nonblank": 424, "physical": 450 }, + "frontend/dashboard/src/app/zh-Hans/advancedPages.ts": { + "group": "source", + "nonblank": 456, + "physical": 468 + }, + "frontend/dashboard/src/app/zh-Hans/corePages.ts": { + "group": "source", + "nonblank": 716, + "physical": 733 + }, + "frontend/dashboard/src/app/zh-Hans/diagnosticsReports.ts": { + "group": "source", + "nonblank": 754, + "physical": 773 + }, "frontend/dashboard/src/features/call-investigator/CallInvestigatorPage.tsx": { "group": "source", "nonblank": 762, @@ -45,11 +60,6 @@ "nonblank": 639, "physical": 683 }, - "frontend/dashboard/src/features/shared/tables.tsx": { - "group": "source", - "nonblank": 487, - "physical": 509 - }, "frontend/dashboard/src/styles/context-evidence.css": { "group": "styles", "nonblank": 352, diff --git a/CHANGELOG.md b/CHANGELOG.md index 96c4cd22..ad503f93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- Complete the Simplified Chinese dashboard experience across React views, visualization metadata, tables, accessibility text, CLI help, and dashboard lifecycle messages while preserving user-provided data verbatim. - Improve the Overview token-flow chart at constrained desktop widths with a taller single-column layout, larger Sankey node gaps, and label-safe padding; keep virtualized evidence-table actions on one row. - Apply official long-context input, cached-input, and output price multipliers to concrete calls above 272K input tokens when the selected OpenAI service tier publishes long-context rates, while keeping aggregate summaries from being incorrectly thresholded. diff --git a/README.md b/README.md index 879cea27..7d4005df 100644 --- a/README.md +++ b/README.md @@ -214,7 +214,7 @@ CODEX_USAGE_TRACKER_LANG=vi codex-usage-tracker serve-dashboard --open The dashboard also includes a language selector. Browser selections are stored locally and can override the generated default for that browser. -Supported dashboard locales include English, Vietnamese, Spanish, French, German, Portuguese, Japanese, Simplified Chinese, Korean, Russian, Italian, and Arabic. This localizes dashboard UI text, not raw Codex log content, thread names, project names, paths, full CLI output, or data exports. +Supported dashboard locales include English, Vietnamese, Spanish, French, German, Portuguese, Japanese, Simplified Chinese, Korean, Russian, Italian, and Arabic. Simplified Chinese also localizes CLI help and dashboard lifecycle messages. Localization never rewrites raw Codex log content, thread names, project names, paths, or data exports. ### Adding A Dashboard Language diff --git a/frontend/dashboard/src/App.tsx b/frontend/dashboard/src/App.tsx index dbdccf45..e8daf268 100644 --- a/frontend/dashboard/src/App.tsx +++ b/frontend/dashboard/src/App.tsx @@ -5,7 +5,7 @@ import { currentViewCsvExport } from './app/currentViewExport'; import { errorMessage, refreshProgressLabel, type RefreshOptions } from './app/dashboardRefresh'; import { historyScopeFromPayload, historyScopeStatusLabel } from './app/historyScope'; import { createShellI18n, initialDashboardLanguage, storeDashboardLanguage } from './app/i18n'; -import { ShellI18nProvider } from './app/i18nContext'; +import { LocalizedShellI18nProvider } from './app/DocumentLocalizationBridge'; import { modelWithLegacyShellFilters } from './app/legacyShellFilters'; import { navItems, secondaryNavItems, type ViewId } from './app/navigation'; import { RowLimitControl } from './app/RowLimitControl'; @@ -525,8 +525,8 @@ function clearInvestigationPreset() { } return ( - -
+ +