WordPress.org

Make WordPress Core

Ticket #5164: plurals-comments-unification.diff

File plurals-comments-unification.diff, 1.6 KB (added by nbachiyski, 11 years ago)
  • wp-admin/moderation.php

     
    8282                echo '<div id="moderated" class="updated fade"><p>';
    8383
    8484                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 );
    8686                        echo '<br />';
    8787                }
    8888
    8989                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 );
    9191                        echo '<br />';
    9292                }
    9393
     
    223223                </script>
    224224        </form>
    225225</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

     
    6868        endforeach;
    6969        echo '<div style="background-color: rgb(207, 235, 247);" id="message" class="updated fade"><p>';
    7070        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);
    7272        } else {
    73                 printf(__ngettext('%s comment deleted.', '%s comments deleted.', $i), $i);
     73                printf(__ngettext('%s comment deleted', '%s comments deleted', $i), $i);
    7474        }
    7575        echo '</p></div>';
    7676endif;