[openstreetmap/openstreetmap-website] Avoid using `to_sentence` to create map key entries (Issue #3816)
Anton Khorev
notifications at github.com
Thu Dec 14 15:46:51 UTC 2023
Some map keys are now assembled from parts. The result looks like this:

Are there any reasons to do this? Maybe we want to link individual parts to wiki pages like this:

But even if we do, we don't have to assemble sentences. We can do something like this:

What would you like locale entries like this one to be converted to?
```
summit:
- Summit
- peak
```
- option A:
```
summit: "Summit"
peak: "Peak"
```
- option B:
```
summit: "Summit and peak"
```
This issue [suggests B](https://github.com/openstreetmap/openstreetmap-website/pull/3731#issuecomment-1269667154). I think A is better because they are shared between different map layers where they may get [combined in a different manner](https://github.com/openstreetmap/openstreetmap-website/pull/4371#issuecomment-1827223460).
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3816#issuecomment-1856090472
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/3816/1856090472 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231214/d6ccbdb3/attachment-0001.htm>
More information about the rails-dev
mailing list