Repository navigation
Added
- French for the admin interface. The SvelteKit admin (
frontend/) now has a
lightweight i18n layer (frontend/src/lib/i18n/) with English as the source of truth
and a complete French catalogue. The language is chosen in Settings → Profile (remembered
in the browser) and falls back to the browser language, then to English. Dates and times in
the admin follow that locale. Public booking pages and emails still use the existing
booker catalogues; the LiveKit room stays English. The wording reads as native French
rather than machine translation, but it has not had a separate review, so treat it like
every other non-English locale here until a speaker confirms it. - Polish. The booker-facing surfaces now ship a
pllocale: booking page, manage and
reschedule page, embed widget, the confirmation and reminder emails, and the calendar invite
text. It is selected fromAccept-Language, a?lang=ploverride, or the operator's
fallback setting, and the switcher lists it automatically. Like every non-English locale
here it is a contribution rather than a reviewed translation, so the wording is worth a
native check before it is advertised.
Changed
- Partial locale catalogues are allowed, so a language can be translated in stages. A
locale file no longer has to contain every English key before it can merge: a missing key
falls back to English at lookup time (Locale.T). This was previously blocked by
TestAllLocalesHaveTheSameKeys, which asserted exact set equality in both directions, so a
half-finished locale was unmergeable and a volunteer had to produce all 169 strings before
contributing anything. That is the practical reason community translations stall.
A locale is now offered to visitors - language switcher,Accept-Languagematching and the
public API payload - only at or aboveMinCoverage(80% of the English keys), so nobody is
served a mostly-English booking page by accident. Below the floor?lang=<code>still
resolves, so whoever is translating it can check their work, and startup logs which locales
are withheld and why. The unknown-key check survives asTestLocalesHaveNoUnknownKeys,
since a key English does not have is always a typo, and the floor is pinned by
TestOfferedLocalesMeetCoverageFloor. No shipped locale changes: all 11 are complete and
remain offered. - The admin is usable on a phone. Below the
mdbreakpoint the sidebar becomes a drawer
with a compact header. Focus moves into the drawer on open and back to the trigger on close,
Escape and any navigation close it,<main>is inert while it is open, and content scrolls
instead of clipping. On 0.13.0 the fixed 224px sidebar left almost nothing of a 390px
screen and the wrapper clipped rather than scrolled, so every admin page was unusable at
that width. - Documentation for translators.
docs/i18n-glossary.mdfixes one term per concept per
language, including the places where the booker and admin catalogues currently disagree.
CONTRIBUTING.mdexplains how to add or extend a language, what the coverage floor means,
and what passing tests does not prove.make i18n-coverageprints per-language coverage for
both catalogues, and CI prints the same table.
Fixed
- Catalogue text is no longer rendered as HTML. The report-issue dialog used
{@html}on
a catalogue string, which contradicted the catalogue's own rule and left a path where a
future locale file could put markup, and therefore script, into an operator's admin session.
It now renders the plain string. A new CI check fails if any call site renders catalogue text
as HTML, or passes a key that does not exist in the English catalogue, which previously
printed the dotted key on screen with every test still green. - SvelteKit 2.70.4, the 2.x security release.
There are no database migrations in this release.