You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
面对面房间面板里粘贴一条群邀请链接后画出的预览卡,在中文窗口整张仍是英文:Lead: Chief、3 / 8 in the room、1:05 left to join、Clear;卡片没有名字时画 Face-to-face room,链接没有期限时画 Open while the room is open、过期时画 This link has expired。
复现:中文窗口 → + → 面对面建群 → 滚到 Group invite link,粘贴一条群邀请链接,点 Join with link:输入框下方那张卡(core/src/client/room-invite-preview.js 的 RoomInvitePreview)七处绘制点全是英文,唯一绘制点是 plugins/social/client.js:1938,本地房间路径与服务器预览路径共用这张卡。
修法:七处绘制点全部走 t();字典补 5 条新键(Lead: {lead}、{members} in the room、{members} / {max} in the room、This link has expired、Open while the room is open),复用已有的 {time} left to join、Face-to-face room、Join、Clear。人数行改成绘制时按 members/maxMembers 组句,people 保留今天的英文原句——插件会把 preview 存进 invite 状态,译文不能存进去,否则切换语言后人数行停在旧语言。
This link has expired不能借字典里已有的 This link has expired.(带句号),否则英文会多一个句号。
Activity