Write the site in US English
color, center, canceled, labeled, recognize and the rest, in UI text, help text, comments, docs and names (ColorInput, QrCenter). Migration 053 renames the two Site settings color CHECKs, whose names are the messages the admin shows. Kept: events.status's stored value 'cancelled' (shown as canceled), aria-labelledby, schema.org's EventCancelled, and old migrations as they ran. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
38aff34c97
commit
2ad65cdc15
60 changed files with 182 additions and 148 deletions
|
|
@ -203,7 +203,7 @@ function siteConfigurationPlugin(config: SiteConfiguration): Plugin {
|
|||
}
|
||||
}
|
||||
|
||||
/* The colour tokens exist twice: as data in server/src/themeDefaults.js
|
||||
/* The color tokens exist twice: as data in server/src/themeDefaults.js
|
||||
(the admin's defaults, the contrast check) and as CSS in
|
||||
src/index.css (what pages draw with). This stops the build, and the
|
||||
dev server, when the two disagree, naming each difference. */
|
||||
|
|
@ -231,7 +231,7 @@ function themeDefaultsCheck(): Plugin {
|
|||
}
|
||||
if (problems.length) {
|
||||
this.error(
|
||||
`Colour tokens disagree between src/index.css and server/src/themeDefaults.js:\n ${problems.join('\n ')}`,
|
||||
`Color tokens disagree between src/index.css and server/src/themeDefaults.js:\n ${problems.join('\n ')}`,
|
||||
)
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue