equal
deleted
inserted
replaced
23 <div id="comments" class="comments-area"> |
23 <div id="comments" class="comments-area"> |
24 |
24 |
25 <?php if ( have_comments() ) : ?> |
25 <?php if ( have_comments() ) : ?> |
26 <h2 class="comments-title"> |
26 <h2 class="comments-title"> |
27 <?php |
27 <?php |
28 printf( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'twentyfifteen' ), |
28 $comments_number = get_comments_number(); |
29 number_format_i18n( get_comments_number() ), get_the_title() ); |
29 if ( '1' === $comments_number ) { |
|
30 /* translators: %s: post title */ |
|
31 printf( _x( 'One thought on “%s”', 'comments title', 'twentyfifteen' ), get_the_title() ); |
|
32 } else { |
|
33 printf( |
|
34 /* translators: 1: number of comments, 2: post title */ |
|
35 _nx( |
|
36 '%1$s thought on “%2$s”', |
|
37 '%1$s thoughts on “%2$s”', |
|
38 $comments_number, |
|
39 'comments title', |
|
40 'twentyfifteen' |
|
41 ), |
|
42 number_format_i18n( $comments_number ), |
|
43 get_the_title() |
|
44 ); |
|
45 } |
30 ?> |
46 ?> |
31 </h2> |
47 </h2> |
32 |
48 |
33 <?php twentyfifteen_comment_nav(); ?> |
49 <?php twentyfifteen_comment_nav(); ?> |
34 |
50 |