Make WordPress Core


Ignore:
Timestamp:
02/20/2009 07:35:16 PM (13 years ago)
Author:
ryan
Message:

Use _n(). Props nbachiyski. fixes #9111

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r10348 r10606  
    203203        case 'del_many':
    204204            $delete_count = isset($_GET['delete_count']) ? (int) $_GET['delete_count'] : 0;
    205             $messages[] = '<div id="message" class="updated fade"><p>' . sprintf(__ngettext('%s user deleted', '%s users deleted', $delete_count), $delete_count) . '</p></div>';
     205            $messages[] = '<div id="message" class="updated fade"><p>' . sprintf(_n('%s user deleted', '%s users deleted', $delete_count), $delete_count) . '</p></div>';
    206206            break;
    207207        case 'add':
     
    265265$current_role = false;
    266266$class = empty($role) ? ' class="current"' : '';
    267 $role_links[] = "<li><a href='users.php'$class>" . sprintf( __ngettext( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users ), number_format_i18n( $total_users ) ) . '</a>';
     267$role_links[] = "<li><a href='users.php'$class>" . sprintf( _n( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users ), number_format_i18n( $total_users ) ) . '</a>';
    268268foreach ( $wp_roles->get_names() as $this_role => $name ) {
    269269    if ( !isset($avail_roles[$this_role]) )
Note: See TracChangeset for help on using the changeset viewer.