From 4cd6ffcf3d7859175788ff0cfb7298ae57ae90a9 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 17 Jan 2022 15:36:14 +0000 Subject: [PATCH] i18n: Contextualize "light" color translation strings. This change helps translators to distinguish between color and font-family contexts. Props ironprogrammer, audrasjb, tobifjellner, Presskopp, SergeyBiryukov, hellofromTonya. Fixes #54804. git-svn-id: https://develop.svn.wordpress.org/trunk@52588 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php index 4a36addfbf..9697fb6a5d 100644 --- a/src/wp-includes/class-wp-theme.php +++ b/src/wp-includes/class-wp-theme.php @@ -982,7 +982,7 @@ final class WP_Theme implements ArrayAccess { 'white' => __( 'White' ), 'yellow' => __( 'Yellow' ), 'dark' => __( 'Dark' ), - 'light' => __( 'Light' ), + 'light' => _x( 'Light', 'color' ), 'fixed-layout' => __( 'Fixed Layout' ), 'fluid-layout' => __( 'Fluid Layout' ), 'responsive-layout' => __( 'Responsive Layout' ),