Make WordPress Core

Changeset 53700


Ignore:
Timestamp:
07/14/2022 02:08:21 PM (5 months ago)
Author:
SergeyBiryukov
Message:

Text Changes: Improve consistency of punctuation in some strings.

  • Move the colon inside the <strong> tags in some Error: prefixes, to match other strings.
  • Move the full stop at the end of some sentences outside of the <strong> tags used for individual phrases.

Follow-up to [11669], [23844], [53118], [53458], [53476].

Props NekoJonez, Presskopp.
Fixes #56027.

Location:
trunk/src
Files:
4 edited

Legend:

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

    r53391 r53700  
    653653else : // Locations tab.
    654654    $locations_overview  = '<p>' . __( 'This screen is used for globally assigning menus to locations defined by your theme.' ) . '</p>';
    655     $locations_overview .= '<ul><li>' . __( 'To assign menus to one or more theme locations, <strong>select a menu from each location&#8217;s dropdown.</strong> When you are finished, <strong>click Save Changes</strong>' ) . '</li>';
     655    $locations_overview .= '<ul><li>' . __( 'To assign menus to one or more theme locations, <strong>select a menu from each location&#8217;s dropdown</strong>. When you are finished, <strong>click Save Changes</strong>' ) . '</li>';
    656656    $locations_overview .= '<li>' . __( 'To edit a menu currently assigned to a theme location, <strong>click the adjacent &#8217;Edit&#8217; link</strong>' ) . '</li>';
    657657    $locations_overview .= '<li>' . __( 'To add a new menu instead of assigning an existing one, <strong>click the &#8217;Use new menu&#8217; link</strong>. Your new menu will be automatically assigned to that theme location' ) . '</li></ul>';
  • trunk/src/wp-admin/update-core.php

    r53426 r53700  
    186186        echo '<p class="hint">' . sprintf(
    187187            /* translators: %s: WordPress version. */
    188             __( 'You are about to install WordPress %s <strong>in English (US).</strong> There is a chance this update will break your translation. You may prefer to wait for the localized version to be released.' ),
     188            __( 'You are about to install WordPress %s <strong>in English (US)</strong>. There is a chance this update will break your translation. You may prefer to wait for the localized version to be released.' ),
    189189            'development' !== $update->response ? $update->current : ''
    190190        ) . '</p>';
  • trunk/src/wp-includes/class-wp-theme.php

    r53455 r53700  
    283283            );
    284284            if ( ! file_exists( $this->theme_root ) ) { // Don't cache this one.
    285                 $this->errors->add( 'theme_root_missing', __( '<strong>Error</strong>: The themes directory is either empty or does not exist. Please check your installation.' ) );
     285                $this->errors->add( 'theme_root_missing', __( '<strong>Error:</strong> The themes directory is either empty or does not exist. Please check your installation.' ) );
    286286            }
    287287            return;
  • trunk/src/wp-includes/functions.php

    r53460 r53700  
    16011601
    16021602    if ( ! has_action( "do_feed_{$feed}" ) ) {
    1603         wp_die( __( '<strong>Error</strong>: This is not a valid feed template.' ), '', array( 'response' => 404 ) );
     1603        wp_die( __( '<strong>Error:</strong> This is not a valid feed template.' ), '', array( 'response' => 404 ) );
    16041604    }
    16051605
Note: See TracChangeset for help on using the changeset viewer.