Plugins: on the plugins admin screen, the "has been deleted" string needs a plural.
Props jmayhak. Fixes #33239. git-svn-id: https://develop.svn.wordpress.org/trunk@34475 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bab2316129
commit
6ad1c1c380
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user