Make WordPress Core


Ignore:
Timestamp:
03/22/2022 04:23:32 PM (3 years ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/users.php

    r51475 r52978  
    403403
    404404        if ( ! is_multisite() ) {
    405             wp_die( __( 'You can’t remove users.' ), 400 );
     405            wp_die( __( 'You cannot remove users.' ), 400 );
    406406        }
    407407
     
    435435
    436436        if ( ! is_multisite() ) {
    437             wp_die( __( 'You can’t remove users.' ), 400 );
     437            wp_die( __( 'You cannot remove users.' ), 400 );
    438438        }
    439439
     
    576576                    break;
    577577                case 'err_admin_del':
    578                     $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You can&#8217;t delete the current user.' ) . '</p></div>';
     578                    $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You cannot delete the current user.' ) . '</p></div>';
    579579                    $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' . __( 'Other users have been deleted.' ) . '</p></div>';
    580580                    break;
     
    583583                    break;
    584584                case 'err_admin_remove':
    585                     $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( "You can't remove the current user." ) . '</p></div>';
     585                    $messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'You cannot remove the current user.' ) . '</p></div>';
    586586                    $messages[] = '<div id="message" class="updated notice is-dismissible fade"><p>' . __( 'Other users have been removed.' ) . '</p></div>';
    587587                    break;
Note: See TracChangeset for help on using the changeset viewer.