Use `_n()` in `comments_popup_link()` when setting the default string to display if there are more than one comment.
see #26553. Built from https://develop.svn.wordpress.org/trunk@31401 git-svn-id: http://core.svn.wordpress.org/trunk@31382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f166a51809
commit
fdfd15aacc
|
@ -1290,7 +1290,9 @@ function comments_popup_link( $zero = false, $one = false, $more = false, $css_c
|
||||||
}
|
}
|
||||||
if ( false === $more ) {
|
if ( false === $more ) {
|
||||||
/* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag, 4: number of comments */
|
/* 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 ) {
|
if ( false === $none ) {
|
||||||
/* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */
|
/* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-alpha-31400';
|
$wp_version = '4.2-alpha-31401';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue