Changeset 4658 for trunk/wp-admin/moderation.php
- Timestamp:
- 12/21/2006 11:06:18 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/moderation.php
r4655 r4658 73 73 $spam = (int) $_GET['spam']; 74 74 if ($approved) { 75 if ('1' == $approved) { 76 echo __("1 comment approved") . " <br/>\n"; 77 } else { 78 echo sprintf(__("%s comments approved <br />"), $approved) . "\n"; 79 } 75 printf(__ngettext('%s comment approved', '%s comments approved', $approved), $approved); 76 echo "<br/>\n"; 80 77 } 81 78 if ($deleted) { 82 if ('1' == $deleted) { 83 echo __("1 comment deleted") . " <br/>\n"; 84 } else { 85 echo sprintf(__("%s comments deleted"), $deleted) . " <br/>\n"; 86 } 79 printf(__ngettext('%s comment deleted', '%s comments deleted', $deleted), $deleted); 80 echo "<br/>\n"; 87 81 } 88 82 if ($spam) { 89 if ('1' == $spam) { 90 echo __("1 comment marked as spam") . " <br/>\n"; 91 } else { 92 echo sprintf(__("%s comments marked as spam"), $spam) . " <br/>\n"; 93 } 83 printf(__ngettext('%s comment marked as spam', '%s comments marked as spam', $spam), $spam); 84 echo "<br/>\n"; 94 85 } 95 86 if ($ignored) { 96 if ('1' == $ignored) { 97 echo __("1 comment unchanged") . " <br/>\n"; 98 } else { 99 echo sprintf(__("%s comments unchanged"), $ignored) . " <br/>\n"; 100 } 87 printf(__ngettext('%s comment unchanged', '%s comments unchanged', $ignored), $ignored); 88 echo "<br/>\n"; 101 89 } 102 90 echo "</p></div>\n";
Note: See TracChangeset
for help on using the changeset viewer.