A few fixes and cleanups for I18n fallback:

* Disable client side fallback in javascript that isn't doing anything as 
we only load one locale - note that in the embed view the story is different as 
we load all locales there.
* Drop an old monkey patch that no longer seems to be needed.
* Fix the Norwegian fallback to work - currently it is being overwritten after 
it is added.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Disable client side I18n fallbacks
  * Drop monkey patch that no longer seems to be needed
  * Wait until rails has initialised to update I18n fallbacks

-- File Changes --

    M app/assets/javascripts/application.js (1)
    M config/initializers/i18n.rb (12)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to