Administration: Replace contracted verb forms for better consistency.

This changeset replaces contracted verb forms like `doesn't`, `can't`, or `isn't` with non-contracted forms like `does not`, `cannot`, or `is not`, for better consistency across the WordPress administration. It also updates some corresponding unit tests strings.

Props Presskopp, socalchristina, aandrewdixon, francina, SergeyBiryukov, JeffPaul, audrasjb, hellofromTonya.
Fixes #38913.
See #39176.


git-svn-id: https://develop.svn.wordpress.org/trunk@52978 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2022-03-22 16:23:32 +00:00
parent f1d94b9085
commit 6c270d0d17
75 changed files with 213 additions and 213 deletions

View File

@@ -402,7 +402,7 @@ switch ( $wp_list_table->current_action() ) {
check_admin_referer( 'remove-users' );
if ( ! is_multisite() ) {
wp_die( __( 'You can’t remove users.' ), 400 );
wp_die( __( 'You cannot remove users.' ), 400 );
}
if ( empty( $_REQUEST['users'] ) ) {
@@ -434,7 +434,7 @@ switch ( $wp_list_table->current_action() ) {
check_admin_referer( 'bulk-users' );
if ( ! is_multisite() ) {
wp_die( __( 'You can’t remove users.' ), 400 );
wp_die( __( 'You cannot remove users.' ), 400 );
}
if ( empty( $_REQUEST['users'] ) && empty( $_REQUEST['user'] ) ) {
@@ -575,14 +575,14 @@ switch ( $wp_list_table->current_action() ) {
$messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( 'Other user roles have been changed.' ) . '</p></div>';
break;
case 'err_admin_del':
$messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You can&#8217;t delete the current user.' ) . '</p></div>';
$messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You cannot delete the current user.' ) . '</p></div>';
$messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( 'Other users have been deleted.' ) . '</p></div>';
break;
case 'remove':
$messages[] = '<div id="message" class="updated notice is-dismissible fade"><p>' . __( 'User removed from this site.' ) . '</p></div>';
break;
case 'err_admin_remove':
$messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( "You can't remove the current user." ) . '</p></div>';
$messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You cannot remove the current user.' ) . '</p></div>';
$messages[] = '<div id="message" class="updated notice is-dismissible fade"><p>' . __( 'Other users have been removed.' ) . '</p></div>';
break;
}