From a380485e3ab0dcdccf455498ddea06edef28a093 Mon Sep 17 00:00:00 2001 From: Larisa Nazarenko Date: Thu, 31 Oct 2019 01:13:54 +0200 Subject: [PATCH] Update _comments.html.erb --- app/views/comments/_comments.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/comments/_comments.html.erb b/app/views/comments/_comments.html.erb index 3b6089358c..845dcb4b55 100644 --- a/app/views/comments/_comments.html.erb +++ b/app/views/comments/_comments.html.erb @@ -29,7 +29,7 @@ <%= 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') %> + <%= translation('dashboard.moderate.approve') %> <%= translation('dashboard.moderate.spam') %> <% elsif current_user &. can_moderate? %>