diff --git a/app/views/comments/_comments.html.erb b/app/views/comments/_comments.html.erb index 5ba1455f72..e1f44afc92 100644 --- a/app/views/comments/_comments.html.erb +++ b/app/views/comments/_comments.html.erb @@ -23,14 +23,14 @@ "<%= raw strip_tags(sanitize(RDiscount.new(comment.comment).to_html)).truncate(150) %>" | <% if comment.parent %> - <%= t('home._comments.read_more') %> » + <%= translation('home._comments.read_more') %> » <% end %> <%= distance_of_time_in_words(comment.created_at, Time.current, { include_seconds: false, scope: 'datetime.time_ago_in_words' }) %> <% if comment.status == 4 && current_user &. can_moderate? %> - <%= t('dashboard.moderate.approve') %> - <%= t('dashboard.moderate.spam') %> + <%= translation('dashboard.moderate.approve') %> + <%= translation('dashboard.moderate.spam') %> <% elsif current_user &. can_moderate? %>