Make WordPress Core

Changeset 52603


Ignore:
Timestamp:
01/19/2022 10:33:55 AM (3 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme.php

    r52588 r52603  
    982982                        'white'             => __( 'White' ),
    983983                        'yellow'            => __( 'Yellow' ),
    984                         'dark'              => __( 'Dark' ),
    985                         'light'             => _x( 'Light', 'color' ),
     984                        'dark'              => _x( 'Dark', 'color scheme' ),
     985                        'light'             => _x( 'Light', 'color scheme' ),
    986986                        'fixed-layout'      => __( 'Fixed Layout' ),
    987987                        'fluid-layout'      => __( 'Fluid Layout' ),
Note: See TracChangeset for help on using the changeset viewer.