[openstreetmap/openstreetmap-website] More lazy translation lookups for traces (#1851)

Andy Allan notifications at github.com
Wed May 9 04:15:56 UTC 2018


A few more lazy translations, to make future refactoring easier.

@Nikerabbit  This PR contains translation key renaming as follows:

* `trace.trace_form.*` is combined into the existing `trace.create.*`
* `trace.trace_header.traces_waiting.*` becomes `trace.create.traces_waiting.*`
* Other `trace.trace_header.*` is combined into the existing `trace.list.*`
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * More lazy translation lookups for traces

-- File Changes --

    M app/controllers/trace_controller.rb (23)
    M app/views/trace/create.html.erb (16)
    M app/views/trace/list.html.erb (10)
    M config/locales/en.yml (34)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1851.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1851.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/1851
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180508/2fab922e/attachment.html>


More information about the rails-dev mailing list