Onboarding: Change account required text on biz step. (https://github.com/woocommerce/woocommerce-admin/pull/4909)
This commit is contained in:
parent
979251784d
commit
1855057d25
|
@ -356,28 +356,26 @@ class BusinessDetails extends Component {
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
const accountRequiredText = this.bundleInstall
|
||||||
|
? __(
|
||||||
|
'User accounts are required to use these features.',
|
||||||
|
'woocommerce-admin'
|
||||||
|
)
|
||||||
|
: '';
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<p>
|
<p>
|
||||||
{ sprintf(
|
{ sprintf(
|
||||||
_n(
|
_n(
|
||||||
'The following plugin will be installed for free: %s',
|
'The following plugin will be installed for free: %s. %s',
|
||||||
'The following plugins will be installed for free: %s',
|
'The following plugins will be installed for free: %s. %s',
|
||||||
extensions.length,
|
extensions.length,
|
||||||
'woocommerce-admin'
|
'woocommerce-admin'
|
||||||
),
|
),
|
||||||
extensionsList
|
extensionsList,
|
||||||
|
accountRequiredText
|
||||||
) }
|
) }
|
||||||
</p>
|
</p>
|
||||||
{ this.bundleInstall && (
|
|
||||||
<p>
|
|
||||||
{ __(
|
|
||||||
'An account is required to use these features.',
|
|
||||||
'woocommerce-admin'
|
|
||||||
) }
|
|
||||||
</p>
|
|
||||||
) }
|
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue