From 6db7dba1e4d755cb10df7adfe62d0570da7615ca Mon Sep 17 00:00:00 2001 From: Hsing-yu Flowers Date: Thu, 24 Jun 2021 14:05:30 -0400 Subject: [PATCH] Localize string for description (https://github.com/woocommerce/woocommerce-admin/pull/7219) * Localize string for description * Add changelog and testing instructions * Remove testing instruction Co-authored-by: Joshua T Flowers --- plugins/woocommerce-admin/readme.txt | 1 + plugins/woocommerce-admin/src/Features/Onboarding.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/woocommerce-admin/readme.txt b/plugins/woocommerce-admin/readme.txt index 04b7390c1e1..b145f14c300 100644 --- a/plugins/woocommerce-admin/readme.txt +++ b/plugins/woocommerce-admin/readme.txt @@ -88,6 +88,7 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt - Tweak: Revert Card component removal #7167 - Fix: Currency display on Orders activity card on homescreen #7181 - Fix: Report export filtering bug. #7165 +- Fix: Localize string for description #7219 - Fix: Use tab char for the CSV injection prevention. #7154 - Fix: Use saved form values if available when switching tabs #7226 - Fix: The use of gridicons for Analytics section controls. #7237 diff --git a/plugins/woocommerce-admin/src/Features/Onboarding.php b/plugins/woocommerce-admin/src/Features/Onboarding.php index f9ac9f36d1e..510c25a980b 100644 --- a/plugins/woocommerce-admin/src/Features/Onboarding.php +++ b/plugins/woocommerce-admin/src/Features/Onboarding.php @@ -404,7 +404,7 @@ class Onboarding { 'other' => array( 'label' => __( 'Other', 'woocommerce-admin' ), 'use_description' => true, - 'description_label' => 'Description', + 'description_label' => __( 'Description', 'woocommerce-admin' ), ), ) );