This updates i18n-js to the 4.x branch which requires quite a bit of 
re-engineering due to upstream API changes.

Although this looks quite large the vast majority of it is just replacement of 
`I18n.t` with `OSM.i18n.t` as you now need to instantiate an instance of I18n 
instead of just using global functions.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Update to i18n-js 4.x

-- File Changes --

    M .github/workflows/docker.yml (2)
    M .github/workflows/tests.yml (2)
    M .gitignore (1)
    M CONFIGURE.md (2)
    M Gemfile (2)
    M Gemfile.lock (8)
    M app/assets/javascripts/application.js (8)
    M app/assets/javascripts/diary_entry.js (4)
    M app/assets/javascripts/edit/id.js.erb (2)
    M app/assets/javascripts/embed.js.erb (10)
    M app/assets/javascripts/heatmap.js (8)
    A app/assets/javascripts/i18n.js (7)
    M app/assets/javascripts/index.js (6)
    M app/assets/javascripts/index/contextmenu.js (12)
    M app/assets/javascripts/index/directions-endpoint.js (2)
    M app/assets/javascripts/index/directions.js (32)
    M app/assets/javascripts/index/directions/fossgis_osrm.js (14)
    M app/assets/javascripts/index/directions/fossgis_valhalla.js (2)
    M app/assets/javascripts/index/directions/graphhopper.js (2)
    M app/assets/javascripts/index/home.js (4)
    M app/assets/javascripts/index/layers/data.js (16)
    M app/assets/javascripts/index/query.js (16)
    M app/assets/javascripts/leaflet.key.js (2)
    M app/assets/javascripts/leaflet.layers.js (6)
    M app/assets/javascripts/leaflet.locate.js (4)
    M app/assets/javascripts/leaflet.map.js (10)
    M app/assets/javascripts/leaflet.note.js (2)
    M app/assets/javascripts/leaflet.query.js (2)
    M app/assets/javascripts/leaflet.share.js (32)
    M app/assets/javascripts/leaflet.sidebar-pane.js (4)
    M app/assets/javascripts/leaflet.zoom.js (4)
    M app/assets/javascripts/user.js (6)
    M app/helpers/application_helper.rb (1)
    M config/environments/development.rb (3)
    M config/environments/test.rb (3)
    D config/i18n-js.yml (20)
    A config/i18n.yml (23)
    M config/initializers/i18n.rb (5)
    A i18n/templates/template.js.erb (1)
    M package.json (1)
    M yarn.lock (21)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5811
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