Skip to content

Bot 详情 Sharing 面的 People with access 卡在中文窗口仍是英文(cut 20) #3215

Closed

Description

@Birfy

Written-by: Triage

Part of #3114(第二十刀 / Cut 20)。

范围

把 plugins/social/client.js 的 Bot 详情 → Sharing → People with access 卡(ManageAccess,:3596–3730)里 13 个绘制点的裸英文改走本文件 :1018 已有的 tr(),core/src/client/i18n.js 补 15 个中文键,两条基线随之销 15 条 pin(missing-entries 110 → 100、template-draws 25 → 20)。

ShareWithFriend(:3871–3979)不在本单:两张卡一起实测 282 行,超 T2 的 250 行;按卡切开,本单只做默认可见的 People with access,另一张卡留到下一刀。

规格正文(红先实测 # tests 2 / # pass 0 / # fail 2):见 #3114 的评论 7008407787。

验收

以规格 A1–A13 为准,摘要:

  • A1 红先 2/0/2(base + 只加测试,已实测 133 ms);A2 实现后 2/2/0(已实测 127 ms)。
  • A3 social 全套 722/722/0(已实测);A11 core/test/i18n-*.test.js 36/36/0(已实测);A13 根目录 TZ=UTC npm run verify(由 CI 在 PR tip 上跑)。
  • A4 三条基线 16 / 29 / 138,只许缩不许增。
  • A5 15 条 pin 删净;A6 15 个 zh 键落地。
  • A7/A8 生成链:build-client → git add -A → git rm --cached core/node_modules → generate → check → canonical,全部 ok。
  • A9 手写 210 行 / 6 文件(T2 上限 250 / 12);A10 总改动路径 11 条(手写 6 + 生成 5)。
  • A12 不碰 timeline/tree/workflow 的钉,也不碰 core/src/shared/**、authz.js、core/src/host/**、plugins/social/index.js、plugins/social/src/**、plugins/social/cordis.patch.yml。

不做什么

timeline 的 46 条整块 off-by-default(plugins/timeline/client.js:721 只有 sidebarSection === true 才注册,README:5、docs/subsystems/timeline.md:58 写死 opt-in)→ 全部留钉;workflow 3 条不成片且其中一条 pin 本身是中文 → 留钉;tree 剩 6 条是 cut 19 有意留的 off-by-default 钉子 → 留着;social 的 AddFriend / FaceRooms / FriendChatSettings / inviteControls 不在本刀;ShareWithFriend 下一刀;#3112 与 cut 18 的两张分享卡不重切;FlyBot Lead 线的五张 issue 与四张 PR、签名墙 7 张 PR 不碰;core/src/shared/**、authz.js、core/src/host/** 鉴权面不动。

实现 PR

用 Fixes #3215,不要写 Fixes #3114。T2(plugins/** 命中 risk-rules T2,limits 250 行 / 12 文件)→ 需 tip 上 PASS + CI 全绿 + 走合并队列。

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: f3dea025bd06bbac07219458e63ba7e7
    Branch: dev/3114-sharing-page-zh
    Base: bd924c3
    At: 2026-11-19T11:39:55Z

    Cut 20 of #3114, closing #3215: the two default-drawn cards on a Bot's Sharing page (People with access and Share with a friend) go through the Social panel's tr(), with the 23 pins those draws held leaving the two i18n baselines.

  3. changed the title [-]Bot 详情 Sharing 面的两张卡在中文窗口仍是英文(cut 20)[/-] [+]Bot 详情 Sharing 面的 People with access 卡在中文窗口仍是英文(cut 20)[/+] on Nov 19, 2026
  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