Re: [openstreetmap/openstreetmap-website] Add 'Load more' button that loads newer changesets to history pages (PR #5812)

2025-03-18 Thread David Karlaš via rails-dev
DavidKarlas left a comment (openstreetmap/openstreetmap-website#5812) Should existing button be renamed to "Load older" and new button to "Load newer"? Just idea... -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5812#issuecommen

Re: [openstreetmap/openstreetmap-website] Add PWA geo protocol handler (PR #5736)

2025-03-18 Thread Marwin Hochfelsner via rails-dev
@hlfan commented on this pull request. >mapParams = {}; +[geoURI.coordstring, ...geoURI.params] = geoURI.pathname.split(";"); +geoURI.params = Object.fromEntries([...geoURI.searchParams, ...geoURI.params.map(p => p.split("=").map(decodeURIComponent))]); I'm now using `URL

Re: [openstreetmap/openstreetmap-website] Add PWA geo protocol handler (PR #5736)

2025-03-18 Thread Marwin Hochfelsner via rails-dev
hlfan left a comment (openstreetmap/openstreetmap-website#5736) I'm now choosing the zoom parameter differently so even if a parameter value ending with `&z` gets parsed wrong (it couldn't be in the parameter name anyway and `=` isn't allowed in values) that won't affect the ability to use the l

Re: [openstreetmap/openstreetmap-website] Add PWA geo protocol handler (PR #5736)

2025-03-18 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 1 commit. 1819a90efbf8c52ea359c524ea30d6d9fd92734d Add PWA geo protocol handler -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5736/files/37f32c74844eb44c5c8c2fc8ae15c1f8736c2d75..1819a90efbf8c52ea359c524ea30d6d9fd92734d You are receiving this be

[openstreetmap/openstreetmap-website] Missing translations should fall back to English (Issue #5819)

2025-03-18 Thread Minh Nguyễn via rails-dev
1ec5 created an issue (openstreetmap/openstreetmap-website#5819) Fall back to English when a string is missing from the localization or the translation refers to a nonexistent interpolation argument. ## Rationale Sometimes a localizable string has to get changed to a different ID whenever the

Re: [openstreetmap/openstreetmap-website] Missing translations should fall back to English (Issue #5819)

2025-03-18 Thread Tom Hughes via rails-dev
tomhughes left a comment (openstreetmap/openstreetmap-website#5819) Missing translations do fall back to english - what make you think they don't? -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5819#issuecomment-2734882038 You

Re: [openstreetmap/openstreetmap-website] Missing interpolations in translations should fall back to English (Issue #5819)

2025-03-18 Thread Minh Nguyễn via rails-dev
Closed #5819 as not planned. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5819#event-16852904738 You are receiving this because you are subscribed to this thread. Message ID: ___ r

Re: [openstreetmap/openstreetmap-website] Missing interpolations in translations should fall back to English (Issue #5819)

2025-03-18 Thread Minh Nguyễn via rails-dev
1ec5 left a comment (openstreetmap/openstreetmap-website#5819) Right, I’ve definitely found this test useful. I’ll have to look into why it isn’t running on Translatewiki.net PRs like OpenHistoricalMap/ohm-website#276. I recall you’ve periodically had to go into osm-community-index to report is

Re: [openstreetmap/openstreetmap-website] Add PWA geo protocol handler (PR #5736)

2025-03-18 Thread Anton Khorev via rails-dev
@AntonKhorev commented on this pull request. > +geoURI.epsg = geoURI.params.crs?.toUpperCase()?.replace(":", ""); +if (geoURI.epsg?.startsWith("EPSG")) { + geoURI.coords = L.CRS.EPSG3857.unproject(L.CRS[geoURI.epsg]?.project(geoURI.coords)); +} Is it just an excuse to parse al

[openstreetmap/openstreetmap-website] update-wiki-pages: process ChangesetKey template (PR #5818)

2025-03-18 Thread Kyℓe Hensel via rails-dev