From 04d4fce09dfc1219d66dec0aee38780c8b0a29cf Mon Sep 17 00:00:00 2001 From: strarsis Date: Wed, 11 May 2022 20:38:46 +0200 Subject: [PATCH] Add translators comment. Add singular placeholder. --- resources/views/partials/comments.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/partials/comments.blade.php b/resources/views/partials/comments.blade.php index 27b0014aa2..84c228f8eb 100644 --- a/resources/views/partials/comments.blade.php +++ b/resources/views/partials/comments.blade.php @@ -2,7 +2,7 @@
@if (have_comments())

- {!! sprintf(_nx('One response to “%2$s”', '%1$s responses to “%2$s”', get_comments_number(), 'comments title', 'sage'), number_format_i18n(get_comments_number()), '' . get_the_title() . '') !!} + {!! /* translators: %1$s is replaced with the number of comments and %2$s with the post title */ sprintf(_nx('%1$s response to “%2$s”', '%1$s responses to “%2$s”', get_comments_number(), 'comments title', 'sage'), get_comments_number() === 1 ? _x('One', 'comments title', 'sage') : number_format_i18n(get_comments_number()), '' . get_the_title() . '') !!}