Make WordPress Core


Ignore:
Timestamp:
12/12/2005 10:48:30 PM (21 years ago)
Author:
ryan
Message:

i18n updates from nbachiyski. fixes #2069

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/moderation.php

    r3055 r3295  
    3333
    3434    if ( ! current_user_can('moderate_comments') )
    35         die(__('<p>Your level is not high enough to moderate comments.</p>'));
     35    die('<p>'.__('Your level is not high enough to moderate comments.').'</p>');
    3636
    3737    $item_ignored = 0;
     
    8585    if ($approved) {
    8686        if ('1' == $approved) {
    87          echo __("1 comment approved <br />") . "\n";
     87            echo __("1 comment approved") . " <br/>\n";
    8888        } else {
    8989         echo sprintf(__("%s comments approved <br />"), $approved) . "\n";
     
    9292    if ($deleted) {
    9393        if ('1' == $deleted) {
    94         echo __("1 comment deleted <br />") . "\n";
    95         } else {
    96         echo sprintf(__("%s comments deleted <br />"), $deleted) . "\n";
     94            echo __("1 comment deleted") . " <br/>\n";
     95        } else {
     96            echo sprintf(__("%s comments deleted"), $deleted) . " <br/>\n";
    9797        }
    9898    }
    9999    if ($spam) {
    100100        if ('1' == $spam) {
    101         echo __("1 comment marked as spam <br />") . "\n";
     101            echo __("1 comment marked as spam") . " <br/>\n";
    102102        } else {
    103         echo sprintf(__("%s comments marked as spam <br />"), $spam) . "\n";
     103            echo sprintf(__("%s comments marked as spam"), $spam) . " <br/>\n";
    104104        }
    105105    }
    106106    if ($ignored) {
    107107        if ('1' == $ignored) {
    108         echo __("1 comment unchanged <br />") . "\n";
    109         } else {
    110         echo sprintf(__("%s comments unchanged <br />"), $ignored) . "\n";
     108            echo __("1 comment unchanged") . " <br/>\n";
     109        } else {
     110            echo sprintf(__("%s comments unchanged"), $ignored) . " <br/>\n";
    111111        }
    112112    }
     
    207207} else {
    208208    // nothing to approve
    209     echo __("<p>Currently there are no comments for you to moderate.</p>") . "\n";
     209    echo '<p>'.__("Currently there are no comments for you to moderate.") . "</p>\n";
    210210}
    211211?>
Note: See TracChangeset for help on using the changeset viewer.