- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r45905 r45926 430 430 switch ( $type ) { 431 431 case 'all': 432 /* translators: %s: plugin count */ 433 $text = _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $count, 'plugins' ); 432 /* translators: %s: number of plugins */ 433 $text = _nx( 434 'All <span class="count">(%s)</span>', 435 'All <span class="count">(%s)</span>', 436 $count, 437 'plugins' 438 ); 434 439 break; 435 440 case 'active': 436 /* translators: %s: plugin count */ 437 $text = _n( 'Active <span class="count">(%s)</span>', 'Active <span class="count">(%s)</span>', $count ); 441 /* translators: %s: number of plugins */ 442 $text = _n( 443 'Active <span class="count">(%s)</span>', 444 'Active <span class="count">(%s)</span>', 445 $count 446 ); 438 447 break; 439 448 case 'recently_activated': 440 /* translators: %s: plugin count */ 441 $text = _n( 'Recently Active <span class="count">(%s)</span>', 'Recently Active <span class="count">(%s)</span>', $count ); 449 /* translators: %s: number of plugins */ 450 $text = _n( 451 'Recently Active <span class="count">(%s)</span>', 452 'Recently Active <span class="count">(%s)</span>', 453 $count 454 ); 442 455 break; 443 456 case 'inactive': 444 /* translators: %s: plugin count */ 445 $text = _n( 'Inactive <span class="count">(%s)</span>', 'Inactive <span class="count">(%s)</span>', $count ); 457 /* translators: %s: number of plugins */ 458 $text = _n( 459 'Inactive <span class="count">(%s)</span>', 460 'Inactive <span class="count">(%s)</span>', 461 $count 462 ); 446 463 break; 447 464 case 'mustuse': 448 /* translators: %s: plugin count */ 449 $text = _n( 'Must-Use <span class="count">(%s)</span>', 'Must-Use <span class="count">(%s)</span>', $count ); 465 /* translators: %s: number of plugins */ 466 $text = _n( 467 'Must-Use <span class="count">(%s)</span>', 468 'Must-Use <span class="count">(%s)</span>', 469 $count 470 ); 450 471 break; 451 472 case 'dropins': 452 /* translators: %s: plugin count */ 453 $text = _n( 'Drop-in <span class="count">(%s)</span>', 'Drop-ins <span class="count">(%s)</span>', $count ); 473 /* translators: %s: number of plugins */ 474 $text = _n( 475 'Drop-in <span class="count">(%s)</span>', 476 'Drop-ins <span class="count">(%s)</span>', 477 $count 478 ); 454 479 break; 455 480 case 'paused': 456 /* translators: %s: plugin count */ 457 $text = _n( 'Paused <span class="count">(%s)</span>', 'Paused <span class="count">(%s)</span>', $count ); 481 /* translators: %s: number of plugins */ 482 $text = _n( 483 'Paused <span class="count">(%s)</span>', 484 'Paused <span class="count">(%s)</span>', 485 $count 486 ); 458 487 break; 459 488 case 'upgrade': 460 /* translators: %s: plugin count */ 461 $text = _n( 'Update Available <span class="count">(%s)</span>', 'Update Available <span class="count">(%s)</span>', $count ); 489 /* translators: %s: number of plugins */ 490 $text = _n( 491 'Update Available <span class="count">(%s)</span>', 492 'Update Available <span class="count">(%s)</span>', 493 $count 494 ); 462 495 break; 463 496 } … … 769 802 $checkbox = ''; 770 803 } else { 771 /* translators: %s: plugin name */ 772 $checkbox = "<label class='screen-reader-text' for='" . $checkbox_id . "' >" . sprintf( __( 'Select %s' ), $plugin_data['Name'] ) . '</label>' 773 . "<input type='checkbox' name='checked[]' value='" . esc_attr( $plugin_file ) . "' id='" . $checkbox_id . "' />"; 804 $checkbox = sprintf( 805 '<label class="screen-reader-text" for="%1$s">%2$s</label>' . 806 '<input type="checkbox" name="checked[]" value="%3$s" id="%1$s" />', 807 $checkbox_id, 808 /* translators: %s: plugin name */ 809 sprintf( __( 'Select %s' ), $plugin_data['Name'] ), 810 esc_attr( $plugin_file ) 811 ); 774 812 } 775 813 if ( 'dropins' != $context ) {
Note: See TracChangeset
for help on using the changeset viewer.