- 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-plugin-install-list-table.php
r45926 r45932 500 500 $author = wp_kses( $plugin['author'], $plugins_allowedtags ); 501 501 if ( ! empty( $author ) ) { 502 /* translators: %s: plugin author*/502 /* translators: %s: Plugin author. */ 503 503 $author = ' <cite>' . sprintf( __( 'By %s' ), $author ) . '</cite>'; 504 504 } … … 524 524 esc_attr( $plugin['slug'] ), 525 525 esc_url( $status['url'] ), 526 /* translators: %s: plugin name and version*/526 /* translators: %s: Plugin name and version. */ 527 527 esc_attr( sprintf( __( 'Install %s now' ), $name ) ), 528 528 esc_attr( $name ), … … 546 546 esc_attr( $plugin['slug'] ), 547 547 esc_url( $status['url'] ), 548 /* translators: %s: plugin name and version*/548 /* translators: %s: Plugin name and version. */ 549 549 esc_attr( sprintf( __( 'Update %s now' ), $name ) ), 550 550 esc_attr( $name ), … … 569 569 } elseif ( current_user_can( 'activate_plugin', $status['file'] ) ) { 570 570 $button_text = __( 'Activate' ); 571 /* translators: %s: plugin name*/571 /* translators: %s: Plugin name. */ 572 572 $button_label = _x( 'Activate %s', 'plugin' ); 573 573 $activate_url = add_query_arg( … … 582 582 if ( is_network_admin() ) { 583 583 $button_text = __( 'Network Activate' ); 584 /* translators: %s: plugin name*/584 /* translators: %s: Plugin name. */ 585 585 $button_label = _x( 'Network Activate %s', 'plugin' ); 586 586 $activate_url = add_query_arg( array( 'networkwide' => 1 ), $activate_url ); … … 611 611 '<a href="%s" class="thickbox open-plugin-details-modal" aria-label="%s" data-title="%s">%s</a>', 612 612 esc_url( $details_link ), 613 /* translators: %s: plugin name and version*/613 /* translators: %s: Plugin name and version. */ 614 614 esc_attr( sprintf( __( 'More information about %s' ), $name ) ), 615 615 esc_attr( $name ), … … 647 647 if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) { 648 648 printf( 649 /* translators: 1: "Update WordPress" screen URL, 2: "Update PHP" page URL*/649 /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */ 650 650 ' ' . __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ), 651 651 self_admin_url( 'update-core.php' ), … … 655 655 } elseif ( current_user_can( 'update_core' ) ) { 656 656 printf( 657 /* translators: %s: "Update WordPress" screen URL*/657 /* translators: %s: URL to WordPress Updates screen. */ 658 658 ' ' . __( '<a href="%s">Please update WordPress</a>.' ), 659 659 self_admin_url( 'update-core.php' ) … … 661 661 } elseif ( current_user_can( 'update_php' ) ) { 662 662 printf( 663 /* translators: %s: "Update PHP" page URL*/663 /* translators: %s: URL to Update PHP page. */ 664 664 ' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ), 665 665 esc_url( wp_get_update_php_url() ) … … 671 671 if ( current_user_can( 'update_core' ) ) { 672 672 printf( 673 /* translators: %s: "Update WordPress" screen URL*/673 /* translators: %s: URL to WordPress Updates screen. */ 674 674 ' ' . __( '<a href="%s">Please update WordPress</a>.' ), 675 675 self_admin_url( 'update-core.php' ) … … 680 680 if ( current_user_can( 'update_php' ) ) { 681 681 printf( 682 /* translators: %s: "Update PHP" page URL*/682 /* translators: %s: URL to Update PHP page. */ 683 683 ' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ), 684 684 esc_url( wp_get_update_php_url() ) … … 727 727 <strong><?php _e( 'Last Updated:' ); ?></strong> 728 728 <?php 729 /* translators: %s: Human-readable time difference */729 /* translators: %s: Human-readable time difference. */ 730 730 printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) ); 731 731 ?> … … 736 736 $active_installs_millions = floor( $plugin['active_installs'] / 1000000 ); 737 737 $active_installs_text = sprintf( 738 /* translators: %s: number of millions*/738 /* translators: %s: Number of millions. */ 739 739 _nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ), 740 740 number_format_i18n( $active_installs_millions ) … … 745 745 $active_installs_text = number_format_i18n( $plugin['active_installs'] ) . '+'; 746 746 } 747 /* translators: %s: number of installations*/747 /* translators: %s: Number of installations. */ 748 748 printf( __( '%s Active Installations' ), $active_installs_text ); 749 749 ?>
Note: See TracChangeset
for help on using the changeset viewer.