Make WordPress Core


Ignore:
Timestamp:
03/22/2022 04:23:32 PM (2 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-includes/user.php

    r52954 r52978  
    31783178        $errors->add( 'empty_email', __( '<strong>Error</strong>: Please type your email address.' ) );
    31793179    } elseif ( ! is_email( $user_email ) ) {
    3180         $errors->add( 'invalid_email', __( '<strong>Error</strong>: The email address isn&#8217;t correct.' ) );
     3180        $errors->add( 'invalid_email', __( '<strong>Error</strong>: The email address is not correct.' ) );
    31813181        $user_email = '';
    31823182    } elseif ( email_exists( $user_email ) ) {
     
    32333233            sprintf(
    32343234                /* translators: %s: Admin email address. */
    3235                 __( '<strong>Error</strong>: Couldn&#8217;t register you&hellip; please contact the <a href="mailto:%s">site admin</a>!' ),
     3235                __( '<strong>Error</strong>: Could not register you&hellip; please contact the <a href="mailto:%s">site admin</a>!' ),
    32363236                get_option( 'admin_email' )
    32373237            )
     
    34763476            $errors->add(
    34773477                'user_email',
    3478                 __( '<strong>Error</strong>: The email address isn&#8217;t correct.' ),
     3478                __( '<strong>Error</strong>: The email address is not correct.' ),
    34793479                array(
    34803480                    'form-field' => 'email',
Note: See TracChangeset for help on using the changeset viewer.