From 1caac0e2db436c86454795ee71cec60f2809420f Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 31 Jul 2022 13:52:51 +0200 Subject: [PATCH] Translate post time for answerbox comments --- app/views/answerbox/_comments.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/answerbox/_comments.haml b/app/views/answerbox/_comments.haml index 8a17271b..f88085d5 100644 --- a/app/views/answerbox/_comments.haml +++ b/app/views/answerbox/_comments.haml @@ -13,8 +13,7 @@ %h6.media-heading.comment__user = user_screen_name comment.user %span.text-muted{ title: comment.created_at, data: { toggle: :tooltip, placement: :right } } - = time_ago_in_words(comment.created_at) - ago + = t("time.distance_ago", time: time_ago_in_words(comment.created_at)) .comment__content = markdown comment.content .pull-right