Commit f738ddb
committed
i18n(showcase): translate the new inline picker param (#3405)
`check-i18n-coverage` ratchets each example at its current untranslated count,
so a newly declared label that skips a locale the example claims to support
pushes the count up and fails the gate — 456 → 460 here (`p_assignee`'s `label`
and `helpText`, each counted on two surfaces).
Translated rather than ratcheting the baseline up: ratcheting is what the gate
exists to prevent, and the script only sanctions `--update` for a count that
went DOWN. The gallery's older params sit inside the 456 baseline; this one is
not allowed to widen it.
`负责人` is what the bundle already renders for `showcase_task.assignee`, so the
same idea keeps one word. The flow specimen's own label/description are not
flagged — the `i18n/missing-action` rule covers action params, not flow nodes.
`check-i18n-coverage` now reports "none new"; validate, typecheck and the 58
example tests all pass.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LkvDs4y4gveyB5NJZKxaZt1 parent 13ecb37 commit f738ddb
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
270 | 287 | | |
271 | 288 | | |
272 | 289 | | |
| |||
0 commit comments