Remove periods at the end of section descriptions (#46346)
* Remove period after question mark # Conflicts: # plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php # plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php * Remove useless periods # Conflicts: # plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php * Fix comments * Add changelog * Fix comment * Modify comment * Fix comments
This commit is contained in:
parent
3fb744313b
commit
618221e321
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: dev
|
||||||
|
|
||||||
|
Remove periods at the end of section descriptions #46346
|
|
@ -471,7 +471,7 @@ class ProductVariationTemplate extends AbstractProductFormTemplate implements Pr
|
||||||
'title' => __( 'Fees & dimensions', 'woocommerce' ),
|
'title' => __( 'Fees & dimensions', 'woocommerce' ),
|
||||||
'description' => sprintf(
|
'description' => sprintf(
|
||||||
/* translators: %1$s: How to get started? link opening tag. %2$s: How to get started? link closing tag.*/
|
/* translators: %1$s: How to get started? link opening tag. %2$s: How to get started? link closing tag.*/
|
||||||
__( 'Set up shipping costs and enter dimensions used for accurate rate calculations. %1$sHow to get started?%2$s.', 'woocommerce' ),
|
__( 'Set up shipping costs and enter dimensions used for accurate rate calculations. %1$sHow to get started?%2$s', 'woocommerce' ),
|
||||||
'<a href="https://woocommerce.com/posts/how-to-calculate-shipping-costs-for-your-woocommerce-store/" target="_blank" rel="noreferrer">',
|
'<a href="https://woocommerce.com/posts/how-to-calculate-shipping-costs-for-your-woocommerce-store/" target="_blank" rel="noreferrer">',
|
||||||
'</a>'
|
'</a>'
|
||||||
),
|
),
|
||||||
|
|
|
@ -1060,7 +1060,7 @@ class SimpleProductTemplate extends AbstractProductFormTemplate implements Produ
|
||||||
'title' => __( 'Fees & dimensions', 'woocommerce' ),
|
'title' => __( 'Fees & dimensions', 'woocommerce' ),
|
||||||
'description' => sprintf(
|
'description' => sprintf(
|
||||||
/* translators: %1$s: How to get started? link opening tag. %2$s: How to get started? link closing tag.*/
|
/* translators: %1$s: How to get started? link opening tag. %2$s: How to get started? link closing tag.*/
|
||||||
__( 'Set up shipping costs and enter dimensions used for accurate rate calculations. %1$sHow to get started?%2$s.', 'woocommerce' ),
|
__( 'Set up shipping costs and enter dimensions used for accurate rate calculations. %1$sHow to get started?%2$s', 'woocommerce' ),
|
||||||
'<a href="https://woocommerce.com/posts/how-to-calculate-shipping-costs-for-your-woocommerce-store/" target="_blank" rel="noreferrer">',
|
'<a href="https://woocommerce.com/posts/how-to-calculate-shipping-costs-for-your-woocommerce-store/" target="_blank" rel="noreferrer">',
|
||||||
'</a>'
|
'</a>'
|
||||||
),
|
),
|
||||||
|
@ -1153,8 +1153,8 @@ class SimpleProductTemplate extends AbstractProductFormTemplate implements Produ
|
||||||
'attributes' => array(
|
'attributes' => array(
|
||||||
'title' => __( 'Upsells', 'woocommerce' ),
|
'title' => __( 'Upsells', 'woocommerce' ),
|
||||||
'description' => sprintf(
|
'description' => sprintf(
|
||||||
/* translators: %1$s: Learn more about linked products. %2$s: Learn more about linked products.*/
|
/* translators: %1$s: "Learn more about linked products" link opening tag. %2$s: "Learn more about linked products" link closing tag. */
|
||||||
__( 'Upsells are typically products that are extra profitable or better quality or more expensive. Experiment with combinations to boost sales. %1$sLearn more about linked products.%2$s', 'woocommerce' ),
|
__( 'Upsells are typically products that are extra profitable or better quality or more expensive. Experiment with combinations to boost sales. %1$sLearn more about linked products%2$s', 'woocommerce' ),
|
||||||
'<br /><a href="https://woocommerce.com/document/related-products-up-sells-and-cross-sells/" target="_blank" rel="noreferrer">',
|
'<br /><a href="https://woocommerce.com/document/related-products-up-sells-and-cross-sells/" target="_blank" rel="noreferrer">',
|
||||||
'</a>'
|
'</a>'
|
||||||
),
|
),
|
||||||
|
@ -1186,8 +1186,8 @@ class SimpleProductTemplate extends AbstractProductFormTemplate implements Produ
|
||||||
'attributes' => array(
|
'attributes' => array(
|
||||||
'title' => __( 'Cross-sells', 'woocommerce' ),
|
'title' => __( 'Cross-sells', 'woocommerce' ),
|
||||||
'description' => sprintf(
|
'description' => sprintf(
|
||||||
/* translators: %1$s: Learn more about linked products. %2$s: Learn more about linked products.*/
|
/* translators: %1$s: "Learn more about linked products" link opening tag. %2$s: "Learn more about linked products" link closing tag. */
|
||||||
__( 'By suggesting complementary products in the cart using cross-sells, you can significantly increase the average order value. %1$sLearn more about linked products.%2$s', 'woocommerce' ),
|
__( 'By suggesting complementary products in the cart using cross-sells, you can significantly increase the average order value. %1$sLearn more about linked products%2$s', 'woocommerce' ),
|
||||||
'<br /><a href="https://woocommerce.com/document/related-products-up-sells-and-cross-sells/" target="_blank" rel="noreferrer">',
|
'<br /><a href="https://woocommerce.com/document/related-products-up-sells-and-cross-sells/" target="_blank" rel="noreferrer">',
|
||||||
'</a>'
|
'</a>'
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue