From 012ac6f149e114914e0f8474e54a90f8b17b047f Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Wed, 8 Apr 2026 19:35:41 -0700 Subject: [PATCH] =?UTF-8?q?docs:=20v0.40.1=20release=20=E2=80=94=20default?= =?UTF-8?q?=20locale=20fix=20(#186)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nathan Esquenazi --- CHANGELOG.md | 12 ++++++++++++ static/index.html | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae76436..fd761df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,18 @@ --- +## [v0.40.1] — 2026-04-09 + +### Bug Fixes +- **Default locale on first install** (PR #185): A fresh install would start in + English based on the server default, but `loadLocale()` could resurrect a + stale or unsupported locale code from `localStorage`. Now `loadLocale()` falls + back to English when there is no saved code or the saved code is not in the + LOCALES bundle. `setLocale()` also stores the resolved code, so an unknown + input never persists to storage. + +--- + ## [v0.40.0] — 2026-04-09 ### Features diff --git a/static/index.html b/static/index.html index a01fa20..0e24dff 100644 --- a/static/index.html +++ b/static/index.html @@ -14,7 +14,7 @@