[openstreetmap/openstreetmap-website] Remove duplicate keys from en locale data (PR #3569)
Anton Khorev
notifications at github.com
Sat Jun 11 00:43:58 UTC 2022
It's invalid YAML to have duplicate keys. Some parsers may refuse to read the file.
(I had to scan block page heading locale strings once to find out whether they are "User A blocked by User B" or "User B blocked User A" in all possible languages. The parser threw an exception on en.yml.)
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3569
-- Commit Summary --
* Remove duplicate keys from en locale data
-- File Changes --
M config/locales/en.yml (5)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3569.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3569.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3569
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3569 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220610/e15735b6/attachment.htm>
More information about the rails-dev
mailing list