]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/edit-comments.php
Wordpress 3.0.6
[autoinstalls/wordpress.git] / wp-admin / edit-comments.php
index 7f11bef4827b57689863defd6e8c3430674f3a6d..fe4f3eadf53b4bf4dc93a11853efd135c02ef8ba 100644 (file)
@@ -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[] = "<li class='$status'><a href='$link'$class>" . 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[] = "<li class='$status'><a href='$link'$class>" . sprintf( 
+               $translated_label,
                number_format_i18n( $num_comments->$status )
        ) . '</a>';
 }