Show different title when creating first email

[MAILPOET-2383]
This commit is contained in:
Ján Mikláš
2019-12-11 14:33:20 +01:00
committed by Jack Kitterhing
parent 853cacb38e
commit e9f77bc237
2 changed files with 2 additions and 1 deletions

View File

@@ -245,7 +245,7 @@ class NewsletterTypes extends React.Component {
return (
<div>
<link rel="prefetch" href={window.mailpoet_editor_javascript_url} as="script" />
<h1>{MailPoet.I18n.t('pickCampaignType')}</h1>
<h1>{MailPoet.I18n.t(window.mailpoet_newsletters_count === 0 ? 'createFirstEmailTitle' : 'pickCampaignType')}</h1>
<Breadcrumb step="type" />

View File

@@ -170,6 +170,7 @@
'draftNewsletterTitle': __('Subject'),
'draftPostNotificationTitle': __('The last [newsletter:total] posts from our blog'),
'pickCampaignType': __('Select type of email'),
'createFirstEmailTitle': __('Create your first email'),
'seeVideoGuide': __('See video guide'),
'premiumFeature': __('This is a Premium feature.'),
'learnMore': __('Learn more'),