Skip to content
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ module.exports = {
'testing-library/no-unnecessary-act': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@wordpress/i18n-text-domain': [
'error',
{
allowedTextDomain: 'woocommerce-gateway-stripe',
},
],
},
settings: {
react: {
Expand All @@ -82,4 +88,11 @@ module.exports = {
'@wordpress/data',
],
},
ignorePatterns: [
'build/**',
'node_modules/**',
'phpunit-html/**',
'release/**',
'vendor/**',
],
};
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* Dev - Fix some e2e issues: timing, optional flows, and WooCommerce RC support
* Fix - Reduce number of calls to Stripe payment_methods API
* Fix - Add `get_icon_url()` to Payment Method base class
* Fix - Ensure all Javascript strings use the correct text domain for translation

= 9.7.1 - 2025-07-28 =
* Add - Add state mapping for Lithuania in express checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ const PaymentMethodCheckbox = ( {
{ sprintf(
/* translators: %s: a payment method name. */
__(
'%s cannot be enabled at checkout. Click to expand.'
'%s cannot be enabled at checkout. Click to expand.',
'woocommerce-gateway-stripe'
),
label
) }
Expand Down
2 changes: 1 addition & 1 deletion client/settings/stripe-account-connected-notice/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const StripeAccountConnectedNotice = () => {
if ( shouldShowNotice() ) {
localStorage.removeItem( LOCAL_STORAGE_KEY );
dispatch( 'core/notices' ).createSuccessNotice(
__( 'Stripe Account Connected', 'woocommerce' ),
__( 'Stripe Account Connected', 'woocommerce-gateway-stripe' ),
{
id: 'WOOCOMMERCE_STRIPE_ACCOUNT_CONNECTED_NOTICE',
actions: [
Expand Down
3 changes: 2 additions & 1 deletion client/stripe-utils/cash-app-limit-notice-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const LIMIT_NOTICE_CLASSNAME = 'wc-block-checkout__payment-method-limit-notice';
export const cashAppLimitNotice = document.createElement( 'div' );
cashAppLimitNotice.classList.add( 'woocommerce-info', LIMIT_NOTICE_CLASSNAME );
cashAppLimitNotice.textContent = __(
'Please note that, depending on your account and transaction history, Cash App Pay may reject your transaction due to its amount.'
'Please note that, depending on your account and transaction history, Cash App Pay may reject your transaction due to its amount.',
'woocommerce-gateway-stripe'
);
cashAppLimitNotice.setAttribute( 'data-testid', 'cash-app-limit-notice' );

Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,6 @@ If you get stuck, you can ask for help in the [Plugin Forum](https://wordpress.o
* Dev - Fix some e2e issues: timing, optional flows, and WooCommerce RC support
* Fix - Reduce number of calls to Stripe payment_methods API
* Fix - Add `get_icon_url()` to Payment Method base class
* Fix - Ensure all Javascript strings use the correct text domain for translation

[See changelog for full details across versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).
Loading