Update titles and description

This commit is contained in:
Bart Kalisz 2024-09-10 14:20:36 +02:00
parent 5744241823
commit a1a23f32d4
2 changed files with 8 additions and 5 deletions

View File

@ -44,9 +44,12 @@ export const handPickedIcon = (
const collection = {
name: CoreCollectionNames.HAND_PICKED,
title: __( 'Hand Picked', 'woocommerce' ),
title: __( 'Hand-Picked', 'woocommerce' ),
icon: <Icon icon={ handPickedIcon } />,
description: __( 'Recommend your hand-picked products.', 'woocommerce' ),
description: __(
'Select specific products to recommend to customers.',
'woocommerce'
),
keywords: [ 'hand-picked products', 'product collection' ],
scope: [],
};
@ -71,7 +74,7 @@ const heading: InnerBlockTemplate = [
{
textAlign: 'center',
level: 2,
content: __( 'Hand Picked', 'woocommerce' ),
content: __( 'Hand-Picked', 'woocommerce' ),
style: { spacing: { margin: { bottom: '1rem' } } },
},
];

View File

@ -151,7 +151,7 @@ export const HandPickedProductsControlField = ( {
return (
<FormTokenField
displayTransform={ transformTokenIntoProductName }
label={ __( 'Select Products', 'woocommerce' ) }
label={ __( 'Hand-Picked Products', 'woocommerce' ) }
onChange={ onTokenChange }
onInputChange={ isLargeCatalog ? handleSearch : undefined }
suggestions={ suggestions }
@ -186,7 +186,7 @@ const HandPickedProductsControl = ( {
return (
<ToolsPanelItem
label={ __( 'Hand-picked Products', 'woocommerce' ) }
label={ __( 'Hand-Picked Products', 'woocommerce' ) }
hasValue={ () => !! selectedProductIds?.length }
onDeselect={ deselectCallback }
resetAllFilter={ deselectCallback }