Change texts in the 4th onboarding wizard step

[MAILPOET-4168]
This commit is contained in:
Jan Lysý
2022-03-02 10:56:10 +01:00
committed by Veljko V
parent b1976b2d1b
commit d145dbe042
3 changed files with 29 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ import MailPoet from 'mailpoet';
import Heading from 'common/typography/heading/heading'; import Heading from 'common/typography/heading/heading';
import WelcomeWizardStepLayoutBody from '../../../wizard/layout/step_layout_body.jsx'; import WelcomeWizardStepLayoutBody from '../../../wizard/layout/step_layout_body.jsx';
import { BenefitsList, Controls } from '../../../wizard/steps/pitch_mss_step.jsx'; import { FreeBenefitsList, Controls } from '../../../wizard/steps/pitch_mss_step.jsx';
type Props = { type Props = {
MSSPitchIllustrationUrl: string; MSSPitchIllustrationUrl: string;
@@ -48,7 +48,7 @@ function PitchMss(props: Props): JSX.Element {
{MailPoet.I18n.t('welcomeWizardMSSFreeListTitle')} {MailPoet.I18n.t('welcomeWizardMSSFreeListTitle')}
: :
</Heading> </Heading>
<BenefitsList /> <FreeBenefitsList />
<Controls <Controls
mailpoetAccountUrl={props.mailpoetAccountUrl} mailpoetAccountUrl={props.mailpoetAccountUrl}
next={(): void => { props.onFinish(); setIsClosing(true); }} next={(): void => { props.onFinish(); setIsClosing(true); }}

View File

@@ -5,7 +5,7 @@ import Button from '../../common/button/button';
import Heading from '../../common/typography/heading/heading'; import Heading from '../../common/typography/heading/heading';
import List from '../../common/typography/list/list'; import List from '../../common/typography/list/list';
export function BenefitsList() { export function FreeBenefitsList() {
return ( return (
<List> <List>
<li>{MailPoet.I18n.t('welcomeWizardMSSList1')}</li> <li>{MailPoet.I18n.t('welcomeWizardMSSList1')}</li>
@@ -16,6 +16,18 @@ export function BenefitsList() {
); );
} }
export function NotFreeBenefitsList() {
return (
<List>
<li>{MailPoet.I18n.t('welcomeWizardMSSNotFreeList1')}</li>
<li>{MailPoet.I18n.t('welcomeWizardMSSNotFreeList2')}</li>
<li>{MailPoet.I18n.t('welcomeWizardMSSNotFreeList3')}</li>
<li>{MailPoet.I18n.t('welcomeWizardMSSNotFreeList4')}</li>
<li>{MailPoet.I18n.t('welcomeWizardMSSNotFreeList5')}</li>
</List>
);
}
export function Controls(props) { export function Controls(props) {
return ( return (
<> <>
@@ -78,7 +90,7 @@ function FreePlanSubscribers(props) {
{MailPoet.I18n.t('welcomeWizardMSSFreeListTitle')} {MailPoet.I18n.t('welcomeWizardMSSFreeListTitle')}
: :
</Heading> </Heading>
<BenefitsList /> <FreeBenefitsList />
<Controls <Controls
mailpoetAccountUrl={props.mailpoetAccountUrl} mailpoetAccountUrl={props.mailpoetAccountUrl}
@@ -104,7 +116,7 @@ function NotFreePlanSubscribers(props) {
{MailPoet.I18n.t('welcomeWizardMSSNotFreeSubtitle')} {MailPoet.I18n.t('welcomeWizardMSSNotFreeSubtitle')}
: :
</p> </p>
<BenefitsList /> <NotFreeBenefitsList />
<Controls <Controls
mailpoetAccountUrl={props.mailpoetAccountUrl} mailpoetAccountUrl={props.mailpoetAccountUrl}

View File

@@ -1,14 +1,19 @@
<%= localize({ <%= localize({
'welcomeWizardMSSFreeTitle': _x('MailPoet Premium is entirely free for you. Sign up!', 'Promotion for our email sending service: Title'), 'welcomeWizardMSSFreeTitle': _x('Reliable email delivery is entirely free for you. Sign up!', 'Promotion for our email sending service: Title'),
'welcomeWizardMSSFreeSubtitle': _x('Did you know? Users with 1,000 subscribers or less get the Premium for free.', 'Promotion for our email sending service: Paragraph'), 'welcomeWizardMSSFreeSubtitle': _x('Did you know? Users with 1,000 subscribers or less get the Starter plan for free.', 'Promotion for our email sending service: Paragraph'),
'welcomeWizardMSSFreeListTitle': _x('Youll get', 'Promotion for our email sending service: Paragraph'), 'welcomeWizardMSSFreeListTitle': _x('Youll get', 'Promotion for our email sending service: Paragraph'),
'welcomeWizardMSSList1': _x('Access to detailed analytics', 'Promotion for our email sending service: Feature item'), 'welcomeWizardMSSList1': _x('Reliable marketing and transactional email delivery. Reach inboxes, not spam boxes', 'Promotion for our email sending service: Feature item'),
'welcomeWizardMSSList2': _x('Great email deliverability with the MailPoet Sending Service', 'Promotion for our email sending service: Feature item'), 'welcomeWizardMSSList2': _x('Send your emails super fast (up to 50,000 emails per hour)', 'Promotion for our email sending service: Feature item'),
'welcomeWizardMSSList4': _x('Fast, priority support', 'Promotion for our email sending service: Feature item'), 'welcomeWizardMSSList4': _x('Maintain your sender reputation and improve engagement levels with automated bounce and complaint handling. Stop sending to non-deliverable and complaining addresses, automatically', 'Promotion for our email sending service: Feature item'),
'welcomeWizardMSSList5': _x('The MailPoet logo removed from the footer of your emails', 'Promotion for our email sending service: Feature item'), 'welcomeWizardMSSList5': _x('Authenticate your emails (with SPF and DKIM) to improve deliverability and avoid spam boxes', 'Promotion for our email sending service: Feature item'),
'welcomeWizardMSSFreeButton': _x('Sign up for free!', 'Promotion for our email sending service: Button'), 'welcomeWizardMSSFreeButton': _x('Sign up for free!', 'Promotion for our email sending service: Button'),
'welcomeWizardMSSNotFreeTitle': _x('Its now time to take your MailPoet to the next level', 'Promotion for our email sending service: Title'), 'welcomeWizardMSSNotFreeTitle': _x('Its now time to take your MailPoet to the next level', 'Promotion for our email sending service: Title'),
'welcomeWizardMSSNotFreeSubtitle': _x('Starting at only $13 per month, MailPoet Premium offers the following features', 'Promotion for our email sending service: Paragraph'), 'welcomeWizardMSSNotFreeSubtitle': _x('Starting at only $10 per month, MailPoet Business offers the following features', 'Promotion for our email sending service: Paragraph'),
'welcomeWizardMSSNotFreeList1': _x('Reliable marketing and transactional email delivery. Reach inboxes, not spam boxes', 'Promotion for our email sending service: Feature item'),
'welcomeWizardMSSNotFreeList2': _x('Detailed engagement statistics', 'Promotion for our email sending service: Feature item'),
'welcomeWizardMSSNotFreeList3': _x('Multi-condition subscriber segmentation', 'Promotion for our email sending service: Feature item'),
'welcomeWizardMSSNotFreeList4': _x('Google Analytics integration', 'Promotion for our email sending service: Feature item'),
'welcomeWizardMSSNotFreeList5': _x('Priority customer support', 'Promotion for our email sending service: Feature item'),
'welcomeWizardMSSNotFreeButton': _x('Sign up now', 'Promotion for our email sending service: Button'), 'welcomeWizardMSSNotFreeButton': _x('Sign up now', 'Promotion for our email sending service: Button'),
'welcomeWizardMSSNoThanks': _x('No thanks!', 'Promotion for our email sending service: Skip link'), 'welcomeWizardMSSNoThanks': _x('No thanks!', 'Promotion for our email sending service: Skip link'),
}) %> }) %>