chore(i18n): web/desktop 硬编码中文 i18n 化(round-30) - #2175
Merged
Conversation
|
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 |
DeliciousBuding
force-pushed
the
chore/cleanup-round-30
branch
from
September 1, 2026 09:48
fbea0ba to
aeff74f
Compare
- web:未命名 Agent/新 Agent N、Hub 私聊/群聊标题兜底、未命名项目、Projects 三处错误兜底 → common.json +8 键(zh/en) - desktop:Skill/MCP 市场与 Agent 配置错误、附件选择标题、未命名 Agent/项目/文档/会话、Threads/sessions/消息错误兜底、文档时间格式 → locales +16 键(zh/en) - 注入方式:hooks 内 useTranslation 传入纯映射函数(可选 t + zh 兜底,测试零改动);desktopAttachments 用运行时 getI18n - 数据域豁免:'允许'/'未配置模型'/'Hub 默认策略'/'Hub 配置档案' 匹配与 fixture/demo 文案维持不译 Co-authored-by: Cursor <cursor@vectorcontrol.tech>
DeliciousBuding
force-pushed
the
chore/cleanup-round-30
branch
from
September 1, 2026 10:01
aeff74f to
38e57c4
Compare
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-30,#2154 P3 web/desktop 收口)
未命名 Agent/新 Agent N、Hub 私聊/群聊标题兜底、未命名项目、Projects 列表/详情/分组三处错误兜底 → 全部t()未命名 Agent/项目/文档/会话、Threads/sessions/items 错误兜底、文档时间格式化(今天/昨天/M月D日)useTranslation()传入纯映射函数(可选t+ zh 兜底),测试零改动;desktopAttachments非组件模块用运行时getI18n()'允许'/'未配置模型'/'Hub 默认策略'/'Hub 配置档案'/'Hub 所有者范围'等数据匹配与 fixture/demo 文案维持不译(已登记 [整理] 静态审计 backlog 跟踪(探索 lane 剩余项) #2154)验证证据(huawei-dev,worktree cleanup-round-30)
边界
t?.('key') ?? 中文兜底(i18n-ready)、数据域匹配、fixture/demo 内容