Changeset 44541
- Timestamp:
- 01/10/2019 10:45:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r44525 r44541 349 349 $s = esc_html( wp_unslash( $_REQUEST['s'] ) ); 350 350 351 /* translators: %s: plugin search term */ 351 352 printf( __( 'No plugins found for “%s”.' ), $s ); 352 353 … … 429 430 switch ( $type ) { 430 431 case 'all': 432 /* translators: %s: plugin count */ 431 433 $text = _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $count, 'plugins' ); 432 434 break; 433 435 case 'active': 436 /* translators: %s: plugin count */ 434 437 $text = _n( 'Active <span class="count">(%s)</span>', 'Active <span class="count">(%s)</span>', $count ); 435 438 break; 436 439 case 'recently_activated': 440 /* translators: %s: plugin count */ 437 441 $text = _n( 'Recently Active <span class="count">(%s)</span>', 'Recently Active <span class="count">(%s)</span>', $count ); 438 442 break; 439 443 case 'inactive': 444 /* translators: %s: plugin count */ 440 445 $text = _n( 'Inactive <span class="count">(%s)</span>', 'Inactive <span class="count">(%s)</span>', $count ); 441 446 break; 442 447 case 'mustuse': 448 /* translators: %s: plugin count */ 443 449 $text = _n( 'Must-Use <span class="count">(%s)</span>', 'Must-Use <span class="count">(%s)</span>', $count ); 444 450 break; 445 451 case 'dropins': 452 /* translators: %s: plugin count */ 446 453 $text = _n( 'Drop-ins <span class="count">(%s)</span>', 'Drop-ins <span class="count">(%s)</span>', $count ); 447 454 break; … … 451 458 break; 452 459 case 'upgrade': 460 /* translators: %s: plugin count */ 453 461 $text = _n( 'Update Available <span class="count">(%s)</span>', 'Update Available <span class="count">(%s)</span>', $count ); 454 462 break; … … 527 535 submit_button( __( 'Clear List' ), '', 'clear-recent-list', false ); 528 536 } elseif ( 'top' === $which && 'mustuse' === $status ) { 529 /* translators: %s: mu-plugins directory name */530 537 echo '<p>' . sprintf( 538 /* translators: %s: mu-plugins directory name */ 531 539 __( 'Files in the %s directory are executed automatically.' ), 532 540 '<code>' . str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) . '</code>' 533 541 ) . '</p>'; 534 542 } elseif ( 'top' === $which && 'dropins' === $status ) { 535 /* translators: %s: wp-content directory name */536 543 echo '<p>' . sprintf( 544 /* translators: %s: wp-content directory name */ 537 545 __( 'Drop-ins are advanced plugins in the %s directory that replace WordPress functionality when present.' ), 538 546 '<code>' . str_replace( ABSPATH, '', WP_CONTENT_DIR ) . '</code>' … … 612 620 $is_active = false; 613 621 $description = '<p><strong>' . $dropins[ $plugin_file ][0] . ' <span class="error-message">' . __( 'Inactive:' ) . '</span></strong> ' . 614 /* translators: 1: drop-in constant name, 2: wp-config.php */615 622 sprintf( 623 /* translators: 1: drop-in constant name, 2: wp-config.php */ 616 624 __( 'Requires %1$s in %2$s file.' ), 617 625 "<code>define('" . $dropins[ $plugin_file ][1] . "', true);</code>", … … 771 779 $checkbox = ''; 772 780 } else { 781 /* translators: %s: plugin name */ 773 782 $checkbox = "<label class='screen-reader-text' for='" . $checkbox_id . "' >" . sprintf( __( 'Select %s' ), $plugin_data['Name'] ) . '</label>' 774 783 . "<input type='checkbox' name='checked[]' value='" . esc_attr( $plugin_file ) . "' id='" . $checkbox_id . "' />"; … … 823 832 $plugin_meta = array(); 824 833 if ( ! empty( $plugin_data['Version'] ) ) { 834 /* translators: %s: plugin version number */ 825 835 $plugin_meta[] = sprintf( __( 'Version %s' ), $plugin_data['Version'] ); 826 836 } … … 830 840 $author = '<a href="' . $plugin_data['AuthorURI'] . '">' . $plugin_data['Author'] . '</a>'; 831 841 } 842 /* translators: %s: plugin version number */ 832 843 $plugin_meta[] = sprintf( __( 'By %s' ), $author ); 833 844 } … … 843 854 ) 844 855 ), 856 /* translators: %s: plugin name */ 845 857 esc_attr( sprintf( __( 'More information about %s' ), $plugin_name ) ), 846 858 esc_attr( $plugin_name ),
Note: See TracChangeset
for help on using the changeset viewer.