X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8a42bc2eff8563d206615cb8810ad87e9e6e5be2..21601dfffab42ae59dabb6f0de46c520beed874a:/app/helpers/note_helper.rb?ds=sidebyside diff --git a/app/helpers/note_helper.rb b/app/helpers/note_helper.rb index d85881a31..7e52937a0 100644 --- a/app/helpers/note_helper.rb +++ b/app/helpers/note_helper.rb @@ -3,11 +3,11 @@ module NoteHelper def note_event(event, at, by) if by.nil? - t("browse.note." + event + "_by_anonymous_html", + t("browse.note.#{event}_by_anonymous_html", :when => friendly_date_ago(at), :exact_time => l(at)) else - t("browse.note." + event + "_by_html", + t("browse.note.#{event}_by_html", :when => friendly_date_ago(at), :exact_time => l(at), :user => note_author(by))