Use _n()
in comments_popup_link()
when setting the default string to display if there are more than one comment.
see #26553. git-svn-id: https://develop.svn.wordpress.org/trunk@31401 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b931f924a7
commit
74ad70419e
@ -1290,7 +1290,9 @@ function comments_popup_link( $zero = false, $one = false, $more = false, $css_c
|
||||
}
|
||||
if ( false === $more ) {
|
||||
/* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag, 4: number of comments */
|
||||
$more = sprintf( __( '%4$d Comments%1$s on %2$s%3$s' ), $span, $title, $span_close, $number );
|
||||
$more = sprintf( _n( '%4$d Comment%1$s on %2$s%3$s', '%4$d Comments%1$s on %2$s%3$s', $number ),
|
||||
$span, $title, $span_close, number_format_i18n( $number )
|
||||
);
|
||||
}
|
||||
if ( false === $none ) {
|
||||
/* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */
|
||||
|
Loading…
Reference in New Issue
Block a user