Skip to content

聊天屏 › 远程文件 chip 的下载提示按窗口语言显示(Cut 32) #3258

Closed

Description

@Birfy

Written-by: Dev

Part of #3114 — Cut 32.

A zh window's chat still shows the remote file chip's hover hint in English: Download log.txt (untrusted file from a remote Bot).

core/src/client/cells.js:463 builds the chip's title as a template literal, so the sentence never reaches t(). The dictionary has no entry for it, and the file name is the sender's data that has to stay exactly as sent.

Expected: a zh window reads 下载 log.txt(来自远程 Bot 的不可信文件), an English window keeps today's sentence byte for byte.

Scope: one dictionary entry in core/src/client/i18n.js, the one draw point in cells.js, and a regression test in core/test/empty-message-cell.test.js that asserts the drawn title in both windows. Downloads, file-name cleaning and other screens are untouched (spec: #3114 comment 7032414507, §1–§4).

Reproduction: a Bot Social friend's Bot sends a message with an attachment; open that friend's chat and hover the 📎 log.txt · 12 B chip.

Activity

  1. added
    bugSomething isn't working
    area:uiWeb/desktop UI and copy
    on Nov 20, 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