I18N: Improve the context for color-related strings in `WP_Theme::translate_header()`.

* Use the `color scheme` context for the "Light" string, for more accuracy.
* Add the same context to the "Dark" string too, for consistency.

Follow-up to [37946], [52588].

Fixes #54804.
Built from https://develop.svn.wordpress.org/trunk@52603


git-svn-id: http://core.svn.wordpress.org/trunk@52191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-01-19 10:35:03 +00:00
parent f7151a6f3a
commit 48aa21e9d9
2 changed files with 3 additions and 3 deletions

View File

@ -981,8 +981,8 @@ final class WP_Theme implements ArrayAccess {
'tan' => __( 'Tan' ),
'white' => __( 'White' ),
'yellow' => __( 'Yellow' ),
'dark' => __( 'Dark' ),
'light' => _x( 'Light', 'color' ),
'dark' => _x( 'Dark', 'color scheme' ),
'light' => _x( 'Light', 'color scheme' ),
'fixed-layout' => __( 'Fixed Layout' ),
'fluid-layout' => __( 'Fluid Layout' ),
'responsive-layout' => __( 'Responsive Layout' ),

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-alpha-52602';
$wp_version = '6.0-alpha-52603';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.