Make WordPress Core


Ignore:
Timestamp:
09/05/2006 06:52:24 PM (18 years ago)
Author:
ryan
Message:

i18n fixes from nbachiyski. fixes #3109

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r4156 r4165  
    2626            }
    2727        }
    28         echo "<div class='updated'><p>$cnt comment";
    29         if ($cnt != 1 ) echo "s";
    30         echo " moved to the moderation queue.</p></div>\n";
     28        echo "<div class='updated'><p> ";
     29        printf(__('%d comment(s) moved to the moderation queue.'), $cnt);
     30        echo "</p></div>\n";
    3131    }   // End function move_spam
    3232
     
    5757        $numqueue = $counters[in_queue];
    5858
    59         $body = '<p>' . sprintf(__('Suspected spam comments: <strong>%s</strong>'), $numfound) . '</p>';
     59        $body = '<p>' . sprintf(__('Suspected spam comments: %s'), "<strong>$numfound</strong>") . '</p>';
    6060
    6161        if ( count($counters[found]) > 0 ) {
Note: See TracChangeset for help on using the changeset viewer.