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

Props jmayhak.
Fixes #33239.

Built from https://develop.svn.wordpress.org/trunk@34475


git-svn-id: http://core.svn.wordpress.org/trunk@34439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-09-24 03:42:25 +00:00
parent ffb8ae1a63
commit b6e70baa04
2 changed files with 10 additions and 2 deletions

View File

@ -442,7 +442,15 @@ if ( ! empty( $invalid ) ) {
if ( is_wp_error($delete_result) ) : ?>
<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>
<?php else : ?>
<div id="message" class="updated notice is-dismissible"><p><?php _e('The selected plugins have been <strong>deleted</strong>.'); ?></p></div>
<div id="message" class="updated notice is-dismissible">
<p>
<?php echo _n(
'The selected plugin has been <strong>deleted</strong>.',
'The selected plugins have been <strong>deleted</strong>.',
$plugins_to_delete );
?>
</p>
</div>
<?php endif; ?>
<?php elseif ( isset($_GET['activate']) ) : ?>
<div id="message" class="updated notice is-dismissible"><p><?php _e('Plugin <strong>activated</strong>.') ?></p></div>

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34474';
$wp_version = '4.4-alpha-34475';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.