Repository navigation
Closed
Description
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*。
关联
- 实现 PR 正文写
Fixes #<本单号>;不写Fixes #3114,不关闭 [#3110] 已落地聊天壳、设置、搜索与历史命中的收口 #3114。 - 规格:见 [#3110] 已落地聊天壳、设置、搜索与历史命中的收口 #3114 上的「第二十五刀切片规格(Cut 25)」评论(
runs/i3114-cut25/spec-3114.md)。
Activity
Birfy commentedon Nov 19, 2026
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