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

Correct textdomain from 'woo-gutenberg-product-blocks' to 'woo-gutenberg-products-blocks' #5020

Merged
merged 2 commits into from Nov 8, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -7,22 +7,22 @@ import { PRIVACY_URL, TERMS_URL } from '@woocommerce/block-settings';
const termsPageLink = TERMS_URL
? `<a href="${ TERMS_URL }">${ __(
'Terms and Conditions',
'woo-gutenberg-product-blocks'
'woo-gutenberg-products-blocks'
) }</a>`
: __( 'Terms and Conditions', 'woo-gutenberg-product-blocks' );
: __( 'Terms and Conditions', 'woo-gutenberg-products-blocks' );

const privacyPageLink = PRIVACY_URL
? `<a href="${ PRIVACY_URL }">${ __(
'Privacy Policy',
'woo-gutenberg-product-blocks'
'woo-gutenberg-products-blocks'
) }</a>`
: __( 'Privacy Policy', 'woo-gutenberg-product-blocks' );
: __( 'Privacy Policy', 'woo-gutenberg-products-blocks' );

export const termsConsentDefaultText = sprintf(
/* translators: %1$s terms page link, %2$s privacy page link. */
__(
'By proceeding with your purchase you agree to our %1$s and %2$s',
'woo-gutenberg-product-blocks'
'woo-gutenberg-products-blocks'
),
termsPageLink,
privacyPageLink
Expand All @@ -32,7 +32,7 @@ export const termsCheckboxDefaultText = sprintf(
/* translators: %1$s terms page link, %2$s privacy page link. */
__(
'You must accept our %1$s and %2$s to continue with your purchase.',
'woo-gutenberg-product-blocks'
'woo-gutenberg-products-blocks'
),
termsPageLink,
privacyPageLink
Expand Down
Expand Up @@ -40,7 +40,7 @@ const getCcOrEcheckPaymentMethodOption = (
/* translators: %1$s is referring to the payment method brand, %2$s is referring to the last 4 digits of the payment card, %3$s is referring to the expiry date. */
__(
'%1$s ending in %2$s (expires %3$s)',
'woo-gutenberg-product-blocks'
'woo-gutenberg-products-blocks'
),
method.brand,
method.last4,
Expand Down
Expand Up @@ -121,7 +121,7 @@ export const CardElements = ( {
onBlur={ () => cardNumOnActive( isEmpty.cardNumber ) }
/>
<label htmlFor="wc-stripe-card-number-element">
{ __( 'Card Number', 'woo-gutenberg-product-blocks' ) }
{ __( 'Card Number', 'woo-gutenberg-products-blocks' ) }
</label>
<ValidationInputError errorMessage={ cardNumError } />
</div>
Expand All @@ -138,7 +138,7 @@ export const CardElements = ( {
id="wc-stripe-card-expiry-element"
/>
<label htmlFor="wc-stripe-card-expiry-element">
{ __( 'Expiry Date', 'woo-gutenberg-product-blocks' ) }
{ __( 'Expiry Date', 'woo-gutenberg-products-blocks' ) }
</label>
<ValidationInputError errorMessage={ cardExpiryError } />
</div>
Expand All @@ -152,7 +152,7 @@ export const CardElements = ( {
id="wc-stripe-card-code-element"
/>
<label htmlFor="wc-stripe-card-code-element">
{ __( 'CVV/CVC', 'woo-gutenberg-product-blocks' ) }
{ __( 'CVV/CVC', 'woo-gutenberg-products-blocks' ) }
</label>
<ValidationInputError errorMessage={ cardCvcError } />
</div>
Expand Down
Expand Up @@ -233,12 +233,12 @@ const getErrorMessageForTypeAndCode = ( type, code = '' ) => {
case errorTypes.INVALID_EMAIL:
return __(
'Invalid email address, please correct and try again.',
'woo-gutenberg-product-blocks'
'woo-gutenberg-products-blocks'
);
case isNonFriendlyError( type ):
return __(
'Unable to process this payment, please try again or use alternative method.',
'woo-gutenberg-product-blocks'
'woo-gutenberg-products-blocks'
);
case errorTypes.CARD_ERROR:
return getErrorMessageForCode( code );
Expand Down