[openstreetmap/openstreetmap-website] Use lazy translations where possible (#1833)

Andy Allan notifications at github.com
Wed Apr 25 06:16:07 UTC 2018


This changes the majority of translations to use lazy lookups, where it was possible to do so without renaming keys. So in effect, this removes the prefix of the key where it was just the name of the controller plus the name of the view.

Further (smaller) PRs will be required to deal with the non-standard and the more complex situations.

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use lazy translations where possible

-- File Changes --

    M app/views/browse/_containing_relation.html.erb (6)
    M app/views/browse/_relation.html.erb (2)
    M app/views/browse/_relation_member.html.erb (6)
    M app/views/browse/_tag_details.html.erb (2)
    M app/views/browse/_way.html.erb (4)
    M app/views/browse/changeset.html.erb (18)
    M app/views/browse/not_found.html.erb (10)
    M app/views/browse/note.html.erb (6)
    M app/views/browse/query.html.erb (10)
    M app/views/browse/timeout.html.erb (10)
    M app/views/changeset/list.html.erb (8)
    M app/views/changeset/timeout.atom.builder (2)
    M app/views/changeset/timeout.html.erb (2)
    M app/views/diary_entry/_diary_comment.html.erb (4)
    M app/views/diary_entry/_diary_entry.html.erb (12)
    M app/views/diary_entry/_location.html.erb (2)
    M app/views/diary_entry/comments.html.erb (14)
    M app/views/diary_entry/edit.html.erb (16)
    M app/views/diary_entry/list.html.erb (16)
    M app/views/diary_entry/no_such_entry.html.erb (4)
    M app/views/diary_entry/view.html.erb (8)
    M app/views/geocoder/results.html.erb (4)
    M app/views/geocoder/search.html.erb (2)
    M app/views/message/_message_summary.html.erb (6)
    M app/views/message/_sent_message_summary.html.erb (2)
    M app/views/message/inbox.html.erb (10)
    M app/views/message/new.html.erb (10)
    M app/views/message/no_such_message.html.erb (4)
    M app/views/message/outbox.html.erb (12)
    M app/views/message/read.html.erb (8)
    M app/views/notifier/changeset_comment_notification.html.erb (14)
    M app/views/notifier/changeset_comment_notification.text.erb (14)
    M app/views/notifier/diary_comment_notification.html.erb (6)
    M app/views/notifier/diary_comment_notification.text.erb (6)
    M app/views/notifier/friend_notification.html.erb (6)
    M app/views/notifier/friend_notification.text.erb (6)
    M app/views/notifier/message_notification.html.erb (6)
    M app/views/notifier/message_notification.text.erb (6)
    M app/views/notifier/note_comment_notification.html.erb (8)
    M app/views/notifier/note_comment_notification.text.erb (8)
    M app/views/notifier/signup_confirm.html.erb (8)
    M app/views/notifier/signup_confirm.text.erb (8)
    M app/views/oauth_clients/_form.html.erb (14)
    M app/views/oauth_clients/edit.html.erb (4)
    M app/views/oauth_clients/index.html.erb (20)
    M app/views/oauth_clients/new.html.erb (4)
    M app/views/oauth_clients/not_found.erb (2)
    M app/views/oauth_clients/show.html.erb (20)
    M app/views/trace/_description.html.erb (4)
    M app/views/trace/_trace.html.erb (16)
    M app/views/trace/_trace_optionals.html.erb (2)
    M app/views/trace/_trace_paging_nav.html.erb (10)
    M app/views/trace/create.html.erb (2)
    M app/views/trace/edit.html.erb (28)
    M app/views/trace/georss.rss.builder (4)
    M app/views/trace/list.html.erb (4)
    M app/views/trace/offline.html.erb (4)
    M app/views/trace/view.html.erb (32)
    M app/views/user/_auth_association.html.erb (6)
    M app/views/user/_popup.html.erb (2)
    M app/views/user/account.html.erb (80)
    M app/views/user/confirm.html.erb (14)
    M app/views/user/confirm_email.html.erb (8)
    M app/views/user/list.html.erb (12)
    M app/views/user/login.html.erb (24)
    M app/views/user/logout.html.erb (4)
    M app/views/user/lost_password.html.erb (8)
    M app/views/user/make_friend.html.erb (4)
    M app/views/user/new.html.erb (28)
    M app/views/user/no_such_user.html.erb (4)
    M app/views/user/remove_friend.html.erb (4)
    M app/views/user/reset_password.html.erb (8)
    M app/views/user/suspended.html.erb (6)
    M app/views/user/terms.html.erb (18)
    M app/views/user/view.html.erb (86)

-- Patch Links --

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


More information about the rails-dev mailing list