Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit d4e3247

Browse files
Improve public-facing texts and labels (#7045)
We noticed that oftentimes our labels and text tend to be overly technical or unclear. We decided to do a bulk pass to improve the readability to non-technical users.
1 parent 00a1174 commit d4e3247

File tree

59 files changed

+90
-221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+90
-221
lines changed

assets/js/atomic/blocks/product-elements/category-list/constants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export const BLOCK_ICON: JSX.Element = (
1212
<Icon icon={ archive } className="wc-block-editor-components-block-icon" />
1313
);
1414
export const BLOCK_DESCRIPTION: string = __(
15-
'Display a list of categories belonging to a product.',
15+
'Display the list of categories that are assigned to a product.',
1616
'woo-gutenberg-products-block'
1717
);

assets/js/atomic/blocks/product-elements/image/edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const Edit = ( { attributes, setAttributes, context } ) => {
7474
'woo-gutenberg-products-block'
7575
) }
7676
help={ __(
77-
'Overlay a "sale" badge if the product is on-sale.',
77+
'Display a sale badge if the product is on-sale.',
7878
'woo-gutenberg-products-block'
7979
) }
8080
checked={ showSaleBadge }

assets/js/atomic/blocks/product-elements/tag-list/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export const BLOCK_ICON = (
1212
<Icon icon={ tag } className="wc-block-editor-components-block-icon" />
1313
);
1414
export const BLOCK_DESCRIPTION = __(
15-
'Display a list of tags belonging to a product.',
15+
'Display the list of tags that are assigned to a product.',
1616
'woo-gutenberg-products-block'
1717
);

assets/js/base/context/providers/add-to-cart-form/form-state/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export const AddToCartFormStateContextProvider = ( {
245245
const message =
246246
data.processingResponse?.message ||
247247
__(
248-
'Something went wrong. Please contact us to get assistance.',
248+
'Something went wrong. Please contact us for assistance.',
249249
'woo-gutenberg-products-block'
250250
);
251251
createErrorNotice( message, {

assets/js/base/context/providers/add-to-cart-form/form/submit/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const FormSubmit = () => {
101101
} else {
102102
createErrorNotice(
103103
__(
104-
'Something went wrong. Please contact us to get assistance.',
104+
'Something went wrong. Please contact us for assistance.',
105105
'woo-gutenberg-products-block'
106106
),
107107
{

assets/js/base/context/providers/cart-checkout/checkout-processor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ const CheckoutProcessor = () => {
257257
),
258258
errorResponse?.message ??
259259
__(
260-
'Something went wrong.',
260+
'Something went wrong. Please contact us for assistance.',
261261
'woo-gutenberg-products-block'
262262
)
263263
),

assets/js/base/context/providers/cart-checkout/checkout-state/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ export const CheckoutStateProvider = ( {
265265
const message =
266266
data.processingResponse?.message ||
267267
__(
268-
'Something went wrong. Please contact us to get assistance.',
268+
'Something went wrong. Please contact us for assistance.',
269269
'woo-gutenberg-products-block'
270270
);
271271
createErrorNotice( message, {

assets/js/base/context/providers/cart-checkout/checkout-state/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const getPaymentResultFromCheckoutResponse = (
5353
response.data.status > 299
5454
) {
5555
paymentResult.message = __(
56-
'Something went wrong. Please contact us to get assistance.',
56+
'Something went wrong. Please contact us for assistance.',
5757
'woo-gutenberg-products-block'
5858
);
5959
}

assets/js/blocks/active-filters/active-attribute-filters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const ActiveAttributeFilters = ( {
9898
if ( index > 0 && operator === 'and' ) {
9999
prefix = (
100100
<span className="wc-block-active-filters__list-item-operator">
101-
{ __( 'and', 'woo-gutenberg-products-block' ) }
101+
{ __( 'All', 'woo-gutenberg-products-block' ) }
102102
</span>
103103
);
104104
}

assets/js/blocks/active-filters/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "woocommerce/active-filters",
33
"version": "1.0.0",
44
"title": "Active Product Filters",
5-
"description": "Show the currently active product filters. Works in combination with the All Products and filters blocks.",
5+
"description": "Display the currently active product filters.",
66
"category": "woocommerce",
77
"keywords": [ "WooCommerce" ],
88
"supports": {

0 commit comments

Comments
 (0)