From e30516b2ee40c1c45c8f288c20a3d4372e478624 Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 8 Sep 2006 10:57:32 +0000 Subject: WP Merge to #4124 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@734 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/classes.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'wp-includes/classes.php') diff --git a/wp-includes/classes.php b/wp-includes/classes.php index bf6caba..3c1db01 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -25,9 +25,9 @@ class retrospam_mgr { $cnt++; } } - echo "

$cnt comment"; - if ($cnt != 1 ) echo "s"; - echo " moved to the moderation queue.

\n"; + echo "

"; + printf(__('%d comment(s) moved to the moderation queue.'), $cnt); + echo "

\n"; } // End function move_spam function find_spam() { @@ -56,7 +56,7 @@ class retrospam_mgr { $numfound = count($counters[found]); $numqueue = $counters[in_queue]; - $body = '

' . sprintf(__('Suspected spam comments: %s'), $numfound) . '

'; + $body = '

' . sprintf(__('Suspected spam comments: %s'), "$numfound") . '

'; if ( count($counters[found]) > 0 ) { $id_list = implode( ',', $counters[found] ); @@ -696,7 +696,7 @@ class Walker_CategoryDropdown extends Walker { if ( $category->cat_ID == $args['selected'] ) $output .= ' selected="selected"'; $output .= '>'; - $output .= $cat_name; + $output .= $pad.$cat_name; if ( $args['show_count'] ) $output .= '  ('. $category->category_count .')'; if ( $args['show_last_update'] ) { -- cgit