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.
This commit is contained in:
Sameh Khamis committed 2026-11-01 18:57:30 -08:00
1 parent 5605fdc60a
commit 2dda92c9e6
1 file changed
+5
+5
View File
@@ -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