[openstreetmap/openstreetmap-website] Minimap migration from Leaflet to MapLibre (PR #6683)
Frank Elsinga
notifications at github.com
Wed Jan 7 03:53:14 UTC 2026
@CommanderStorm commented on this pull request.
> @@ -1,7 +1,32 @@
+//= require i18n
I really don't understand how these imports actually work.
I seem to both require i18n, but then also not require it.
For this PR, I seem to need it, otherwise `OSM.i18n.t` does not seem to exist.
- https://github.com/openstreetmap/openstreetmap-website/pull/6630
Can someone with more rails knowlege give me a better mental model how this works?
- At first I was "C-Style-Preprocessor", that does not seem the case,
- then I was thinking this works in the "we concat things into a few giantic files, this specifes the order" but that also does not seem to be the case
So confusing
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6683#pullrequestreview-3633257832
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6683/review/3633257832 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260106/76a6fafb/attachment.htm>
More information about the rails-dev
mailing list