[openstreetmap/openstreetmap-website] Avoid lego translations for coordinates (#2783)

Andy Allan notifications at github.com
Wed Aug 19 14:56:07 UTC 2020


Use the i18n system for joining coordinate values together, while avoiding making any changes or standardisation involving the exact symbol used in each situation.

Refs #2732

This was mentioned in passing in the linked issue, so I thought I could at least fix that minor point. It doesn't change anything wrt decimal separators, and it's worth noting that we've been inconsistent in the past with `,` vs `;` within pairs of coordinates and this PR deliberately doesn't change either option, just moves them into the i18n files.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2783

-- Commit Summary --

  * Avoid lego translations for coordinates

-- File Changes --

    M app/views/browse/_common_details.html.erb (5)
    M app/views/browse/note.html.erb (5)
    M app/views/diary_entries/_location.html.erb (2)
    M app/views/traces/show.html.erb (8)
    M config/locales/en.yml (5)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2783.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2783.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2783
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200819/19a1db43/attachment.htm>


More information about the rails-dev mailing list