Commit ffb132b
fix(i18n): pluralize the collapsed subagent-count badge
The agent-tree "N subagent" badge on the Dashboard rendered
t("common:subagent", { count }) — but common:subagent is a flat word,
not an i18next plural key (no _one/_other), so the count never selected a
plural and it always read "2 subagent", "5 subagent", etc.
Use common:subagent_label (which already has _one/_other and embeds the
count) — the same key SessionDetail's badge uses — so both surfaces read
"1 subagent" / "2 subagents" consistently. Add an i18n test locking the
plural forms for common:subagent_label and kanban:session.subagentSummary.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 697cbcd commit ffb132b
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
35 | 48 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1310 | 1310 | | |
1311 | 1311 | | |
1312 | 1312 | | |
1313 | | - | |
| 1313 | + | |
1314 | 1314 | | |
1315 | 1315 | | |
1316 | 1316 | | |
| |||
0 commit comments