From ea52ff7da5095f0bbc9d219168d06d69358b16db Mon Sep 17 00:00:00 2001 From: Alex Verkhovsky Date: Sat, 21 Mar 2026 16:09:39 -0600 Subject: [PATCH] fix(docs): correct Hasselhoff spelling, add locale-aware 404 redirect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix "Hasslehoff" → "Hasselhoff" typo in customize-bmad.md across all three locales (en, zh-cn, fr). Add client-side locale detection to 404.astro so GitHub Pages serves the correct localized 404 page instead of always showing English. Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/fr/how-to/customize-bmad.md | 2 +- docs/how-to/customize-bmad.md | 2 +- docs/zh-cn/how-to/customize-bmad.md | 2 +- website/src/pages/404.astro | 16 ++++++++++++++++ 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/docs/fr/how-to/customize-bmad.md b/docs/fr/how-to/customize-bmad.md index f6a481235..c8975cc55 100644 --- a/docs/fr/how-to/customize-bmad.md +++ b/docs/fr/how-to/customize-bmad.md @@ -84,7 +84,7 @@ Ajouter un contexte persistant que l'agent gardera toujours en mémoire : ```yaml memories: - 'Travaille au Krusty Krab' - - 'Célébrité préférée : David Hasslehoff' + - 'Célébrité préférée : David Hasselhoff' - 'Appris dans l’Epic 1 que ce n’est pas cool de faire semblant que les tests ont passé' ``` diff --git a/docs/how-to/customize-bmad.md b/docs/how-to/customize-bmad.md index cfb75333c..15832df89 100644 --- a/docs/how-to/customize-bmad.md +++ b/docs/how-to/customize-bmad.md @@ -85,7 +85,7 @@ Add persistent context the agent will always remember: ```yaml memories: - 'Works at Krusty Krab' - - 'Favorite Celebrity: David Hasslehoff' + - 'Favorite Celebrity: David Hasselhoff' - 'Learned in Epic 1 that it is not cool to just pretend that tests have passed' ``` diff --git a/docs/zh-cn/how-to/customize-bmad.md b/docs/zh-cn/how-to/customize-bmad.md index 5f762ba20..5ed2d44c3 100644 --- a/docs/zh-cn/how-to/customize-bmad.md +++ b/docs/zh-cn/how-to/customize-bmad.md @@ -85,7 +85,7 @@ persona: ```yaml memories: - 'Works at Krusty Krab' - - 'Favorite Celebrity: David Hasslehoff' + - 'Favorite Celebrity: David Hasselhoff' - 'Learned in Epic 1 that it is not cool to just pretend that tests have passed' ``` diff --git a/website/src/pages/404.astro b/website/src/pages/404.astro index 46065d04c..945411ec9 100644 --- a/website/src/pages/404.astro +++ b/website/src/pages/404.astro @@ -9,3 +9,19 @@ const { Content } = await entry.render(); + + +