diff --git a/app/views/comments/_list.html.haml b/app/views/comments/_list.html.haml index d7f752ad4..d4bd73309 100644 --- a/app/views/comments/_list.html.haml +++ b/app/views/comments/_list.html.haml @@ -1,6 +1,6 @@ %a{ :name => "comments" } .hr -%h3= t("layout.issues.comments_header") +%h3= t("layout.comments.comments_header") - list.each do |comment| - CommentPresenter.present(comment, :project => project, :commentable => commentable) do |presenter| = render :partial => 'shared/feed_message', :locals => {:presenter => presenter} diff --git a/config/locales/layout/comments.en.yml b/config/locales/layout/comments.en.yml index f8b0d0fce..ee6bf5304 100644 --- a/config/locales/layout/comments.en.yml +++ b/config/locales/layout/comments.en.yml @@ -3,3 +3,4 @@ en: comments: has_commented: "adds a note" notifications_are: "Notifications for new comments are" + comments_header: "Comments" diff --git a/config/locales/layout/comments.ru.yml b/config/locales/layout/comments.ru.yml index 1a6f75139..0d680c2b2 100644 --- a/config/locales/layout/comments.ru.yml +++ b/config/locales/layout/comments.ru.yml @@ -3,3 +3,4 @@ ru: comments: has_commented: "оставил комментарий" notifications_are: "Уведомления о последующих комментариях" + comments_header: "Комментарии"