Shipping Settings: Fix updates to copy (#41445)

* Update copy

* Remove uppercase from labels

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Paul Sealock 2023-11-16 09:29:00 +13:00 committed by paul sealock
parent 1b7035c411
commit 45bd173551
5 changed files with 16 additions and 20 deletions

View File

@ -251,21 +251,14 @@ export const ShippingTour: React.FC< {
<>
<span>
{ __(
"Specify the areas you'd like to ship to! We added a few shipping zones for you based on your location, but you can manage them at any time. Give each zone a name, select the region(s) you'd like to include, and add available shipping methods. Your shipping regions can be as specific as a zip code, or as broad as a country.",
"Specify the areas you'd like to ship to! Give each zone a name, then list the regions you'd like to include. Your regions can be as specific as a zip code or as broad as a country. Shoppers will only see the methods available in their region.",
'woocommerce'
) }
</span>
<br />
<span>
{ __(
'Your customers will only see the methods available to their region, and can only match one zone.',
'woocommerce'
) }
</span>
<br />
<span>
{ __(
'We\'ve added some shipping zones to get you started — you can add or edit them by clicking on "Edit | Delete".',
"We've added some shipping zones to get you started — you can manage them by selecting Edit or Delete.",
'woocommerce'
) }
</span>
@ -286,14 +279,14 @@ export const ShippingTour: React.FC< {
<>
<span>
{ __(
"Add one or more shipping methods that you'd like to make available to customers in your zones.",
"Add one or more shipping methods you'd like to offer to shoppers in your zones.",
'woocommerce'
) }
</span>
<br />
<span>
{ __(
'For example, in the default settings we\'ve provided, free shipping is offered to customers in your country. You can edit these or add more shipping methods by clicking on "Edit | Delete".',
"For example, we've added the “Free shipping” method for shoppers in your country. You can edit, add to, or remove shipping methods by selecting Edit or Delete.",
'woocommerce'
) }
</span>

View File

@ -0,0 +1,4 @@
Significance: patch
Type: update
Comment: Update to unreleased changes.

View File

@ -4177,8 +4177,7 @@ table.wc_shipping {
.wc-shipping-zone-method-fields {
& > label {
text-transform: uppercase;
font-size: 11px;
font-size: 12px;
font-weight: 500;
line-height: 16px;
@ -4308,7 +4307,7 @@ table {
}
.view {
font-size: 11px;
font-size: 12px;
font-weight: 500;
line-height: 16px;
}

View File

@ -61,18 +61,18 @@ if ( ! defined( 'ABSPATH' ) ) {
case 'wc-shipping-class-name':
?>
<div class="view">
<?php echo esc_html( wc_strtoupper( $heading ) ); ?> *
<?php echo esc_html( $heading ); ?> *
</div>
<div class="edit">
<input type="text" name="name" data-attribute="name" value="{{ data.name }}" placeholder="<?php esc_attr_e( 'e.g. Heavy', 'woocommerce' ); ?>" />
</div>
<div class="wc-shipping-class-modal-help-text"><?php esc_html_e( 'Assign a distinctive shipping class name for easy identification', 'woocommerce' ); ?></div>
<div class="wc-shipping-class-modal-help-text"><?php esc_html_e( 'Give your shipping class a name for easy identification', 'woocommerce' ); ?></div>
<?php
break;
case 'wc-shipping-class-slug':
?>
<div class="view">
<?php echo esc_html( wc_strtoupper( $heading ) ); ?>
<?php echo esc_html( $heading ); ?>
</div>
<div class="edit">
<input type="text" name="slug" data-attribute="slug" value="{{ data.slug }}" placeholder="<?php esc_attr_e( 'e.g. heavy-packages', 'woocommerce' ); ?>" />
@ -83,7 +83,7 @@ if ( ! defined( 'ABSPATH' ) ) {
case 'wc-shipping-class-description':
?>
<div class="view">
<?php echo esc_html( wc_strtoupper( $heading ) ); ?> *
<?php echo esc_html( $heading ); ?> *
</div>
<div class="edit">
<input type="text" name="description" data-attribute="description" value="{{ data.description }}" placeholder="<?php esc_attr_e( 'e.g. For heavy items requiring higher postage', 'woocommerce' ); ?>" />
@ -95,7 +95,7 @@ if ( ! defined( 'ABSPATH' ) ) {
default:
?>
<div class="view wc-shipping-class-hide-sibling-view">
<?php echo esc_html( wc_strtoupper( $heading ) ); ?>
<?php echo esc_html( $heading ); ?>
</div>
<?php
// phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment

View File

@ -8,7 +8,7 @@ if ( ! defined( 'ABSPATH' ) ) {
<span><?php esc_html_e( 'Shipping zones', 'woocommerce' ); ?></span>
<a href="<?php echo esc_url( admin_url( 'admin.php?page=wc-settings&tab=shipping&zone_id=new' ) ); ?>" class="button-primary"><?php esc_html_e( 'Add zone', 'woocommerce' ); ?></a>
</h2>
<p class="wc-shipping-zone-heading-help-text"><?php echo esc_html_e( 'A shipping zone consists of one or more regions you\'d like to ship to and the shipping method(s) offered. We\'ll use your customer\'s shipping address to show them available shipping methods in their area.', 'woocommerce' ) . ' ' . esc_html_e( 'WooCommerce will match a customer to a single zone using their shipping address and present the shipping methods within that zone to them.', 'woocommerce' ); ?></p>
<p class="wc-shipping-zone-heading-help-text"><?php echo esc_html_e( 'A shipping zone consists of the region(s) you\'d like to ship to and the shipping method(s) offered. A shopper can only be matched to one zone, and we\'ll use their shipping address to show them the methods available in their area.', 'woocommerce' ); ?></p>
<table class="wc-shipping-zones widefat">
<thead>
<tr>