diff --git a/src/wp-admin/plugins.php b/src/wp-admin/plugins.php index 4d8c797b04..c80e96831f 100644 --- a/src/wp-admin/plugins.php +++ b/src/wp-admin/plugins.php @@ -479,7 +479,15 @@ if ( isset( $_GET['error'] ) ) : if ( isset( $_GET['main'] ) ) { $errmsg = __( 'You cannot delete a plugin while it is active on the main site.' ); } elseif ( isset( $_GET['charsout'] ) ) { - $errmsg = sprintf( __( 'The plugin generated %d characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.' ), $_GET['charsout'] ); + $errmsg = sprintf( + _n( + 'The plugin generated %d character of unexpected output during activation.', + 'The plugin generated %d characters of unexpected output during activation.', + $_GET['charsout'] + ), + $_GET['charsout'] + ); + $errmsg .= ' ' . __( 'If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.' ); } else { $errmsg = __( 'Plugin could not be activated because it triggered a fatal error.' ); }