🩹 Comments title: Fix make-pot warning (#3178)
This commit is contained in:
@@ -39,8 +39,8 @@ class Comments extends Composer
|
|||||||
*/
|
*/
|
||||||
public function title()
|
public function title()
|
||||||
{
|
{
|
||||||
/* translators: %1$s is replaced with the number of comments and %2$s with the post title */
|
|
||||||
return sprintf(
|
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'),
|
_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_comments_number() === 1 ? _x('One', 'comments title', 'sage') : number_format_i18n(get_comments_number()),
|
||||||
'<span>'.get_the_title().'</span>'
|
'<span>'.get_the_title().'</span>'
|
||||||
|
|||||||
Reference in New Issue
Block a user