[openstreetmap/openstreetmap-website] Use lazy translation lookups for the user_blocks partials (#1827)
notifications at github.com
Wed Apr 18 06:30:03 UTC 2018
Lazy translations are easier to read, to write, and easier to deal with when refactoring things like partial names, controller methods and controller names.
This is just a first gentle step in a wider project.
@Nikerabbit as per https://github.com/openstreetmap/openstreetmap-website/issues/1289 this PR will involve changing translation keys on Translatewiki, if it is merged.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Use lazy translation lookups for the user_blocks partials.
-- File Changes --
M app/views/user_blocks/_block.html.erb (8)
M app/views/user_blocks/_blocks.html.erb (20)
M config/locales/en.yml (29)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev