mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
Make pui error translatable
This commit is contained in:
parent
b7413b9adf
commit
b9dc98eefc
1 changed files with 4 additions and 1 deletions
|
@ -335,7 +335,10 @@ class PayUponInvoice {
|
|||
exit;
|
||||
}
|
||||
|
||||
echo '<div class="notice notice-error"><p>Could not enable gateway because Pay upon invoice is not active on PayPal.</p></div>';
|
||||
printf(
|
||||
'<div class="notice notice-error"><p>%1$s</p></div>',
|
||||
esc_html__( 'Could not enable gateway because Pay upon invoice is not active on PayPal.', 'woocommerce-paypal-payments' )
|
||||
);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue