when User
reportable.display_name
when DiaryComment
- "#{reportable.diary_entry.title}, Comment id ##{reportable.id}"
+ I18n.t("issues.helper.reportable_title.diary_comment", :entry_title => reportable.diary_entry.title, :comment_id => reportable.id)
when Note
- "Note ##{reportable.id}"
+ I18n.t("issues.helper.reportable_title.note", :note_id => reportable.id)
end
end
end
reports:
updated_at: "On %{datetime}"
reported_by_html: "Reported as %{category} by %{user}"
+ helper:
+ reportable_title:
+ diary_comment: "%{entry_title}, comment #%{comment_id}"
+ note: "Note #{note_id}"
issue_comments:
create:
comment_created: Your comment was successfully created