- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r45926 r45932 283 283 $posts_columns = array(); 284 284 $posts_columns['cb'] = '<input type="checkbox" />'; 285 /* translators: column name*/285 /* translators: Column name. */ 286 286 $posts_columns['title'] = _x( 'File', 'column name' ); 287 287 $posts_columns['author'] = __( 'Author' ); … … 312 312 } 313 313 314 /* translators: column name*/314 /* translators: Column name. */ 315 315 if ( ! $this->detached ) { 316 316 $posts_columns['parent'] = _x( 'Uploaded to', 'column name' ); … … 319 319 } 320 320 } 321 /* translators: column name*/321 /* translators: Column name. */ 322 322 $posts_columns['date'] = _x( 'Date', 'column name' ); 323 323 /** … … 358 358 <label class="screen-reader-text" for="cb-select-<?php echo $post->ID; ?>"> 359 359 <?php 360 /* translators: %s: attachment title*/360 /* translators: %s: Attachment title. */ 361 361 printf( __( 'Select %s' ), _draft_or_post_title() ); 362 362 ?> … … 386 386 '<a href="%s" aria-label="%s">', 387 387 get_edit_post_link( $post->ID ), 388 /* translators: %s: attachment title*/388 /* translators: %s: Attachment title. */ 389 389 esc_attr( sprintf( __( '“%s” (Edit)' ), $title ) ) 390 390 ); … … 458 458 if ( ( abs( $t_diff ) ) < DAY_IN_SECONDS ) { 459 459 if ( $t_diff < 0 ) { 460 /* translators: %s: Human-readable time difference */460 /* translators: %s: Human-readable time difference. */ 461 461 $h_time = sprintf( __( '%s from now' ), human_time_diff( $time ) ); 462 462 } else { 463 /* translators: %s: Human-readable time difference */463 /* translators: %s: Human-readable time difference. */ 464 464 $h_time = sprintf( __( '%s ago' ), human_time_diff( $time ) ); 465 465 } … … 517 517 '<br /><a href="%s" class="hide-if-no-js detach-from-parent" aria-label="%s">%s</a>', 518 518 $detach_url, 519 /* translators: %s: title of the post the attachment is attached to*/519 /* translators: %s: Title of the post the attachment is attached to. */ 520 520 esc_attr( sprintf( __( 'Detach from “%s”' ), $title ) ), 521 521 __( 'Detach' ) … … 531 531 '<br /><a href="#the-list" onclick="findPosts.open( \'media[]\', \'%s\' ); return false;" class="hide-if-no-js aria-button-if-js" aria-label="%s">%s</a>', 532 532 $post->ID, 533 /* translators: %s: attachment title*/533 /* translators: %s: Attachment title. */ 534 534 esc_attr( sprintf( __( 'Attach “%s” to existing content' ), $title ) ), 535 535 __( 'Attach' ) … … 594 594 ); 595 595 } 596 /* translators: used between list items, there is a space after the comma*/596 /* translators: Used between list items, there is a space after the comma. */ 597 597 echo join( __( ', ' ), $out ); 598 598 } else { … … 671 671 '<a href="%s" aria-label="%s">%s</a>', 672 672 get_edit_post_link( $post->ID ), 673 /* translators: %s: attachment title*/673 /* translators: %s: Attachment title. */ 674 674 esc_attr( sprintf( __( 'Edit “%s”' ), $att_title ) ), 675 675 __( 'Edit' ) … … 681 681 '<a href="%s" class="submitdelete aria-button-if-js" aria-label="%s">%s</a>', 682 682 wp_nonce_url( "post.php?action=trash&post=$post->ID", 'trash-post_' . $post->ID ), 683 /* translators: %s: attachment title*/683 /* translators: %s: Attachment title. */ 684 684 esc_attr( sprintf( __( 'Move “%s” to the Trash' ), $att_title ) ), 685 685 _x( 'Trash', 'verb' ) … … 691 691 wp_nonce_url( "post.php?action=delete&post=$post->ID", 'delete-post_' . $post->ID ), 692 692 $delete_ays, 693 /* translators: %s: attachment title*/693 /* translators: %s: Attachment title. */ 694 694 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $att_title ) ), 695 695 __( 'Delete Permanently' ) … … 700 700 '<a href="%s" aria-label="%s" rel="bookmark">%s</a>', 701 701 get_permalink( $post->ID ), 702 /* translators: %s: attachment title*/702 /* translators: %s: Attachment title. */ 703 703 esc_attr( sprintf( __( 'View “%s”' ), $att_title ) ), 704 704 __( 'View' ) … … 709 709 '<a href="#the-list" onclick="findPosts.open( \'media[]\', \'%s\' ); return false;" class="hide-if-no-js aria-button-if-js" aria-label="%s">%s</a>', 710 710 $post->ID, 711 /* translators: %s: attachment title*/711 /* translators: %s: Attachment title. */ 712 712 esc_attr( sprintf( __( 'Attach “%s” to existing content' ), $att_title ) ), 713 713 __( 'Attach' ) … … 719 719 '<a href="%s" aria-label="%s">%s</a>', 720 720 get_edit_post_link( $post->ID ), 721 /* translators: %s: attachment title*/721 /* translators: %s: Attachment title. */ 722 722 esc_attr( sprintf( __( 'Edit “%s”' ), $att_title ) ), 723 723 __( 'Edit' ) … … 729 729 '<a href="%s" class="submitdelete aria-button-if-js" aria-label="%s">%s</a>', 730 730 wp_nonce_url( "post.php?action=untrash&post=$post->ID", 'untrash-post_' . $post->ID ), 731 /* translators: %s: attachment title*/731 /* translators: %s: Attachment title. */ 732 732 esc_attr( sprintf( __( 'Restore “%s” from the Trash' ), $att_title ) ), 733 733 __( 'Restore' ) … … 737 737 '<a href="%s" class="submitdelete aria-button-if-js" aria-label="%s">%s</a>', 738 738 wp_nonce_url( "post.php?action=trash&post=$post->ID", 'trash-post_' . $post->ID ), 739 /* translators: %s: attachment title*/739 /* translators: %s: Attachment title. */ 740 740 esc_attr( sprintf( __( 'Move “%s” to the Trash' ), $att_title ) ), 741 741 _x( 'Trash', 'verb' ) … … 748 748 wp_nonce_url( "post.php?action=delete&post=$post->ID", 'delete-post_' . $post->ID ), 749 749 $delete_ays, 750 /* translators: %s: attachment title*/750 /* translators: %s: Attachment title. */ 751 751 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $att_title ) ), 752 752 __( 'Delete Permanently' ) … … 758 758 '<a href="%s" aria-label="%s" rel="bookmark">%s</a>', 759 759 get_permalink( $post->ID ), 760 /* translators: %s: attachment title*/760 /* translators: %s: Attachment title. */ 761 761 esc_attr( sprintf( __( 'View “%s”' ), $att_title ) ), 762 762 __( 'View' )
Note: See TracChangeset
for help on using the changeset viewer.