X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e80571c22c91061c3fc5f3b6fc164522d05031cb..e47187a8fb45c9372ad3a7422f96d357e087676d:/app/helpers/note_helper.rb?ds=sidebyside diff --git a/app/helpers/note_helper.rb b/app/helpers/note_helper.rb index d85881a31..21c8fa51e 100644 --- a/app/helpers/note_helper.rb +++ b/app/helpers/note_helper.rb @@ -3,13 +3,11 @@ module NoteHelper def note_event(event, at, by) if by.nil? - t("browse.note." + event + "_by_anonymous_html", - :when => friendly_date_ago(at), - :exact_time => l(at)) + t("notes.show.event_#{event}_by_anonymous_html", + :time_ago => friendly_date_ago(at)) else - t("browse.note." + event + "_by_html", - :when => friendly_date_ago(at), - :exact_time => l(at), + t("notes.show.event_#{event}_by_html", + :time_ago => friendly_date_ago(at), :user => note_author(by)) end end