[openstreetmap/openstreetmap-website] Avoid using `to_sentence` to create map key entries (Issue #3816)

Andy Allan notifications at github.com
Wed Nov 23 18:53:45 UTC 2022


In https://github.com/openstreetmap/openstreetmap-website/pull/3731 it was shown that the map key isn't displayed correctly for certain languages.

The underlying cause of the problem is that we are using `.to_sentence` to join individually translated words, which is [unnecessary](https://github.com/openstreetmap/openstreetmap-website/pull/3731#issuecomment-1269667154) and causes this bug.

This issue is here since the original PR was closed, and an alternative PR hasn't yet been created, and we need to ensure that we don't forget about this problem in the meantime.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3816
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3816 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221123/b3860c86/attachment-0001.htm>


More information about the rails-dev mailing list