Changeset 3295 for trunk/wp-admin/moderation.php
- Timestamp:
- 12/12/2005 10:48:30 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/moderation.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/moderation.php
r3055 r3295 33 33 34 34 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>'); 36 36 37 37 $item_ignored = 0; … … 85 85 if ($approved) { 86 86 if ('1' == $approved) { 87 echo __("1 comment approved <br />") . "\n";87 echo __("1 comment approved") . " <br/>\n"; 88 88 } else { 89 89 echo sprintf(__("%s comments approved <br />"), $approved) . "\n"; … … 92 92 if ($deleted) { 93 93 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"; 97 97 } 98 98 } 99 99 if ($spam) { 100 100 if ('1' == $spam) { 101 echo __("1 comment marked as spam <br />") . "\n";101 echo __("1 comment marked as spam") . " <br/>\n"; 102 102 } else { 103 echo sprintf(__("%s comments marked as spam <br />"), $spam) . "\n";103 echo sprintf(__("%s comments marked as spam"), $spam) . " <br/>\n"; 104 104 } 105 105 } 106 106 if ($ignored) { 107 107 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"; 111 111 } 112 112 } … … 207 207 } else { 208 208 // 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"; 210 210 } 211 211 ?>
Note: See TracChangeset
for help on using the changeset viewer.