WordPress.org

Make WordPress Core

Ticket #13187: twentyten-plural-forms-comments.diff

File twentyten-plural-forms-comments.diff, 1.1 KB (added by zeo, 5 years ago)
  • wp-content/themes/twentyten/comments.php

     
    2727?> 
    2828 
    2929<?php if ( have_comments() ) : ?> 
    30                         <h3 id="comments-title"><?php comments_number( 
    31                                 sprintf( __( 'No Responses to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ), 
    32                                 sprintf( __( 'One Response to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ), 
    33                                 sprintf( __( '%% Responses to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ) 
    34                         ); ?> </h3> 
     30                        <h3 id="comments-title"><?php /* translators: 1: language string for the number of response(s), 2: post title */ 
     31                                printf( __( '%1$s to %2$s', 'twentyten' ), 
     32                                        sprintf( _n( 'One Response', '%s Responses', get_comments_number(), 'twentyten' ), number_format_i18n( get_comments_number() ) ), '<em>' . get_the_title() . '</em>' 
     33                        ); ?></h3> 
    3534 
    3635<?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?> 
    3736                        <div class="navigation">