JS and Ruby side feature naming has been a bit different. Using a similar structure and logic, these parts can become nearly identical to read. I also moved the standard address to i18n as some languages have it the other way round. Closes #3447 You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6037 -- Commit Summary -- * Add address localization * Use same logic for feature names -- File Changes -- M app/assets/javascripts/index/query.js (24) M app/helpers/browse_helper.rb (29) M config/locales/en.yml (1) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6037.patch https://github.com/openstreetmap/openstreetmap-website/pull/6037.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6037 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/6...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev