[openstreetmap/openstreetmap-website] Don't reinitialise i18n in maplibre code (PR #6630)
Tom Hughes
notifications at github.com
Wed Dec 17 19:11:12 UTC 2025
This fixes #6624 by avoiding doing a second initialisation of the i18n system in the maplibre code - it is already initialised for all pages by `application.js` which is loaded before any page specific code like the dashboard code.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6630
-- Commit Summary --
* Don't reinitialise i18n in maplibre code
-- File Changes --
M app/assets/javascripts/maplibre.i18n.js (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6630.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6630.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6630
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6630 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251217/5541f40c/attachment-0001.htm>
More information about the rails-dev
mailing list