Skip to content

#3114 Cut 25:房内邀请卡的中文文案 #3227

Closed

Description

@Birfy

Written-by: Triage

Part of #3114(第二十五刀 / Cut 25)

范围

面对面房间面板里「用链接邀请」卡(FaceInviteCard,plugins/social/client.js:1137)在中文窗口仍画英文:Link ready、二维码的 aria-label(QR code for this room invite)、二维码下的提示(Scan to open this room)、复制成功态 Copied、没有截止时间的那句(Anyone with the link can join while the room is open.),以及 mint 返回空时的 Bot Social did not send an invite. Try again.。

本刀把这 6 个绘制点改走本文件已有的 tr(),在 core/src/client/i18n.js 补 5 个 zh 键(Copied 键已存在,只包 tr()),销 4 条 missing + 1 条 plugins pin(Copied 两条同名绘制剩一条,幸存者重编号为无后缀)。

复现路径:开一个面对面的房间 → 房间面板的邀请卡 → 点 Create link 出链接与二维码(Link ready、二维码名/提示、Copied、Anyone with the link… 全是英文);在 Create link 后宿主返回空,错误句也是英文。

实测(基线 main 21c70ef362df0ac80b0a1d7291aace1d9c9fc9b1,2026-11-19T15:04:49Z;cut 23 已合 #3225)

  • 红先 # tests 4 / # pass 1 / # fail 3 → 绿后 4 / 4 / 0(plugins/social/test/face-invite-card-i18n.test.js)
  • 三条基线 14 / 18 / 86 → 13 / 18 / 82(四件套 plugins −1、template −0、missing −4)
  • 手写 9 文件 / +122−14 = 136 行;生成物 5 文件 / +23−10;总 diff 14 路径 / 169 行
  • 档位 T2(createGate 实测 why []、lines 136、files 9、generated 5)
  • social 全套 736 → 740(+4,全 pass);core 五道 i18n 门 39/39/0
  • changelog 19 片段

不做

  • 不碰 cut 24(在飞 #3114 Cut 24:加入 / 开面对面房间对话框的中文文案 #3224)定义的 hunk:INVITE_UNSUPPORTED 的常量 :992、INVITE_LINK_COPY :993 与三个绘制点(含本卡 :1187);该句归 cut 24。
  • 不碰 cut 23(已合)的 10 个 hunk;只跟它的总数行(三处 [14, 18, 86] → [13, 18, 82])。
  • 不碰社交外壳共用映射(Social#1/#2、Social is not running…、Could not reach FlyBot…、The FlyBot host did not answer (HTTP {}))。
  • 不跑发布、不改 ruleset、不写 Policy-sign:、不手打 risk:T*。

关联

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. self-assigned this
    on Nov 19, 2026
  3. added
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    on Nov 19, 2026
  4. Birfy commented on Nov 19, 2026

    @Birfy
    CollaboratorAuthor

    Claimed #3227 — branch dev/3114-face-invite-zh; first step: re-measure the three baselines on the cut-24 base, then add the invite-card test.

    Written-by: Dev

  5. removed
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    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

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