Skip to content

fix(i18n): add missing zh-TW key chatWindow.subagentCompletedSummary - #545

Merged
kahme247 merged 1 commit into
mainfrom
fix-zhtw-subagent-summary-2026-11-22
Nov 22, 2026
Merged

kahme247 merged 1 commit into
mainfrom
fix-zhtw-subagent-summary-2026-11-22

Conversation

@kahme247

@kahme247 kahme247 commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

PR #440 added chatWindow.subagentCompletedSummary to en, ja and zh-CN but not zh-TW, so lib/i18n.test.mjs (zh-TW keys must match en exactly) fails on main — Verify run #2005 went red on all three platforms.

This adds the missing key to lib/i18n/locales/zh-TW.json in the same position as en.json, value 已完成 {completed}/{total} (same characters as zh-CN, already valid Traditional Chinese).

Verified locally: the file parses and its key set now matches en.json exactly (no missing, no extra).

Summary by CodeRabbit

  • Localization
    • The Traditional Chinese chat window now includes a translation for the summary showing how many subagents have completed out of the total. This makes the completed and total counts visible in Traditional Chinese when that summary is displayed.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Adds a Traditional Chinese chat window translation that displays the completed subagent count and total subagent count.

Changes: Chat localization

Layer / File(s) Summary
Subagent completion translation
lib/i18n/locales/zh-TW.json
Adds chatWindow.subagentCompletedSummary with {completed} and {total} placeholders.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Suggested reviewers: andrebrait

Merge Risk: Minimal · up to b64ee

This adds the missing Traditional Chinese text for the completed subagent count and restores locale key parity. The text keeps the count placeholders, so merge risk is minimal.

Architecture risk: Low · up to b64ee

The change affects 1 system.

