From 307a257781de512006484807e8df53dc613b3ff1 Mon Sep 17 00:00:00 2001 From: Takashi Kitajima Date: Fri, 12 Feb 2021 11:55:26 +0900 Subject: [PATCH] Add translator comment #29008 --- includes/class-wc-countries.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/includes/class-wc-countries.php b/includes/class-wc-countries.php index 070d8afec5b..3aeca1da8d0 100644 --- a/includes/class-wc-countries.php +++ b/includes/class-wc-countries.php @@ -591,7 +591,12 @@ class WC_Countries { array( '{first_name}' => $args['first_name'], '{last_name}' => $args['last_name'], - '{name}' => sprintf( _x( '%1$s %2$s', 'full name', 'woocommerce' ), $args['first_name'], $args['last_name'] ), + '{name}' => sprintf( + /* translators: 1: first name 2: last name */ + _x( '%1$s %2$s', 'full name', 'woocommerce' ), + $args['first_name'], + $args['last_name'] + ), '{company}' => $args['company'], '{address_1}' => $args['address_1'], '{address_2}' => $args['address_2'], @@ -601,7 +606,14 @@ class WC_Countries { '{country}' => $full_country, '{first_name_upper}' => wc_strtoupper( $args['first_name'] ), '{last_name_upper}' => wc_strtoupper( $args['last_name'] ), - '{name_upper}' => wc_strtoupper( sprintf( _x( '%1$s %2$s', 'full name', 'woocommerce' ), $args['first_name'], $args['last_name'] ) ), + '{name_upper}' => wc_strtoupper( + sprintf( + /* translators: 1: first name 2: last name */ + _x( '%1$s %2$s', 'full name', 'woocommerce' ), + $args['first_name'], + $args['last_name'] + ) + ), '{company_upper}' => wc_strtoupper( $args['company'] ), '{address_1_upper}' => wc_strtoupper( $args['address_1'] ), '{address_2_upper}' => wc_strtoupper( $args['address_2'] ),