mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Adjust the wording if the subscription plugin is not activated
This commit is contained in:
parent
fc5760e518
commit
ba0de5d12a
1 changed files with 12 additions and 9 deletions
|
@ -131,15 +131,18 @@ const DetailsPhysical = () => (
|
|||
const DetailsSubscriptions = ( { showLink, showNotice } ) => (
|
||||
<>
|
||||
{ showLink && (
|
||||
<a
|
||||
target="__blank"
|
||||
href="https://woocommerce.com/document/woocommerce-paypal-payments/#subscriptions-faq"
|
||||
>
|
||||
{ __(
|
||||
'WooCommerce Subscriptions',
|
||||
'woocommerce-paypal-payments'
|
||||
) }
|
||||
</a>
|
||||
<p
|
||||
dangerouslySetInnerHTML={ {
|
||||
__html: sprintf(
|
||||
/* translators: %s is the URL to the WooCommerce Subscriptions product page */
|
||||
__(
|
||||
'* To use subscriptions, you must have <a target="_blank" href="%s">WooCommerce Subscriptions</a> enabled.',
|
||||
'woocommerce-paypal-payments'
|
||||
),
|
||||
'https://woocommerce.com/products/woocommerce-subscriptions/'
|
||||
),
|
||||
} }
|
||||
/>
|
||||
) }
|
||||
{ showNotice && (
|
||||
<p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue