From 749720d89747bc4b9cc7d9d05dcd92ddf2c80ad8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 14 Jul 2022 14:10:11 +0000 Subject: [PATCH] Text Changes: Improve consistency of punctuation in some strings. * Move the colon inside the `` tags in some `Error:` prefixes, to match other strings. * Move the full stop at the end of some sentences outside of the `` tags used for individual phrases. Follow-up to [11669], [23844], [53118], [53458], [53476]. Props NekoJonez, Presskopp. Fixes #56027. Built from https://develop.svn.wordpress.org/trunk@53700 git-svn-id: http://core.svn.wordpress.org/trunk@53259 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/nav-menus.php | 2 +- wp-admin/update-core.php | 2 +- wp-includes/class-wp-theme.php | 2 +- wp-includes/functions.php | 2 +- wp-includes/version.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index 1c4c00588e..c3674358fa 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -652,7 +652,7 @@ if ( ! $locations_screen ) : // Main tab. ); else : // Locations tab. $locations_overview = '

' . __( 'This screen is used for globally assigning menus to locations defined by your theme.' ) . '

'; - $locations_overview .= '
  • ' . __( 'To assign menus to one or more theme locations, select a menu from each location’s dropdown. When you are finished, click Save Changes' ) . '
  • '; + $locations_overview .= '
    • ' . __( 'To assign menus to one or more theme locations, select a menu from each location’s dropdown. When you are finished, click Save Changes' ) . '
    • '; $locations_overview .= '
    • ' . __( 'To edit a menu currently assigned to a theme location, click the adjacent ’Edit’ link' ) . '
    • '; $locations_overview .= '
    • ' . __( 'To add a new menu instead of assigning an existing one, click the ’Use new menu’ link. Your new menu will be automatically assigned to that theme location' ) . '
    '; diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index 1c204d7fcc..049facecef 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -185,7 +185,7 @@ function list_core_update( $update ) { // Partial builds don't need language-specific warnings. echo '

    ' . sprintf( /* translators: %s: WordPress version. */ - __( 'You are about to install WordPress %s in English (US). There is a chance this update will break your translation. You may prefer to wait for the localized version to be released.' ), + __( 'You are about to install WordPress %s in English (US). There is a chance this update will break your translation. You may prefer to wait for the localized version to be released.' ), 'development' !== $update->response ? $update->current : '' ) . '

    '; } diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php index 2e313c4c3b..fe74b16108 100644 --- a/wp-includes/class-wp-theme.php +++ b/wp-includes/class-wp-theme.php @@ -282,7 +282,7 @@ final class WP_Theme implements ArrayAccess { ) ); if ( ! file_exists( $this->theme_root ) ) { // Don't cache this one. - $this->errors->add( 'theme_root_missing', __( 'Error: The themes directory is either empty or does not exist. Please check your installation.' ) ); + $this->errors->add( 'theme_root_missing', __( 'Error: The themes directory is either empty or does not exist. Please check your installation.' ) ); } return; } elseif ( ! is_readable( $this->theme_root . '/' . $theme_file ) ) { diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 4ecad8e808..668425aa90 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1600,7 +1600,7 @@ function do_feed() { } if ( ! has_action( "do_feed_{$feed}" ) ) { - wp_die( __( 'Error: This is not a valid feed template.' ), '', array( 'response' => 404 ) ); + wp_die( __( 'Error: This is not a valid feed template.' ), '', array( 'response' => 404 ) ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 5363599934..23f025e251 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53699'; +$wp_version = '6.1-alpha-53700'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.