Changeset 5844
- Timestamp:
- 08/29/2017 04:29:15 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/comments.php
r1024 r5844 20 20 <h3 id="comments"> 21 21 <?php 22 printf( _nx( 'One response on “%2$s”', '%1$s responses on “%2$s”', get_comments_number(), 'comments title', 'wptv' ), 23 number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' ); 22 $comments_number = get_comments_number(); 23 if ( 1 == $comments_number ) { 24 /* translators: %s: post title */ 25 printf( _x( 'One response on “%2$s”', 'comments title', 'wptv' ), '<span>' . get_the_title() . '</span>' ); 26 } else { 27 printf( 28 /* translators: 1: number of comments, 2: post title */ 29 _nx( 30 '%1$s response on “%2$s”', 31 '%1$s responses on “%2$s”', 32 $comments_number, 33 'comments title', 34 'wptv' 35 ), 36 number_format_i18n( $comments_number ), 37 '<span>' . get_the_title() . '</span>' 38 ); 39 } 24 40 ?> 25 41 </h3>
Note: See TracChangeset
for help on using the changeset viewer.