Skip to content

Commit 0c41143

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@53700 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 0aba11a commit 0c41143

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/wp-admin/nav-menus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ function wp_nav_menu_max_depth( $classes ) {
652652
);
653653
else : // 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>';
658658

src/wp-admin/update-core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function list_core_update( $update ) {
185185
// Partial builds don't need language-specific warnings.
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>';
191191
}

src/wp-includes/class-wp-theme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public function __construct( $theme_dir, $theme_root, $_child = null ) {
282282
)
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;
288288
} elseif ( ! is_readable( $this->theme_root . '/' . $theme_file ) ) {

src/wp-includes/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ function do_feed() {
16001600
}
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

16061606
/**

0 commit comments

Comments
 (0)