Changed systems: lib

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — lib (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in lib/i18n/locales/zh-TW.json: 新增 chatWindow.subagentCompletedSummary 翻譯字串,包含 {completed} 與 {total} 計數佔位符。
Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change accurately: it adds the missing zh-TW translation key chatWindow.subagentCompletedSummary. The raw summary confirms that the only change is one added line in lib/i18n/locale…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change accurately: it adds the missing zh-TW translation key chatWindow.subagentCompletedSummary. The raw summary confirms that the only change is one added line in lib/i18n/locales/zh-TW.json, and the PR objectives describe the same key addition to match en.json. The title uses the conventional fix(i18n) prefix and stays within a single line, so it covers the main change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9aed8389-1a61-4123-bae8-77f4e8dd755d
Commits

Reviewing files that changed from the base of the PR and between 049dbf6 and b64ee10.

Files selected for processing: 1

  • lib/i18n/locales/zh-TW.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@kahme247
kahme247 merged commit c110474 into main Nov 22, 2026
5 checks passed
@kahme247
kahme247 deleted the fix-zhtw-subagent-summary-2026-11-22 branch November 22, 2026 18:59
andrebrait added a commit to ompweb-dev/tau that referenced this pull request Nov 23, 2026
* fix(windows): let in-app updates replace an npm-global install

Port of ompweb-dev/ompweb#519.

* fix(windows): stop a failed host candidate that got the old daemon's pid

Port of ompweb-dev/ompweb#526.

* fix(outbox): prune delivered rows inside the add's write transaction

Port of ompweb-dev/ompweb#535.

* fix(windows): find the host's scheduled task without administrator rights

Port of ompweb-dev/ompweb#539.

* fix(updates): build the tray at release and resume host update downloads

Port of ompweb-dev/ompweb#532. The committed bin/tau-tray.exe was still the omp-web build; releases now build it from native/tray. The omp runner download resume does not apply: tau has no runner download.

* fix(hosts): report pi to the server once it answers after the daemon started

Port of ompweb-dev/ompweb#542. A daemon whose startup read found no pi reads the version again (30 s, doubling to 5 min) and sends a pi_version link message, so a host that gets pi after its daemon started comes online without a restart. The runner download retry does not apply: tau has no runner download.

* docs(agents): note the pi_version link message

* fix(chat): count only completed subagents in the subagents header

Port of ompweb-dev/ompweb#440.

* feat(chat): render svg code fences inline

Port of ompweb-dev/ompweb#455.

* fix(sidebar): mark a completed session seen once it is opened

Port of ompweb-dev/ompweb#336.

* fix(i18n): add the zh-TW completed-subagents summary

Port of ompweb-dev/ompweb#545.

* perf(sessions): strip unused assistant fields from the session response

Port of ompweb-dev/ompweb#454.

* feat(api): app-info handshake and a per-connection heartbeat

Port of ompweb-dev/ompweb#407.

* feat(directory-picker): add a Browse… button that opens the OS folder dialog

Port of ompweb-dev/ompweb#544.

* feat(sessions): navigation-only reads, context ETag and a prompt-less state

Port of ompweb-dev/ompweb#415. A rename now falls back to pi's session_info entry only when pi refused it or the child is gone.

* feat(notifications): answer a pending dialog from the notification

Port of ompweb-dev/ompweb#414, without omp's formDialog and session-move aliases.

* perf(events): hold tool snapshots to one frame per second

Port of ompweb-dev/ompweb#418.

* fix(ui): prevent file-panel tabs from clipping on overflow

Port of ompweb-dev/ompweb#547.

* fix(projects): keep a re-added workspace's display data and avoid worktree path collisions

Port of ompweb-dev/ompweb#554 (rework of ompweb-dev/ompweb#297).

* feat(composer): fullscreen edit mode and one-line collapse for long sent messages

Port of ompweb-dev/ompweb#556.

* docs(changelog): note the ports from ompweb

* chore: use tau names in the ported update and tray code

* fix(markdown): sanitize svg fences with an element allowlist

A tab inside the scheme (java&#9;script:), a prefixed xlink href, <set>/<animate> retargeting an href, and CDATA or processing instructions re-parsed as HTML on insertion all got past the blocklist sanitizer.

* fix(directory-picker): offer the folder dialog only to a page on this machine

Behind a reverse proxy on this machine every connection is loopback, so the page's own Origin (or same-origin Referer) must be loopback too. The picker can be closed while a dialog is pending, and the zenity check runs once.

* fix(composer): queue or steer from the full-screen editor during a run

Send and Ctrl+Enter called handleSend, which ignores a message while a run streams, so the editor closed and nothing was sent.

* fix(notifications): keep a shared child's dialogs announceable after this server leaves it

Leaving a host-owned child that keeps running retracted its pending dialogs permanently, so the next holder could not announce a question that was still waiting. They are now forgotten (a temporary retraction), as after a resync.

* docs(notifications): drop omp-only dialog kinds from the ported comments

* fix(dialogs): answer pi's dialogs under their own ids and show the ask tool's questions

The wrapper still accepted only omp's numeric dialog ids, so every answer to a pi dialog (UUID ids) failed with invalid_ui_response, from the web dialog and from a notification. The ask tool's payload ({questions: [{question, options: string[], multiSelect}]}) reached the dialog unconverted, which expects a question list with option objects; RpcProcess now converts it.

* fix(tray): read tau's settings and logs from ~/.pi/agent

The native tray still read ~/.omp/agent/web-service.json and its logs, so it ignored the saved port, hostname and mode. Releases now build this source (scripts/build-tray.sh).

* fix(hosts): never build the local link URL from an unbracketed IPv6 address

* test(notifications): name the registry-key answer test for what it checks

* test(hosts): give the fake children pi's string dialog ids

* fix(dialogs): keep host tool calls out of dialog answers, and settle a dead child's dialogs for good

A ui_response naming a pending host tool call is refused, so its bookkeeping sees the real host_tool_result. Dialogs are only forgotten when this server leaves a shared child that is still alive. The ask tool's questions get distinct ids, and pageIsLoopback sits above handle's doc comment.

* fix(events): stop releasing held tool snapshots once the sink falls behind

* fix(composer): paste images and leave IME keys alone in the full-screen editor

* fix(directory-picker): require Origin on a non-GET, and read the Windows chooser's path as UTF-8

* fix(worktrees): report an occupied fallback worktree directory as worktree_directory_exists

* fix(notifications): keep pushes within 3993 bytes, refuse expired dialogs and settled replays

* fix(updates): release only the stopped server's own processes and recheck each pid before stopping it

* docs(notifications): name the /api/events notifications channel

* fix(updates): release every install locker after the server stops again

Scoping that release to the stopped trees missed their children on Linux and macOS, where a dead parent's children are re-parented, so the leftover check refused the update.

* fix(notifications): keep the question in a push that drops its dialog, and close expired dialogs in open tabs

* fix(updates): skip a locker whose re-listing fails; document the notifications subscribe body

* fix(updates): fail the install cleanup when a re-listing fails

Skipping the locker let rollback take an unfinished cleanup as done and restore the installation while a runtime still ran from it.

* fix(notifications): do not carry a request id past the dialog id limit

pi's ids are UUIDs; an oversized one could take the push past 3993 bytes on its own.
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.

1 participant