chore(i18n): workbench 硬编码中文替换为 t() 并补齐资源键 - #2171
Merged
Merged
Conversation
- 76 处硬编码中文文本节点替换为 t() 调用(docs/contacts/tasks/projects/settings/agents/inspector/预览组件) - chatview 资源补 preview/filePreview.imageViaFileUrl/inspector.runtimeEvidence/addContact 共 19 键(zh/en 对称) - workbench 资源补 tasks.filter、settings.searchPlaceholder(自 actions 段搬移)、contacts.new/add、docs.loading 等 6 键 - projects.edit 恢复为“编辑项目”(ProjectMain 原语义),公告按钮改用 projects.editAnnouncement - 修复 SettingsMain/tasks.shared 的错误 ns 引用(workbench 键误走 chatview ns) - ContactsPage/SettingsPage 测试套件按 #1717 惯例 opt-in zh;SettingsPage 断言改为真实文案 - 残留模块级常量文案(tasks/shared NAV_PRIMARY 等)记为 #2154 P3 遗留 Co-authored-by: Cursor <cursor@vectorcontrol.tech>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- preview.parsing 拆为 parsing/parsingSlideshow/parsingTable,保持三面原文案 (正在解析文档/演示文稿/表格…) - SlideshowPreview/TablePreview 测试按 #1717 惯例 opt-in zh,aria 与空表 断言改为真实文案(关闭预览/上一张/下一张) Co-authored-by: Cursor <cursor@vectorcontrol.tech>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
做了什么(round-28,#2154 UIUX lane i18n pass 收尾)
t()(docs/contacts/tasks/projects/settings/agents/inspector + shared 预览组件 DocxPreview/SlideshowPreview/TablePreview/FilePreviewParts)preview.*、filePreview.imageViaFileUrl、inspector.runtimeEvidence、addContact.*共 19 键tasks.filter、settings.searchPlaceholder(自 actions 段搬移)、contacts.add/contacts.new.*、docs.loading共 6 键projects.edit恢复“编辑项目”(ProjectMain 原语义,hubPages 测试锚点);公告按钮改用新键projects.editAnnouncementSettingsMain的 settings.close /tasks.shared的 tasks.importTasks 等此前误挂 chatview ns,改为 workbench ns(aria.taskMoreMenu仍走 chatview)ContactsPage.test.tsx/SettingsPage.test.tsxopt-in zh;SettingsPageRecoveryPanel 断言改为真实中文文案验证证据(本机 huawei-dev,worktree cleanup-round-28)
tsc --noEmit:shared / workbench / web / desktop 四包全绿verify-i18n-deadkeys.py、verify-doc-ssot.py、verify-ci-gates.py、verify-openapi-contract.py、verify-migration-idempotency.py、git diff --check全绿有意保留(#2154 P3 后续)
tasks/shared.tsxNAV_PRIMARY/PANE_TITLES/VIEW_MODES 模块级常量 label(无 t 上下文)