Fix Chinese i18n workbench controls

This commit is contained in:
Codex
2026-05-20 17:18:23 +08:00
parent 1c7ad37518
commit ffade3bad7
7 changed files with 44 additions and 7 deletions
+10
View File
@@ -157,6 +157,7 @@ class ApiStaticServerTests(unittest.TestCase):
"initializeWorkbenchNavigation",
"getPathWorkbenchSection",
"workbench-section-change",
"activeWorkbenchSection",
"aiIctActiveWorkbenchSection",
"request_timeout",
"AbortController",
@@ -167,6 +168,7 @@ class ApiStaticServerTests(unittest.TestCase):
".workbench-sidebar",
".workbench-nav button.is-active",
".workspace-section.is-active",
"data-active-workbench-section",
".language-switcher",
):
self.assertIn(expected, styles_css)
@@ -188,8 +190,16 @@ class ApiStaticServerTests(unittest.TestCase):
"仅观察",
"不要使用",
"只读实盘分析",
"Generate Active Plan",
"Run Watch",
"Reconcile Real Trades",
"Cleanup Old Captures",
"'Cancel':",
"'Sync':",
"ai_ict_locale_v1",
"ai-ict-locale-change",
"const core = source.slice(leading.length",
"zhExact[core]",
):
self.assertIn(expected, i18n_js)