Make WordPress Core


Ignore:
Timestamp:
03/19/2008 04:00:09 PM (18 years ago)
Author:
ryan
Message:

ngettext fixes from nbachiyski. fixes #6261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r7344 r7397  
    9898$status_links = array();
    9999$num_comments = wp_count_comments();
    100 $stati = array('moderated' => sprintf(__('Awaiting Moderation (%s)'), "<span class='comment-count'>$num_comments->moderated</span>"), 'approved' => __('Approved'));
     100$stati = array('moderated' => sprintf(__ngettext('Awaiting Moderation (%s)', 'Awaiting Moderation (%s)', $num_comments->moderated), "<span class='comment-count'>$num_comments->moderated</span>"), 'approved' => _c('Approved|plural'));
    101101$class = ( '' === $comment_status ) ? ' class="current"' : '';
    102102$status_links[] = "<li><a href=\"edit-comments.php\"$class>".__('Show All Comments')."</a>";
Note: See TracChangeset for help on using the changeset viewer.