[openstreetmap/openstreetmap-website] Use lazy lookups for user_blocks translations (#1834)
Andy Allan
notifications at github.com
Wed Apr 25 06:20:26 UTC 2018
This PR converts the user_blocks views to use lazy translation lookups, and involves renaming all the remaining `user_block.*` i18n keys to `user_blocks.*`.
cc @Nikerabbit
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/1834
-- Commit Summary --
* Use lazy lookups for user_blocks translations
-- File Changes --
M app/controllers/user_blocks_controller.rb (12)
M app/helpers/user_blocks_helper.rb (8)
M app/views/user_blocks/blocks_by.html.erb (6)
M app/views/user_blocks/blocks_on.html.erb (6)
M app/views/user_blocks/edit.html.erb (18)
M app/views/user_blocks/index.html.erb (6)
M app/views/user_blocks/new.html.erb (16)
M app/views/user_blocks/not_found.html.erb (4)
M app/views/user_blocks/revoke.html.erb (12)
M app/views/user_blocks/show.html.erb (18)
M config/locales/en.yml (3)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/1834.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1834.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/1834
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180424/8f7f1409/attachment-0001.html>
More information about the rails-dev
mailing list