Changeset 45932 for trunk/src/wp-content/themes/twentytwelve/functions.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/functions.php
r45768 r45932 146 146 $font_url = ''; 147 147 148 /* translators: If there are characters in your language that are not supported 148 /* 149 * translators: If there are characters in your language that are not supported 149 150 * by Open Sans, translate this to 'off'. Do not translate into your own language. 150 151 */ … … 152 153 $subsets = 'latin,latin-ext'; 153 154 154 /* translators: To add an additional Open Sans character subset specific to your language, 155 /* 156 * translators: To add an additional Open Sans character subset specific to your language, 155 157 * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. 156 158 */ … … 309 311 // Add a page number if necessary. 310 312 if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { 311 /* translators: %s: page number*/313 /* translators: %s: Page number. */ 312 314 $title = "$title $sep " . sprintf( __( 'Page %s', 'twentytwelve' ), max( $paged, $page ) ); 313 315 } … … 439 441 esc_url( get_comment_link( $comment->comment_ID ) ), 440 442 get_comment_time( 'c' ), 441 /* translators: 1: date, 2: time*/443 /* translators: 1: Date, 2: Time. */ 442 444 sprintf( __( '%1$s at %2$s', 'twentytwelve' ), get_comment_date(), get_comment_time() ) 443 445 ); … … 487 489 */ 488 490 function twentytwelve_entry_meta() { 489 / / Translators: used between list items, there is a space after the comma.491 /* translators: Used between list items, there is a space after the comma. */ 490 492 $categories_list = get_the_category_list( __( ', ', 'twentytwelve' ) ); 491 493 492 / / Translators: used between list items, there is a space after the comma.494 /* translators: Used between list items, there is a space after the comma. */ 493 495 $tag_list = get_the_tag_list( '', __( ', ', 'twentytwelve' ) ); 494 496 … … 504 506 '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', 505 507 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 506 /* translators: %s: author display name*/508 /* translators: %s: Author display name. */ 507 509 esc_attr( sprintf( __( 'View all posts by %s', 'twentytwelve' ), get_the_author() ) ), 508 510 get_the_author() … … 510 512 511 513 if ( $tag_list ) { 512 /* translators: 1: category name, 2: tag name, 3: date, 4: author display name*/514 /* translators: 1: Category name, 2: Tag name, 3: Date, 4: Author display name. */ 513 515 $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 514 516 } elseif ( $categories_list ) { 515 /* translators: 1: category name, 3: date, 4: author display name*/517 /* translators: 1: Category name, 3: Date, 4: Author display name. */ 516 518 $utility_text = __( 'This entry was posted in %1$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 517 519 } else { 518 /* translators: 3: date, 4: author display name*/520 /* translators: 3: Date, 4: Author display name. */ 519 521 $utility_text = __( 'This entry was posted on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 520 522 }
Note: See TracChangeset
for help on using the changeset viewer.