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

@ -192,7 +192,7 @@ auth.get("/google/callback", async (c) => {
deleteCookie(c, OAUTH_COOKIE, OAUTH_COOKIE_OPTIONS);
// Pressing Cancel on Google's screen comes back as ?error=.
if (c.req.query("error")) return backToLogin(c, "cancelled");
if (c.req.query("error")) return backToLogin(c, "canceled");
const code = c.req.query("code");
if (!saved?.state || !code || c.req.query("state") !== saved.state) {

View file

@ -206,7 +206,7 @@ clips.get("/clips/:id/download", async (c) => {
return streamFile(c, file, {
type: audio ? "audio/mpeg" : "video/mp4",
attachment: `${stem}-${job.id}.${audio ? "mp3" : "mp4"}`,
// Only once the whole file has been read out: a cancelled
// Only once the whole file has been read out: a canceled
// download keeps it for another try.
onComplete: () =>
forgetDownloaded(db, job).catch((err) => console.warn(`clips: couldn't delete ${job.file}: ${err.message}`)),

View file

@ -34,7 +34,7 @@
An event's hosts are a list, in billing order, and each one is
either an organization or a person, `kind` says which, and
`org_kind` is there for the three organization routes. The
first is the one the colour and logo fell back to, which is why
first is the one the color and logo fell back to, which is why
order is data and not a display choice.
Two things the team and award routes deliberately don't do:
@ -439,7 +439,7 @@ function attachAwards(db, orgs) {
/* ── Events ────────────────────────────────────────────────────
Flat, with the event scopes alongside. Retreats.tsx owns the
band titles and colours and filters this list by scope_id.
band titles and colors and filters this list by scope_id.
Oldest first, undated last. The carousel shows the list as it
comes and opens on the first upcoming event, so past events

View file

@ -2,7 +2,7 @@
FEEDBACK ROUTE: the only public write on the site
Everything hostile that will ever reach this service arrives
here, so the defences live here rather than being sprinkled
here, so the defenses live here rather than being sprinkled
around:
rate limit applied where this router is mounted (5/min)

View file

@ -19,12 +19,12 @@
rows, and for awards only public citations to published people
(an award's page names its recipients whether they're listed or
not, so the count does too). A count
that disagreed with the page it summarises would be worse than
that disagreed with the page it summarizes would be worse than
none. 'manual' and 'years_since' read the row's own value.
── Countdown ──
The pinned event if it is still published and not over, listed
or not; otherwise the next published, listed, non-cancelled
or not; otherwise the next published, listed, non-canceled
event that hasn't ended. "Hasn't ended" is COALESCE(ends_on, starts_on) >= today,
so a running series with a start date in the past still counts.
The client works out the next meeting of a series from `series`.

View file

@ -6,7 +6,7 @@
to MAX_FILES attachments. Stored as a feedback row of type
'content' (046_content_requests.sql), files in Google Drive.
The same defences as the feedback route (honeypot, length caps,
The same defenses as the feedback route (honeypot, length caps,
a rate limit where it's mounted), plus: files are judged by their
first bytes, not the name or type the browser claims, and nothing
goes to Drive until everything else has passed.