Plugins: Don't use _n()
for singular/plural strings which have no placeholder for a number.
Fixes #33239. See #28502. git-svn-id: https://develop.svn.wordpress.org/trunk@34521 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
55bb8b8c0b
commit
d1fbe56dfc
@ -444,10 +444,12 @@ if ( ! empty( $invalid ) ) {
|
|||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<div id="message" class="updated notice is-dismissible">
|
<div id="message" class="updated notice is-dismissible">
|
||||||
<p>
|
<p>
|
||||||
<?php echo _n(
|
<?php
|
||||||
'The selected plugin has been <strong>deleted</strong>.',
|
if ( 1 == $plugins_to_delete ) {
|
||||||
'The selected plugins have been <strong>deleted</strong>.',
|
_e( 'The selected plugin has been <strong>deleted</strong>.' );
|
||||||
$plugins_to_delete );
|
} else {
|
||||||
|
_e( 'The selected plugins have been <strong>deleted</strong>.' );
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user