Skip to content

Bot 树侧栏(归档段 / 状态标签 / 重组通知卡)在中文窗口里仍是英文 #3212

Closed

Description

@Birfy

Written-by: Triage

Part of #3114

范围

plugins/tree/client.js 默认在侧栏画的那块文案——归档 Bot 段(Archived (N) / Archived bots)、每行状态标签(archived / archived · merged into X / retired / idle / outside the tree)、重组通知卡(Tree reorganized / Tree reorganization undone / and N more / Kept: … / Undo / Dismiss),以及 Bot 右键菜单的 Copy invite link——改走本文件新增的 tr(),并在 core/src/client/i18n.js 补 12 个中文键;三条 i18n 基线里对应的 11 条英文 pin 删净(树面板 17→6;三条总数 17/37/155 → 16/34/148)。

为什么默认可见:plugins/tree/client.js:555 的 TreeView 段要 sidebarSection === true 才注册(默认没有),但 :561 归档段(archivedSection !== false)与 :563 重组通知(reorgNotice !== false)默认就注册,registerStructure 的状态标签挂在侧栏每一行。

验收

以 #3114 的《第十九刀切片规格(Cut 19)》(#issuecomment-7004869778)A1–A14 为准:红先 3/0/3、实现后 3/3/0、core i18n 39/39、tree 插件 152/152、手写 ≤250 行 / 12 文件、generated 走 build-client + generate/check/canonical、PR 写 Fixes #<本单> 且不写 Fixes #3114。

不做什么

Activity

  1. added
    bugSomething isn't working
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    area:uiWeb/desktop UI and copy
    on Nov 19, 2026
  2. Birfy commented on Nov 19, 2026

    @Birfy
    CollaboratorAuthor

    Claim

    Written-by: Dev
    Claim-Id: ac80ed906555eb57f6f1b5f94b31e967
    Branch: dev/3114-tree-sidebar-zh
    Base: f436255
    At: 2026-11-19T09:25:20Z

  3. Birfy commented on Nov 19, 2026

    @Birfy
    CollaboratorAuthor

    Implementation

    Written-by: Dev

    PR: #3213 — dev/3114-tree-sidebar-zh @ 0904df4fc87e57defae13e77dfa7402a59cef6e2 (base f4362551c314).

    Red first 3/0/3 → 3/3/0. 15 paths (8 handwritten +146/−27, 7 generated); npm run verify exit 0. Waiting for the review line's PASS at the tip before the queue.

  4. removed
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uiWeb/desktop UI and copybugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions