From 38297937b73acb431ff527462dffc731f720b6df Mon Sep 17 00:00:00 2001 From: topkoa Date: Mon, 29 Jun 2026 15:18:05 -0400 Subject: [PATCH] fix: "practise" -> "practice" (American spelling, matches the rest of the UI) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three spots used British "practise" while the rest of the app uses American "practice" (Keep practicing, Virtuoso - Practice, etc.): - static/v3/profile.js — first-run onboarding "Feats of Power" step - plugins/achievements/feats.json — The Witching Hour feat description - plugins/achievements/engine.py — code comment Co-Authored-By: Claude Opus 4.8 Signed-off-by: topkoa --- plugins/achievements/engine.py | 2 +- plugins/achievements/feats.json | 2 +- static/v3/profile.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/achievements/engine.py b/plugins/achievements/engine.py index 4cff0a5..0ff3a78 100644 --- a/plugins/achievements/engine.py +++ b/plugins/achievements/engine.py @@ -109,7 +109,7 @@ def apply_activity(counters, delta): def consecutive_run_length(dates): """Longest run of consecutive calendar dates in ``dates`` (ISO 'YYYY-MM-DD'). - Used by the `secret_witching` Feat (practise in the 2–5am window on N + Used by the `secret_witching` Feat (practice in the 2–5am window on N consecutive nights). Pure date arithmetic so it's unit-testable; routes.py feeds it the distinct night-dates recorded in `comp_ledger`. """ diff --git a/plugins/achievements/feats.json b/plugins/achievements/feats.json index 5643ca9..5b7c32f 100644 --- a/plugins/achievements/feats.json +++ b/plugins/achievements/feats.json @@ -76,7 +76,7 @@ { "id": "secret_witching", "title": "The Witching Hour", - "description": "Practise in the dead of night, seven nights running.", + "description": "Practice in the dead of night, seven nights running.", "category": "global", "sourceId": "achievements", "secret": true, diff --git a/static/v3/profile.js b/static/v3/profile.js index d8e1985..fb25a14 100644 --- a/static/v3/profile.js +++ b/static/v3/profile.js @@ -375,7 +375,7 @@ // Step 3 — Achievements wall opt-in (first-run only; default OFF). '