Use _n() instead of comments_number() in twentyten, because it doesn't handle plurals properly. Props zeo and dimadin. Fixes #13187
git-svn-id: https://develop.svn.wordpress.org/trunk@14358 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
837a60cfdc
commit
ffcc525c07
|
@ -27,11 +27,12 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php if ( have_comments() ) : ?>
|
<?php if ( have_comments() ) : ?>
|
||||||
<h3 id="comments-title"><?php comments_number(
|
<h3 id="comments-title">
|
||||||
sprintf( __( 'No Responses to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ),
|
<?php
|
||||||
sprintf( __( 'One Response to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ),
|
printf( _n('One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten'),
|
||||||
sprintf( __( '%% Responses to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' )
|
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
|
||||||
); ?></h3>
|
?>
|
||||||
|
</h3>
|
||||||
|
|
||||||
<?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?>
|
<?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?>
|
||||||
<div class="navigation">
|
<div class="navigation">
|
||||||
|
|
Loading…
Reference in New Issue