X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4f9d63e13cd8c6e275797c75b401b074b82937bc..2376fb745f4ae8c6bd2353127524e0b28005143d:/wp-admin/edit-comments.php diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 7f11bef4..fe4f3ead 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -239,8 +239,12 @@ foreach ( $stati as $status => $label ) { if ( !empty( $_GET['s'] ) ) $link = add_query_arg( 's', esc_attr( stripslashes( $_GET['s'] ) ), $link ); */ - $status_links[] = "
  • " . sprintf( - _n( $label[0], $label[1], $num_comments->$status ), + if ( isset( $label[2] ) ) + $translated_label = _nx( $label[0], $label[1], $num_comments->$status, $label[2] ); + else + $translated_label = _n( $label[0], $label[1], $num_comments->$status ); + $status_links[] = "
  • " . sprintf( + $translated_label, number_format_i18n( $num_comments->$status ) ) . ''; }