Skip to content

ui(i18n): add workspace message catalogs, first batch - #8

Open
SCcagg5 wants to merge 3 commits into
stack/07-ui02from
stack/08-ui03
Open

SCcagg5 wants to merge 3 commits into
stack/07-ui02from
stack/08-ui03

Conversation

@SCcagg5

@SCcagg5 SCcagg5 commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Part of a stack of 31 pull requests that depend on each other. They must be reviewed and merged in order: each PR builds on the previous one and its diff only contains its own changes.

All PRs of the stack
# PR
1 specs: Add spec 083 and the samples store
2 ir: Add run state fields for ephemeral runs and reused outputs
3 runtime: Bound continuous steps and carry outputs of selected steps
4 api: Add step samples, events, availability and selected-step runs
5 test(ui): add YAML fixtures for the document model tests
6 ui(lib): add shared UI kit, status helpers and right-panel shell
7 ui(canvas): add canvas engine core, toolbars and editor helpers
8 ui(i18n): add workspace message catalogs, first batch
9 ui(canvas): add canvas Flow view, step run panel and workflow panel
10 ui(editor): add YAML document model, canvas model and run source logic
11 ui(editor): Add edit session, YAML format and quick fixes, run actions, tab strip
12 ui(editor): Add canvas graph model, Add step panel, issues popover, run bar
13 ui(canvas): Add layered layout, dependency edges, status styles, reference picker
14 ui(canvas): Add export, flow builder, upstream data panel, output capture
15 ui(canvas): Add node cards, launchers, inspector sections, client issues
16 ui(editor): Add visual editor, step inspector and YAML file panel
17 ui(lists): Open runs on the workflow page; add tab and schedule helpers
18 ui(workspace): Add workspace URL state, legacy redirects and run list links
19 ui(workspace): Add workspace data layer, run facts and Workflow panel
20 ui(workspace): Add run start controls, visible runs and reuse source
21 ui(workspace): Add data provider, bar identity, continuous panel and step list
22 ui(logs): Add run actions cluster, cached logs and log popout page
23 ui(workspace): Add Activity dock, step run view and workflow page
24 test(workspace): Add integration tests for the workspace shell and step view
25 ui(pages): Retire classic run pages and open runs on the workflow page
26 test(editor): Add integration tests for the editor, inspector and run overlay
27 test(ui): Add repository-wide guard tests and ESLint boundary rules
28 e2e: Add workspace helpers and fixtures, update existing specs
29 e2e: Add workspace specs, part 1 of 2
30 e2e: Add workspace specs, part 2 of 2
31 examples: Add the workspace demo workflows

Stack 8/31. Base branch: stack/07-ui02. Review and merge in order; this PR builds on the previous one.
Size: 70 files changed, 2149 insertions(+).
Checked: Typecheck (tsc) of the whole UI and the unit tests of this PR (Vitest), on top of the previous PR.

Summary

This PR adds 70 message modules under ui/src/features/workflow-workspace/messages/. Each module holds the English, Chinese (zh-CN) and Japanese texts for one part of the workspace.

Why

The workspace has many new texts. Each module gives them in three languages with the defineMessages helper from PR 7. The modules are split in two PRs to keep each one reviewable. PR 9 adds the rest and messages/index.ts that merges all of them.

Changes

  • 70 new files, 0 modified.
  • Modules are named by task, for example t07 to t36, n2 to n13, w10a, w11fe, uj1, uo1, va1, vg1.
  • Each module calls defineMessages({ en, 'zh-CN', ja }). The English text is the key. The type checks that the three locales have the same keys.
  • Some modules, for example n2, have empty catalogs for now.
  • The largest module is w11fe.ts (145 lines).
  • Nothing imports these modules yet.

How to review

  1. Read messages/define.ts from PR 7 first, for the contract.
  2. Open two large modules (w11fe.ts, t15.ts) and check the translations.
  3. Spot-check that placeholders such as {count} are the same in the three locales.

Most attention: placeholder names and the quality of the zh-CN and ja texts.

Tests

No test file in this PR. The type of defineMessages checks the key sets at compile time. PR 9 adds messages/index.ts, which merges the modules.

Screenshots

No visible UI change in this PR. The texts show in the final UI after messages/index.ts is wired into i18n/staticMessages.ts.

This was referenced Oct 28, 2026
SCcagg5 and others added 3 commits October 31, 2026 19:37
…cloud#3387)

* UI: visual-editor/canvas, dags/components, components
* Expect no toast after a step retry starts
* Give failure and note toasts their variant
* Mark the source-match note as info
* Fix focus, IME, matching and width bugs in UI
* Fix stop toast and visual editor edge cases
* Fix key, route and item field edge cases
The verb 追従 takes に, not を, so the Japanese labels for following
the latest run read wrong. Fix the four labels that use it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants