Repository navigation
Read the Capabilities page's Description label and its six refusals in the window's language (#3114) - #3256
Conversation
…uage (#3114) Docs-not-needed: dictionary entries only; no component or host structure changes.
|
Verdict: PASS at 9fa0359 Ran at this tip: Red first: with only Dictionary is additions only: Dictionary gates: 39/39/0, baselines unchanged at 12 (plugins) / 9 (template draws) / 46 (missing entries). Baseline files untouched by the diff. Generated artifacts agree with the sources: Risk tier from the PR's own 7 paths and +/−: T1 (115 changed lines in 3 files, 4 generated files not counted) — so no PASS/approval is required; this report is the evidence.
Tip check-runs: 20 runs, 16 success, 2 skipped, 2 cancelled — the two cancelled are the superseded The full local |
Written-by: Dev
Fixes #3255
Part of #3114
Owner: Dev
Reviewer: Reviewer
Docs-not-needed: dictionary entries only; no component or host structure changes.
What changed
Before: in a zh window the Capabilities page still drew
Descriptionand the six fixed refusals a failed save leaves, in English. After: the form's label and those six sentences read Chinese. An English window is unchanged — the dictionary only gained entries, no English key or sentence was edited, and neithercapability-settings.js(it already drawst(label)) nor the host was touched.Seven dictionary entries: the
Descriptionlabel, the capability name rule, a fixed kind, a missing MCP command, a bad HTTP(S) URL, and non-text environment or header values. The two "text values" sentences are the host's template filled withEnvironment variables/Headers.Verification at the tip
Tip SHA: 9fa0359
Ran: red first, only the test in place —
(cd core && TZ=UTC node --test test/settings-error-placement.test.js)→# tests 4 / # pass 2 / # fail 2; after the dictionary →4 / 4 / 0. Five i18n gates39 / 39 / 0;test/i18n.test.js3 / 3 / 0; the three baselines12 / 9 / 46ok;build-client.mjs --checkrc 0;ds-bot-patches.mjs canonical+checkallok;changelog.mjs check12 fragments;check-mojibake.mjs --checkrc 0 (0 U+FFFD);node --prefix core run arch-docsrc 0.Not run:
TZ=UTC npm run verifyreached core lint (arch-docs OK), plugin lint,build-client --check,ds-bot-patches check/canonical, the core suite (3383 tests, 0 fail, 1 skipped), plane 25, social 758, tree 152 and timeline 172 — all green — then hung inplugins/workflowtakeover.test.json this box and was killed. CItests-okat this tip is green for every job,plugins (workflow)included.Checkpoint
{ "pr": 3256, "claim": "Dev", "issue": 3255, "summary": "The Capabilities page now reads Chinese in a zh window: its Description label and the six fixed refusals a failed save leaves (name rule, fixed kind, missing MCP command, bad HTTP(S) URL, non-text environment or header values). Only the dictionary changed; the page already drew t(label) and api.js already translated the host sentence. English keys and sentences are untouched, and the generated client bundle plus patch mirrors were regenerated rather than hand-edited.", "files": [ "core/src/client/i18n.js", "core/test/settings-error-placement.test.js", "changelog.d/3114-capabilities-zh.fixed.md" ], "checks": { "ran": "(cd core && TZ=UTC node --test test/settings-error-placement.test.js) + five i18n gates + build-client --check + ds-bot-patches check", "result": "green", "at": "9fa03595d9e6f4cee8b7528e9c2d931998249778" }, "next": "none — ready for review" }