Ticket #39660: 39660.diff
File 39660.diff, 7.0 KB (added by , 8 years ago) |
---|
-
twentyeleven/comments.php
31 31 <?php if ( have_comments() ) : ?> 32 32 <h2 id="comments-title"> 33 33 <?php 34 printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentyeleven' ), 35 number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' ); 34 $comments_number = get_comments_number(); 35 if ( '1' === $comments_number ) { 36 /* translators: %s: post title */ 37 printf( _x( 'One thought on “%s”', 'comments title', 'twentyeleven' ), '<span>' . get_the_title() . '</span>' ); 38 } else { 39 printf( 40 /* translators: 1: number of comments, 2: post title */ 41 _nx( 42 '%1$s thought on “%2$s”', 43 '%1$s thoughts on “%2$s”', 44 $comments_number, 45 'comments title', 46 'twentyeleven' 47 ), 48 number_format_i18n( $comments_number ), 49 '<span>' . get_the_title() . '</span>' 50 ); 51 } 36 52 ?> 37 53 </h2> 38 54 -
twentyfifteen/comments.php
25 25 <?php if ( have_comments() ) : ?> 26 26 <h2 class="comments-title"> 27 27 <?php 28 printf( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'twentyfifteen' ), 29 number_format_i18n( get_comments_number() ), get_the_title() ); 28 $comments_number = get_comments_number(); 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 47 </h2> 32 48 -
twentyfourteen/comments.php
24 24 25 25 <h2 class="comments-title"> 26 26 <?php 27 printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentyfourteen' ), 28 number_format_i18n( get_comments_number() ), get_the_title() ); 29 ?> 27 $comments_number = get_comments_number(); 28 if ( '1' === $comments_number ) { 29 /* translators: %s: post title */ 30 printf( _x( 'One thought on “%s”', 'comments title', 'twentyfourteen' ), get_the_title() ); 31 } else { 32 printf( 33 /* translators: 1: number of comments, 2: post title */ 34 _nx( 35 '%1$s thought on “%2$s”', 36 '%1$s thoughts on “%2$s”', 37 $comments_number, 38 'comments title', 39 'twentyfourteen' 40 ), 41 number_format_i18n( $comments_number ), 42 get_the_title() 43 ); 44 } 45 ?> 30 46 </h2> 31 47 32 48 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> -
twentyten/comments.php
32 32 ?> 33 33 34 34 <?php if ( have_comments() ) : ?> 35 <h3 id="comments-title"><?php 36 printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ), 37 number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' ); 38 ?></h3> 35 <h3 id="comments-title"> 36 <?php 37 $comments_number = get_comments_number(); 38 if ( '1' === $comments_number ) { 39 /* translators: %s: post title */ 40 printf( _x( 'One Response to “%s”', 'comments title', 'twentyten' ), '<em>' . get_the_title() . '</em>' ); 41 } else { 42 printf( 43 /* translators: 1: number of comments, 2: post title */ 44 _nx( 45 '%1$s Response to “%2$s”', 46 '%1$s Responses to “%2$s”', 47 $comments_number, 48 'comments title', 49 'twentyten' 50 ), 51 number_format_i18n( $comments_number ), 52 '<em>' . get_the_title() . '</em>' 53 ); 54 } 55 ?> 56 </h3> 39 57 40 58 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> 41 59 <div class="navigation"> -
twentythirteen/comments.php
22 22 <?php if ( have_comments() ) : ?> 23 23 <h2 class="comments-title"> 24 24 <?php 25 printf( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'twentythirteen' ), 26 number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' ); 25 $comments_number = get_comments_number(); 26 if ( '1' === $comments_number ) { 27 /* translators: %s: post title */ 28 printf( _x( 'One thought on “%s”', 'comments title', 'twentythirteen' ), '<span>' . get_the_title() . '</span>' ); 29 } else { 30 printf( 31 /* translators: 1: number of comments, 2: post title */ 32 _nx( 33 '%1$s thought on “%2$s”', 34 '%1$s thoughts on “%2$s”', 35 $comments_number, 36 'comments title', 37 'twentythirteen' 38 ), 39 number_format_i18n( $comments_number ), 40 '<span>' . get_the_title() . '</span>' 41 ); 42 } 27 43 ?> 28 44 </h2> 29 45 -
twentytwelve/comments.php
28 28 <?php if ( have_comments() ) : ?> 29 29 <h2 class="comments-title"> 30 30 <?php 31 printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentytwelve' ), 32 number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' ); 31 $comments_number = get_comments_number(); 32 if ( '1' === $comments_number ) { 33 /* translators: %s: post title */ 34 printf( _x( 'One thought on “%s”', 'comments title', 'twentytwelve' ), '<span>' . get_the_title() . '</span>' ); 35 } else { 36 printf( 37 /* translators: 1: number of comments, 2: post title */ 38 _nx( 39 '%1$s thought on “%2$s”', 40 '%1$s thoughts on “%2$s”', 41 $comments_number, 42 'comments title', 43 'twentytwelve' 44 ), 45 number_format_i18n( $comments_number ), 46 '<span>' . get_the_title() . '</span>' 47 ); 48 } 33 49 ?> 34 50 </h2> 35 51