Docs: fix doc/code drift found against 1.16.3 (docs only)

Verified the IAWL summary's "Doc/code" notes against the code and swept
CLI flags, option names/defaults and env vars. Fixed in the docs:
admin groups (consent-records, cookie-review → Privacy; Form messages
global → Forms), tab labels (More, Spam protection, E-mail sending,
Search engines; Sending method), construction field labels, {field} =
label, globalOverrides instead of "a plugin after ipalKit", enabled:false
keeps globals, pages role labels en+pl, switchLocalePath prefix,
accessibility cookie (necessary), seeding summary() shape, prepublishOnly
chain, doctor --strict --offline in the starter, package files list,
ipal-skills --external in PROGRAMISTA, DATABASE_URI (not _URL),
uploadsCollection exists, SiteProviders nonce, buildLinksField labels,
MCP list_pages limit wording, IPAL_DOCTOR_TOKEN in the env table; shipped
seo-check message "Search engines". Reference skills copy refreshed.

Open questions (not changed): forms over-long text, PAYLOAD_SECRET
length, Site settings update access, doctor seen in CI, bare
`ipal-kit create --external`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-23 23:47:35 +01:00
co-authored by Claude Opus 5.5
parent e603561de4
commit 37592764b5
38 changed files with 91 additions and 82 deletions
+6 -5
View File
@@ -13,8 +13,8 @@ This way no message is hardcoded — everything goes through the panel.
## Config
No options — the **Notifications** global (slug `notifications`, panel group *Settings*) is always built. The editor manages
the texts in the panel (Notifications tab), grouped per context. Group `form`:
No options — the **Notifications** global (slug `notifications`, shown in the panel as **Form messages**, group *Forms*) is always built. The editor manages
the texts in the panel (Form messages), grouped per context. Group `form`:
`success`, `error`, `rateLimited`, `turnstile`, `validation`, `consent`,
`notFound` and the multi-step form buttons: `next` ("Next"), `back` ("Back"),
`stepOf` ("Step {current} of {total}"). Every empty field → the built-in default in the page language
@@ -80,12 +80,13 @@ these keys falls back to `validation` / `error`. The result carries `field`, so
## {field} interpolation
The `validation` text may contain `{field}` — it is replaced with the **technical name** of the field with
the error (`name`, not the label), only the first `{field}` occurrence; no name → empty string:
The `validation` text may contain `{field}` — it is replaced with the **label** of the field with
the error in the page language (the technical `name` only when the field has no label), only the first `{field}` occurrence;
no field at fault → the generic `error` text instead:
```
Panel: "Sprawdź pole {field} i spróbuj ponownie."
Result: "Sprawdź pole email i spróbuj ponownie."
Result: "Sprawdź pole E-mail i spróbuj ponownie."
```
## Adding new contexts