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:
Zaldimmar 2026-09-30 13:23:56 -05:00
parent 38aff34c97
commit 2ad65cdc15
60 changed files with 182 additions and 148 deletions

View file

@ -159,7 +159,7 @@ function RequestFiles({ row, canWrite, canRemove }) {
);
}
/* A content request's details (049), labelled from requestTypes.ts;
/* A content request's details (049), labeled from requestTypes.ts;
keys it no longer knows are shown as they are. */
function RequestDetails({ row }) {
const entries = Object.entries(row.details ?? {});

View file

@ -181,7 +181,7 @@ export default function AdminLayout() {
</div>
{/* Subnav. Only drawn where there is something to draw, so
Events and People don't get an empty grey strip. */}
Events and People don't get an empty gray strip. */}
{subnav.length > 0 && (
<div className="border-t border-brand/10 bg-tint-soft">
<div className="mx-auto flex max-w-5xl flex-wrap gap-6 px-6 py-2.5 text-sm">

View file

@ -22,7 +22,7 @@ import { ApiError, get } from "../../lib/api.ts";
/* What a ?error= from the Google callback means, in the words the
person at the login page needs. */
const GOOGLE_ERRORS: Record<string, string> = {
cancelled: "Google sign-in was cancelled.",
canceled: "Google sign-in was canceled.",
expired: "That sign-in took too long or was already used. Try again.",
no_account:
"There's no admin account for that Google account. Ask a superadmin to add your email.",

View file

@ -131,7 +131,7 @@ export default function EntityEdit() {
return `${slugify(parts.join(" "))}-`;
};
// What to show greyed out before then: org_id becomes "org-".
// What to show grayed out before then: org_id becomes "org-".
const prefixHint = qualifierPaths.length
? `${qualifierPaths.map((path) => path.replace(/_id$/, "")).join("-")}-`
: "";

View file

@ -151,7 +151,7 @@ export const TOOLS_NAV = {
{
to: "/qr",
label: "QR code generator",
blurb: "Codes for flyers, slides and signs: any page or link, in your choice of colours.",
blurb: "Codes for flyers, slides and signs: any page or link, in your choice of colors.",
},
],
};