Ticket #5164: plurals-comments-unification.diff
| File plurals-comments-unification.diff, 1.6 KB (added by , 19 years ago) |
|---|
-
wp-admin/moderation.php
82 82 echo '<div id="moderated" class="updated fade"><p>'; 83 83 84 84 if ( $approved > 0 ) { 85 printf( __ngettext( '%s comment approved .', '%s comments approved.', $approved ), $approved );85 printf( __ngettext( '%s comment approved', '%s comments approved', $approved ), $approved ); 86 86 echo '<br />'; 87 87 } 88 88 89 89 if ( $deleted > 0 ) { 90 printf( __ngettext( '%s comment deleted', '%s comments deleted .', $deleted ), $deleted );90 printf( __ngettext( '%s comment deleted', '%s comments deleted', $deleted ), $deleted ); 91 91 echo '<br />'; 92 92 } 93 93 … … 223 223 </script> 224 224 </form> 225 225 </div> 226 <?php include_once './admin-footer.php'; ?> 227 No newline at end of file 226 <?php include_once './admin-footer.php'; ?> -
wp-admin/edit-comments.php
68 68 endforeach; 69 69 echo '<div style="background-color: rgb(207, 235, 247);" id="message" class="updated fade"><p>'; 70 70 if ( !empty( $_POST['spam_button'] ) ) { 71 printf(__ngettext('%s comment marked as spam', '%s comments marked as spam .', $i), $i);71 printf(__ngettext('%s comment marked as spam', '%s comments marked as spam', $i), $i); 72 72 } else { 73 printf(__ngettext('%s comment deleted .', '%s comments deleted.', $i), $i);73 printf(__ngettext('%s comment deleted', '%s comments deleted', $i), $i); 74 74 } 75 75 echo '</p></div>'; 76 76 endif;