Changeset 31389
- Timestamp:
- 02/09/2015 08:14:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r31388 r31389 1278 1278 $title = get_the_title(); 1279 1279 $span_close = '</span>'; 1280 1280 1281 1281 $number = get_comments_number( $id ); 1282 1283 if ( false === $zero ) $zero = sprintf( __( 'No Comments%1$s on %2$s%3$s' ), $span, $title, $span_close ); 1284 if ( false === $one ) $one = sprintf( __( '1 Comment%1$s on %2$s%3$s' ), $span, $title, $span_close ); 1285 if ( false === $more ) $more = sprintf( __( '%4$d Comments%1$s on %2$s%3$s' ), $span, $title, $span_close, $number ); 1286 if ( false === $none ) $none = sprintf( __( 'Comments Off%1$s on %2$s%3$s' ), $span, $title, $span_close ); 1282 1283 if ( false === $zero ) { 1284 /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */ 1285 $zero = sprintf( __( 'No Comments%1$s on %2$s%3$s' ), $span, $title, $span_close ); 1286 } 1287 if ( false === $one ) { 1288 /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */ 1289 $one = sprintf( __( '1 Comment%1$s on %2$s%3$s' ), $span, $title, $span_close ); 1290 } 1291 if ( false === $more ) { 1292 /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag, 4: number of comments */ 1293 $more = sprintf( __( '%4$d Comments%1$s on %2$s%3$s' ), $span, $title, $span_close, $number ); 1294 } 1295 if ( false === $none ) { 1296 /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */ 1297 $none = sprintf( __( 'Comments Off%1$s on %2$s%3$s' ), $span, $title, $span_close ); 1298 } 1287 1299 1288 1300 if ( 0 == $number && !comments_open() && !pings_open() ) {
Note: See TracChangeset
for help on using the changeset viewer.