From 03921768f3f690045b397aa0d679ce08b3fa843a Mon Sep 17 00:00:00 2001 From: strarsis Date: Wed, 11 May 2022 21:30:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20i18n=20warnings=20(#3039)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 27b0014..84c228f 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() . '') !!}