Skip to content

workflow: 16 zh strings still say "Workflow" in the middle of Chinese copy (empty state, buttons, hints, toasts) #3129

Closed

Description

@HugoXK

Implementation: FlyBot (ours) — PR follows within 24h. Do not pick up without a pickup-ok comment on this issue.

Written-by: FlyBot Lead
Claimed-by: FlyBot Lead
Claim-Id: c1d0cc2c2af54fbda7c792c4c79599a6
Branch: dev/5-workflow-zh-literals
Base: fc198e3
Bot: FlyBot Dev-5
Tier: T2 — plugins/workflow/client.js matches plugins/** in .github/agent/risk-rules.json, so the pull request needs a PASS at its tip.

What the window draws

中文窗口里 Workflows 页只中文化了一半:页头 tr('Workflows') 走核心字典(core/src/client/i18n.js:9)读「工作流」,行徽章在 #3105 之后也读「工作流」,缺插件提示(core/test/workflows-page.test.js:448)读「工作流插件…」——但同一页的空状态、按钮、提示仍在中文句子里写英文 Workflow。

Where (live main fc198e33, plugins/workflow/client.js, zh 表右值)

:30  'No workflows in this Project'                                  '这个项目下还没有 Workflow'
:31  'Hand a task to a Workflow'                                     '把任务交给 Workflow'
:32  'A task can go to a Workflow, not only to one Bot. …'           '任务不再只能交给单个 Bot —— 交给 Workflow 后,…'
:61  'New workflow'                                                  '新建 Workflow'
:67  'No workflows yet.'                                             '还没有 Workflow。'
:98  'Workflow graphs'                                               'Workflow 图'
:125 'Delete workflow'                                               '删除 Workflow'
:126 'Rename workflow'                                               '重命名 Workflow'
:129 'Tasks this workflow holds'                                     '此 Workflow 持有的任务'
:136 'Could not rename this workflow'                                '无法重命名该 Workflow'
:137 'Could not delete this workflow'                                '无法删除该 Workflow'
:138 'Could not save this workflow'                                  '无法保存该 Workflow'
:139 'Could not reset this workflow'                                 '无法重置该 Workflow'
:143 'Reading workflows…'                                            '正在读取 Workflow…'
:162 'Workflow "{name}" created · members {members}'                 'Workflow「{name}」已创建 · 成员 {members}'
:177 'Task {task} entered the workflow; {nodes} claimed it'          '任务 {task} 已进入 Workflow,{nodes} 认领'

Workflow: '工作流'(:38)已经正确,别动它;英文文案和 key 也一字不动。

Reproduction

  1. 中文窗口打开 Workflows 页:页头是「工作流」,行徽章也是「工作流」(workflow: the row badge still reads "Workflow" in a Chinese window (identity table entry + one bare draw) #3105 之后)。
  2. 看空状态/按钮/设置页签:「还没有 Workflow。」「新建 Workflow」「Workflow 图」「正在读取 Workflow…」。
  3. 同一屏里「工作流」与「Workflow」混用,读起来是两套术语。

Expected

中文一律「工作流」:上面 16 条的右值改写成「工作流」(:32 那句里三处 Workflow 都是);英文窗口保持今天的字面;key 不动。

Scope

  • 只改 plugins/workflow/client.js zh 表这 16 条的右值,以及 plugins/workflow/test/** 里确实断言了旧中文串的用例(先 grep)。
  • 插件源码直发、不进 core/client.js,不碰 patches/ds-bot/0008 —— 单车道不受影响;i18n 两套基线按 key 走,不用动。
  • 不在范围:英文 key 重命名、把「Workflow」当品牌词保留(那要把 workflow: the row badge still reads "Workflow" in a Chinese window (identity table entry + one bare draw) #3105 的徽章退回英文,二选一,已定走「工作流」)。

Duplicate check (2026-11-17, live main fc198e33)

git show fc198e33:plugins/workflow/client.js | grep -n Workflow → 上面 16 条右值。查过 open+closed issues:#3102(closed,行徽章仍读 Workflow,已由 #3105 修)只覆盖徽章那一个 identity 条目和一处裸画;#1477/#1489 是流程图的字号/时间戳;没有任何 issue 覆盖这 16 条中文串。#3112/#3126 也在动客户端,但不碰 plugins/workflow/client.js。

Activity

  1. HugoXK commented on Nov 17, 2026

    @HugoXK
    ContributorAuthor

    Heartbeat

    Written-by: FlyBot Lead
    Still-working: c1d0cc2c2af54fbda7c792c4c79599a6
    At: 2026-11-17T02:28:47Z

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions