Add text domain to translation string

This commit is contained in:
Alex Florisca 2024-09-04 14:57:41 +01:00
parent 08f975216d
commit 32aec9a3dd
2 changed files with 8 additions and 2 deletions

View file

@ -776,7 +776,10 @@ if ( block_enabled && config.enabled ) {
registerExpressPaymentMethod( {
name: `${ config.id }-${ fundingSource }`,
title: 'PayPal',
description: __( 'Eligible users will see the PayPal button.' ),
description: __(
'Eligible users will see the PayPal button.',
'woocommerce-paypal-payments'
),
gatewayId: 'ppcp-gateway',
paymentMethodId: config.id,
label: (

View file

@ -60,7 +60,10 @@ const features = [ 'products' ];
registerExpressPaymentMethod( {
name: buttonData.id,
title: `PayPal - ${ buttonData.title }`,
description: __( 'Eligible users will see the PayPal button.' ),
description: __(
'Eligible users will see the PayPal button.',
'woocommerce-paypal-payments'
),
gatewayId: 'ppcp-gateway',
label: <div dangerouslySetInnerHTML={ { __html: buttonData.title } } />,
content: <GooglePayComponent isEditing={ false } />,