[openstreetmap/openstreetmap-website] Use lazy translation lookups for the oauth controller (#1838)

Andy Allan notifications at github.com
Wed Apr 25 09:07:33 UTC 2018


cc @Nikerabbit 

This PR renames the following keys:
* `oauth.oauthorize.*` to `oauth.authorize.*`
* `oauth.oauthorize_success.*` to `oauth.authorize_success.*`
* `oauth.oauthorize_failure.*` to `oauth.authorize_failure.*`
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use lazy translation lookups for the oauth controller.

-- File Changes --

    M app/controllers/oauth_controller.rb (6)
    M app/views/oauth/authorize.html.erb (10)
    M app/views/oauth/authorize_failure.html.erb (2)
    M app/views/oauth/authorize_success.html.erb (6)
    M config/locales/en.yml (6)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1838
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180425/cc7a207d/attachment.html>


More information about the rails-dev mailing list