Make WordPress Core

Ticket #25568: 25568.diff

File 25568.diff, 2.6 KB (added by Nao, 12 years ago)
  • wp-admin/edit.php

     
    234234
    235235$bulk_messages = array();
    236236$bulk_messages['post'] = array(
    237         'updated'   => _n( '%s post updated.', '%s posts updated.', $bulk_counts['updated'] ),
    238         'locked'    => _n( '%s post not updated, somebody is editing it.', '%s posts not updated, somebody is editing them.', $bulk_counts['locked'] ),
    239         'deleted'   => _n( '%s post permanently deleted.', '%s posts permanently deleted.', $bulk_counts['deleted'] ),
    240         'trashed'   => _n( '%s post moved to the Trash.', '%s posts moved to the Trash.', $bulk_counts['trashed'] ),
    241         'untrashed' => _n( '%s post restored from the Trash.', '%s posts restored from the Trash.', $bulk_counts['untrashed'] ),
     237        'updated'   => _n( '%d post updated.', '%d posts updated.', $bulk_counts['updated'] ),
     238        'locked'    => _n( '%d post not updated, somebody is editing it.', '%d posts not updated, somebody is editing them.', $bulk_counts['locked'] ),
     239        'deleted'   => _n( '%d post permanently deleted.', '%d posts permanently deleted.', $bulk_counts['deleted'] ),
     240        'trashed'   => _n( '%d post moved to the Trash.', '%d posts moved to the Trash.', $bulk_counts['trashed'] ),
     241        'untrashed' => _n( '%d post restored from the Trash.', '%d posts restored from the Trash.', $bulk_counts['untrashed'] ),
    242242);
    243243$bulk_messages['page'] = array(
    244         'updated'   => _n( '%s page updated.', '%s pages updated.', $bulk_counts['updated'] ),
    245         'locked'    => _n( '%s page not updated, somebody is editing it.', '%s pages not updated, somebody is editing them.', $bulk_counts['locked'] ),
    246         'deleted'   => _n( '%s page permanently deleted.', '%s pages permanently deleted.', $bulk_counts['deleted'] ),
    247         'trashed'   => _n( '%s page moved to the Trash.', '%s pages moved to the Trash.', $bulk_counts['trashed'] ),
    248         'untrashed' => _n( '%s page restored from the Trash.', '%s pages restored from the Trash.', $bulk_counts['untrashed'] ),
     244        'updated'   => _n( '%d page updated.', '%d pages updated.', $bulk_counts['updated'] ),
     245        'locked'    => _n( '%d page not updated, somebody is editing it.', '%d pages not updated, somebody is editing them.', $bulk_counts['locked'] ),
     246        'deleted'   => _n( '%d page permanently deleted.', '%d pages permanently deleted.', $bulk_counts['deleted'] ),
     247        'trashed'   => _n( '%d page moved to the Trash.', '%d pages moved to the Trash.', $bulk_counts['trashed'] ),
     248        'untrashed' => _n( '%d page restored from the Trash.', '%d pages restored from the Trash.', $bulk_counts['untrashed'] ),
    249249);
    250250
    251251/**