Use _n() instead of comments_number() in twentyten, because it doesn't handle plurals properly. Props zeo and dimadin. Fixes #13187
git-svn-id: http://svn.automattic.com/wordpress/trunk@14358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
514808ebd1
commit
855ac9ef4a
|
@ -27,11 +27,12 @@
|
|||
?>
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h3 id="comments-title"><?php comments_number(
|
||||
sprintf( __( 'No Responses to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ),
|
||||
sprintf( __( 'One Response to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ),
|
||||
sprintf( __( '%% Responses to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' )
|
||||
); ?></h3>
|
||||
<h3 id="comments-title">
|
||||
<?php
|
||||
printf( _n('One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten'),
|
||||
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
|
||||
?>
|
||||
</h3>
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?>
|
||||
<div class="navigation">
|
||||
|
|
Loading…
Reference in New Issue