Сleared up the message when a comment is hidden (#18199)
* Fix message understanding when a comment is hidden and add i18n * Fix naming
This commit is contained in:
parent
ad270fc842
commit
c642cadfc9
3 changed files with 8 additions and 2 deletions
|
|
@ -7,7 +7,9 @@
|
|||
<div class="comment__content crayons-card">
|
||||
<% if comment.deleted %>
|
||||
<div class="p-6 align-center opacity-50 fs-s">
|
||||
<span class="js-comment-username">Comment deleted</span>
|
||||
<span class="js-comment-username">
|
||||
<%= t("views.comments.delete.comment_deleted") %>
|
||||
</span>
|
||||
</div>
|
||||
<% else %>
|
||||
<%= render partial: "comments/comment_quality_marker", locals: {
|
||||
|
|
@ -35,7 +37,7 @@
|
|||
|
||||
<% if should_be_hidden?(comment, @root_comment) %>
|
||||
<div class="p-6 align-center opacity-50 fs-s hidden comment-hidden-by-author-text">
|
||||
Comment hidden by author
|
||||
<%= t("views.comments.hidden.comment_hidden") %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ en:
|
|||
submit: Delete
|
||||
edit: Edit
|
||||
cancel: Dismiss
|
||||
comment_deleted: Comment deleted
|
||||
collapse: Collapse
|
||||
edit: Editing comment
|
||||
edited:
|
||||
|
|
@ -37,6 +38,7 @@ en:
|
|||
hidden:
|
||||
text_html: Some comments have been hidden by the post's author - %{info}
|
||||
info: find out more
|
||||
comment_hidden: Comment hidden by post author
|
||||
hider:
|
||||
description_html: Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's %{permalink}.
|
||||
hide_child: Hide child comments as well
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ fr:
|
|||
submit: Delete
|
||||
edit: Edit
|
||||
cancel: Dismiss
|
||||
comment_deleted: Comment deleted
|
||||
collapse: Collapse
|
||||
edit: Editing comment
|
||||
edited:
|
||||
|
|
@ -37,6 +38,7 @@ fr:
|
|||
hidden:
|
||||
text_html: Some comments have been hidden by the post's author - %{info}
|
||||
info: find out more
|
||||
comment_hidden: Comment hidden by post author
|
||||
hider:
|
||||
description_html: Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's %{permalink}.
|
||||
hide_child: Hide child comments as well
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue