Make WordPress Core

Ticket #44360: 44360.class-wp-users-list-table.php.diff

File 44360.class-wp-users-list-table.php.diff, 812 bytes (added by garrett-eclipse, 6 years ago)

Adds translator comments to class-wp-users-list-table.php similar to those done by @FesoVik on class-wp-ms-users-list-table.php

  • src/wp-admin/includes/class-wp-users-list-table.php

     
    194194                $current_link_attributes = empty( $role ) ? ' class="current" aria-current="page"' : '';
    195195
    196196                $role_links        = array();
     197                /* translators: %s: Total Number of Users */
    197198                $role_links['all'] = "<a href='$url'$current_link_attributes>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users, 'users' ), number_format_i18n( $total_users ) ) . '</a>';
    198199                foreach ( $wp_roles->get_names() as $this_role => $name ) {
    199200                        if ( ! isset( $avail_roles[ $this_role ] ) ) {