🩹 Comments title: Fix make-pot warning (#3178)

This commit is contained in:
Ben Word
2024-01-18 12:56:13 -06:00
committed by GitHub
parent e5b06d37d9
commit 8bbc14e781

View File

@@ -39,8 +39,8 @@ class Comments extends Composer
*/
public function title()
{
/* translators: %1$s is replaced with the number of comments and %2$s with the post title */
return sprintf(
/* translators: %1$s is replaced with the number of comments and %2$s with the post title */
_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()),
'<span>'.get_the_title().'</span>'