From 2dda92c9e6d7c5eae28ec176c12bb6e5fca8a9e5 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Sun, 1 Nov 2026 18:57:30 -0800 Subject: [PATCH] docs: record that a map source's unavailableReason may be a function The default map sources word their reason when it is shown, so it follows the locale; hosts that read it directly need to know the new form. --- changelog.d/0000-vue-and-pinia.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/changelog.d/0000-vue-and-pinia.md b/changelog.d/0000-vue-and-pinia.md index 2716cfc38..9ac910934 100644 --- a/changelog.d/0000-vue-and-pinia.md +++ b/changelog.d/0000-vue-and-pinia.md @@ -6,6 +6,11 @@ unsaved-work prompt are removed, since a switch no longer loses anything (samehkhamis, #0000). +- A map source's `unavailableReason` may be a function, read when the reason + is shown so it follows the locale; the sources from `createDefaultMapSources` + (`./maps/defaults`) give functions. `MapSourceController` reads either form + (samehkhamis, #0000). + - The application views translate their text with `t()` as they render, so it follows the active locale; they no longer carry `data-i18n*` attributes, and `npm run i18n` rejects those in a Vue template. The boot