X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/699231ae09f7057a4d0000cdf32e50a3df6a04ca..58f607a1de715c9bca69340a4d6fb9e1b9c2bed2:/wp-admin/edit-comments.php?ds=sidebyside 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 ) ) . ''; }