Improve address labels to help translations
This commit is contained in:
parent
3e7f902e75
commit
b528e25759
|
@ -53,11 +53,11 @@ class WC_Admin_Profile {
|
|||
'description' => '',
|
||||
),
|
||||
'billing_address_1' => array(
|
||||
'label' => __( 'Address 1', 'woocommerce' ),
|
||||
'label' => __( 'Address line 1', 'woocommerce' ),
|
||||
'description' => '',
|
||||
),
|
||||
'billing_address_2' => array(
|
||||
'label' => __( 'Address 2', 'woocommerce' ),
|
||||
'label' => __( 'Address line 2', 'woocommerce' ),
|
||||
'description' => '',
|
||||
),
|
||||
'billing_city' => array(
|
||||
|
@ -106,11 +106,11 @@ class WC_Admin_Profile {
|
|||
'description' => '',
|
||||
),
|
||||
'shipping_address_1' => array(
|
||||
'label' => __( 'Address 1', 'woocommerce' ),
|
||||
'label' => __( 'Address line 1', 'woocommerce' ),
|
||||
'description' => '',
|
||||
),
|
||||
'shipping_address_2' => array(
|
||||
'label' => __( 'Address 2', 'woocommerce' ),
|
||||
'label' => __( 'Address line 2', 'woocommerce' ),
|
||||
'description' => '',
|
||||
),
|
||||
'shipping_city' => array(
|
||||
|
|
|
@ -52,11 +52,11 @@ class WC_Meta_Box_Order_Data {
|
|||
'show' => false,
|
||||
),
|
||||
'address_1' => array(
|
||||
'label' => __( 'Address 1', 'woocommerce' ),
|
||||
'label' => __( 'Address line 1', 'woocommerce' ),
|
||||
'show' => false,
|
||||
),
|
||||
'address_2' => array(
|
||||
'label' => __( 'Address 2', 'woocommerce' ),
|
||||
'label' => __( 'Address line 2', 'woocommerce' ),
|
||||
'show' => false,
|
||||
),
|
||||
'city' => array(
|
||||
|
@ -101,11 +101,11 @@ class WC_Meta_Box_Order_Data {
|
|||
'show' => false,
|
||||
),
|
||||
'address_1' => array(
|
||||
'label' => __( 'Address 1', 'woocommerce' ),
|
||||
'label' => __( 'Address line 1', 'woocommerce' ),
|
||||
'show' => false,
|
||||
),
|
||||
'address_2' => array(
|
||||
'label' => __( 'Address 2', 'woocommerce' ),
|
||||
'label' => __( 'Address line 2', 'woocommerce' ),
|
||||
'show' => false,
|
||||
),
|
||||
'city' => array(
|
||||
|
|
|
@ -216,12 +216,12 @@ class WC_REST_Customers_Controller extends WC_REST_Customers_V1_Controller {
|
|||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_1' => array(
|
||||
'description' => __( 'Address 1', 'woocommerce' ),
|
||||
'description' => __( 'Address line 1', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_2' => array(
|
||||
'description' => __( 'Address 2', 'woocommerce' ),
|
||||
'description' => __( 'Address line 2', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
|
@ -279,12 +279,12 @@ class WC_REST_Customers_Controller extends WC_REST_Customers_V1_Controller {
|
|||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_1' => array(
|
||||
'description' => __( 'Address 1', 'woocommerce' ),
|
||||
'description' => __( 'Address line 1', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_2' => array(
|
||||
'description' => __( 'Address 2', 'woocommerce' ),
|
||||
'description' => __( 'Address line 2', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
|
|
|
@ -954,12 +954,12 @@ class WC_REST_Orders_Controller extends WC_REST_Legacy_Orders_Controller {
|
|||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_1' => array(
|
||||
'description' => __( 'Address 1', 'woocommerce' ),
|
||||
'description' => __( 'Address line 1', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_2' => array(
|
||||
'description' => __( 'Address 2', 'woocommerce' ),
|
||||
'description' => __( 'Address line 2', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
|
@ -1017,12 +1017,12 @@ class WC_REST_Orders_Controller extends WC_REST_Legacy_Orders_Controller {
|
|||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_1' => array(
|
||||
'description' => __( 'Address 1', 'woocommerce' ),
|
||||
'description' => __( 'Address line 1', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_2' => array(
|
||||
'description' => __( 'Address 2', 'woocommerce' ),
|
||||
'description' => __( 'Address line 2', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
|
|
|
@ -1033,12 +1033,12 @@ class WC_REST_Orders_V1_Controller extends WC_REST_Posts_Controller {
|
|||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_1' => array(
|
||||
'description' => __( 'Address 1.', 'woocommerce' ),
|
||||
'description' => __( 'Address line 1.', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_2' => array(
|
||||
'description' => __( 'Address 2.', 'woocommerce' ),
|
||||
'description' => __( 'Address line 2.', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
|
@ -1096,12 +1096,12 @@ class WC_REST_Orders_V1_Controller extends WC_REST_Posts_Controller {
|
|||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_1' => array(
|
||||
'description' => __( 'Address 1.', 'woocommerce' ),
|
||||
'description' => __( 'Address line 1.', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
'address_2' => array(
|
||||
'description' => __( 'Address 2.', 'woocommerce' ),
|
||||
'description' => __( 'Address line 2.', 'woocommerce' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit' ),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue