WordPress.org

Make WordPress Core

Changeset 34475


Ignore:
Timestamp:
09/24/2015 03:41:52 AM (4 years ago)
Author:
wonderboymusic
Message:

Plugins: on the plugins admin screen, the "has been deleted" string needs a plural.

Props jmayhak.
Fixes #33239.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugins.php

    r34344 r34475  
    443443        <div id="message" class="error notice is-dismissible"><p><?php printf( __('Plugin could not be deleted due to an error: %s'), $delete_result->get_error_message() ); ?></p></div>
    444444        <?php else : ?>
    445         <div id="message" class="updated notice is-dismissible"><p><?php _e('The selected plugins have been <strong>deleted</strong>.'); ?></p></div>
     445        <div id="message" class="updated notice is-dismissible">
     446            <p>
     447                <?php echo _n(
     448                    'The selected plugin has been <strong>deleted</strong>.',
     449                    'The selected plugins have been <strong>deleted</strong>.',
     450                    $plugins_to_delete );
     451                ?>
     452            </p>
     453        </div>
    446454        <?php endif; ?>
    447455<?php elseif ( isset($_GET['activate']) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.