Convert British spellings to American across the repo

colour -> color, behaviour -> behavior, centre -> center, favourite ->
favorite, and about twenty other pairs, applied consistently across
comments, docs, error/UI copy, and a handful of QML identifiers that
used the British spelling as their actual name: SystemSettings'
serialiseValue/serialiseTable/normaliseGradient, Displays'
normaliseModes, Wallpaper's normalisePolicy, SettingsBackup's
serialiseHomeState, DateTime's ntpSynchronised property, Clipboard's
_normalise helper, and ShortcutCapture's cancelled signal (with its
onCancelled handler in ShortcutsPage.qml). Every call site and the two
tests that assert on the literal source text (settings-ownership and
settings-backup-live contracts) were updated in lockstep.

Left untouched: config/dot/espanso/match/packages/misspell-en/ is a
vendored third-party autocorrect dictionary -- its entries are typo
corrections, not our prose, and rewriting them would fight the
package's own purpose (and any future re-sync from upstream).

The already-American `favorites` property (Home page pinned
accessories) was never actually misspelled -- only nearby comments and
error strings said "favourites" -- so no data migration was needed
there.

Claude-Session: https://claude.ai/code/session_01E6TJUAh41HaP25MVHWkhRZ
This commit is contained in:
Gabriel Brown
2026-08-19 08:07:55 -04:00
parent 8156fc47ca
commit d96863b687
113 changed files with 322 additions and 322 deletions
@@ -4,7 +4,7 @@
Panama will expand the existing top-right Quick Settings popover into a complete
Control Center. Wi-Fi, Bluetooth, Focus, Caffeine, Night Light, audio, account,
settings, and power remain in place. Home Assistant favourites and lightweight
settings, and power remain in place. Home Assistant favorites and lightweight
iPhone continuity join that same surface instead of creating separate windows
or permanent bar widgets.
@@ -18,7 +18,7 @@ the paired iPhone exposes only a useful subset of KDE Connect.
- Make the top-right popover feel like a complete desktop Control Center rather
than a small collection of connectivity toggles.
- Toggle the existing Home Assistant favourites without opening a browser.
- Toggle the existing Home Assistant favorites without opening a browser.
- Preserve the user's seven enabled Home Assistant lights and use Home
Assistant friendly names and live states.
- Show the paired iPhone's real reachability and expose Send File, Send
@@ -67,7 +67,7 @@ The resting panel is ordered by frequency and scope:
1. Wi-Fi, Bluetooth, Caffeine, and Night Light toggle grid.
2. Focus and audio controls.
3. Home favourites.
3. Home favorites.
4. Phone continuity.
5. User, Panama Settings, and power footer.
@@ -83,7 +83,7 @@ panel remains predictable.
## Home section
The resting Home card shows the first four enabled favourites in their saved
The resting Home card shows the first four enabled favorites in their saved
order. Each tile contains a domain-appropriate glyph, a friendly name, and a
plain state such as `On`, `Off`, or `Unavailable`. Enabled lights use a quiet
amber light treatment; Panama blue remains reserved for desktop selection and
@@ -96,7 +96,7 @@ without a toast or Signal Glass event. A failure restores the last known state
and displays a concise inline error inside the Home section.
The trailing `N accessories` action expands a full list of configured
favourites inside the Control Center. No unconfigured Home Assistant entity is
favorites inside the Control Center. No unconfigured Home Assistant entity is
shown. An `Open Home Assistant` action launches the configured base URL.
If Home Assistant is unreachable, Panama retains the last good states for the
@@ -165,7 +165,7 @@ reliable byte progress for this device.
Add `scripts/panama-home-assistant`, a small local bridge with four commands:
- `probe` reports configuration and API availability without entity details;
- `snapshot` returns only configured favourites and normalized state;
- `snapshot` returns only configured favorites and normalized state;
- `toggle ENTITY_ID` calls the Home Assistant service for an allow-listed
configured entity; and
- `open` launches the configured Home Assistant URL.
@@ -212,7 +212,7 @@ outside-click behavior remain intact.
- Helpers never echo tokens, Authorization headers, clipboard text, entity
response bodies, IP addresses, or full local file paths to logs.
- Home Assistant commands accept only entity IDs present in the configured
favourites snapshot.
favorites snapshot.
- KDE Connect device IDs and file paths are passed as separate process
arguments, never interpolated into a shell command.
- A user click is required for every Home toggle, phone ring, clipboard send,
@@ -231,7 +231,7 @@ outside-click behavior remain intact.
is offered.
- Invalid or expired token: Home shows `Authentication required` without
exposing the response body.
- One malformed entity is omitted without suppressing healthy favourites.
- One malformed entity is omitted without suppressing healthy favorites.
## Testing and verification
@@ -261,7 +261,7 @@ checks require an explicit user action from the finished Control Center.
## Documentation updates
- Update `config/dot/hypr/DESKTOP-PARITY.md` to mark Home Assistant favourites
- Update `config/dot/hypr/DESKTOP-PARITY.md` to mark Home Assistant favorites
and KDE Connect phone integration live.
- Document Control Center behavior, credential resolution, and iOS limitations
in `config/dot/hypr/README.md`.