<% extends 'layout.html' %>

<% block content %>
<div id="mailpoet_homepage_container">
</div>

<script>
  <% autoescape 'js' %>
    var mailpoet_mta_log = <%= json_encode(mta_log) %>;
    var mailpoet_homepage_data = <%= json_encode(homepage) %>;
  <% endautoescape %>
</script>

<%= localize({
  'welcomeToMailPoet': __('Welcome to MailPoet 🎉'),
  'beginByCompletingSetup': __('Begin by completing your setup'),
  'hideList': __('Hide setup list'),
  'senderSetTask': _x('Add your sender information', 'Link in a task list'),
  'senderSetTaskDone': _x('Sender information added!', 'Link in a task list'),
  'mssConnectedTask': _x('Connect MailPoet Sending Service', 'Link in a task list'),
  'mssConnectedTaskDone': _x('MailPoet Sending Service activated!', 'Link in a task list'),
  'wooSubscribersImportedTask': _x('Import WooCommerce subscribers', 'Link in a task list'),
  'wooSubscribersImportedTaskDone': _x('WooCommerce subscribers imported!', 'Link in a task list'),
  'subscribersAddedTask': _x('Import existing subscribers', 'Link in a task list'),
  'subscribersAddedTaskDoneByImport': _x('Subscribers imported!', 'Link in a task list'),
  'subscribersAddedTaskDoneByForm': _x('Subscription form created!', 'Link in a task list'),
  'senderDomainAuthenticatedTask': _x('Authenticate your sender domain', 'Link in a task list'),
  'senderDomainAuthenticatedTaskDone': _x('Sender domain authenticated!', 'Link in a task list'),
  'improveDeliveryRates': __('Improve email delivery rates'),
  'youAreSet': _x('You’re all set!', 'Part of string "You’re all set! Dismiss setup list"'),
  'dismissList': _x('Dismiss setup list', 'Part of string "You’re all set! Dismiss setup list"'),
  'noSubscribersQuestion': _x('No subscribers yet?', 'Part of string "No subscribers yet? Set up a subscription form"'),
  'setUpForm': _x('Set up a subscription form', 'Part of string "No subscribers yet? Set up a subscription form"'),
  'haveSubscribersQuestion': _x('Have existing subscribers?', 'Part of string "Have existing subscribers? Import"'),
  'import': _x('Import', 'Part of string "Have existing subscribers? Import"'),

  'startEngagingWithYourCustomers': __('Start engaging with your customers'),
  'setUpWelcomeCampaign': __('Set up a welcome campaign'),
  'setUpWelcomeCampaignDesc': __('Choose from our list of templates or start with a blank editor'),
  'setUpWelcomeCampaignDone': __('You started a welcome campaign'),
  'addSubscriptionForm': __('Add a subscription form'),
  'addSubscriptionFormDesc': __('Collect new contacts from signup forms'),
  'addSubscriptionFormDone': __('You added a subscription form'),
  'sendFirstNewsletter': __('Send your first newsletter'),
  'sendFirstNewsletterDesc': __('Drive traffic with newsletters that are easy to build and measure'),
  'sendFirstNewsletterDone': __('You sent or scheduled your first newsletter'),
  'setUpAbandonedCartEmail': __('Set up an abandoned cart email'),
  'setUpAbandonedCartEmailDesc': __('Create customized email sequences with our new automation editor'),
  'setUpAbandonedCartEmailDone': __('You set up an abandoned cart campaign'),
  'brandWooEmails': __('Brand your WooCommerce transactional emails'),
  'brandWooEmailsDesc': __('Make your store notification emails shine'),
  'brandWooEmailsDone': __('You branded your transactional emails'),
  'allDone': _x('All done!', 'Part of string "All done! Dismiss tasks"'),
  'dismissTasks': _x('Dismiss tasks', 'Part of string "All done! Dismiss tasks"'),

  'accelerateYourGrowth': __('Accelerate your growth with our Business plan'),
  'detailedAnalytics': __('Detailed analytics'),
  'advancedSubscriberSegmentation': __('Advanced subscriber segmentation'),
  'emailMarketingAutomations': __('Email marketing automations'),
  'prioritySupport': __('Priority support'),
  'upgradePlan': __('Upgrade plan'),
  'close': __('Close'),

  'subscribersHeading': __('Subscribers'),
  'subscribersSectionDescription': __('Changes in the last 30 days'),
  'newSubscribers': __('new'),
  'unsubscribedSubscribers': _x('unsubscribed', 'Label for a number of subscribers who unsubscribed from email delivery'),
  'subscribedSubscribers': _x('subscribed', 'Label for a number of subscribers who subscribed to email delivery'),
  'listName': __('List name'),
  'listScore': __('List score'),
  'unknownBadgeName': __('Unknown'),
  'unknownBadgeTooltip': __('Not enough data.'),
  'tooltipUnknown': __('Fewer than 3 emails sent ever'),
  'dormantBadgeName': __('Dormant'),
  'dormantBadgeTooltip': __('Not enough recent data.'),
  'tooltipDormant': __('Fewer than 3 emails sent in the last year'),
  'excellentBadgeName': __('Excellent'),
  'excellentBadgeTooltip': __('Congrats!'),
  'tooltipExcellent': __('50% or more'),
  'goodBadgeName': __('Good'),
  'goodBadgeTooltip': __('Good stuff.'),
  'tooltipGood': __('between 20 and 50%'),
  'averageBadgeName': __('Low'),
  'averageBadgeTooltip': __('Something to improve.'),
  'tooltipAverage': __('20% or fewer'),
  'engagementScoreDescription': __('Average percent of emails subscribers read in the last year'),
  'changesWillAppear': __('Changes to your audience will appear here.'),
  'starBySettingUpForm': __('Start by setting up a subscription form.'),
  'subscriberCountHasNotChangeLongTime': __('Your subscriber count hasn’t changed in the last 30 days. Launch a new campaign to grow your audience.'),
  'createForm': _x('Create a subscription form', 'Cta link title'),
  'exploreCampaigns': _x('Explore campaigns', 'Cta link title'),

  'learnMoreAboutEmailMarketing': __('Learn more about email marketing'),
  'createAnEmailTitle': __('Create an Email: Types of Campaigns'),
  'createAnEmailAbstract': __('MailPoet allows you to create five different types of campaigns: Newsletter, Welcome Email, Latest Post Notifications, Re-engagement Emails, and WooCommerce behavior-based emails. Each one has a different purpose and you can read more about it in this article.'),
  'createAFormTitle': __('Create a Subscription Form'),
  'createAFormAbstract': __('You can create sign-up forms with the MailPoet form editor, to gather new subscribers for your email campaign.'),
  'segmentationGuideTitle': __('The beginner’s guide to segmentation'),
  'segmentationGuideAbstract': __('Do you still have just one big email list for all your subscribers? If so, you’re probably not getting the best performance. The good news is that email segmentation is a relatively straightforward way to enhance what you’re already doing.'),
  'reEngagementTitle': __('Re-Engagement Emails: Examples and Best Practices to Win Back Subscribers'),
  'reEngagementAbstract': __('Beyond people unsubscribing, you might also have people who stop engaging with your emails. By sending re-engagement emails, you have a chance to win back those unengaged subscribers and get them to start opening and clicking your emails again.'),
  'marketingStrategyTitle': __('Why You Need a Newsletter Marketing Strategy + How to Make One'),
  'marketingStrategyAbstract': __('Your email list is only as valuable as the number of engaged subscribers on it. This makes it essential to create an effective long-term newsletter marketing strategy.'),
  'promotingSalesTitle': __('How to promote your sales with email marketing and segmentation'),
  'promotingSalesAbstract': __('Planning a sale? Discounts are great, but when you’re competing against millions of other online stores, "build it and they will come" isn’t a winning strategy. Instead, you can ensure the success of your sale by learning how to use email marketing to promote it.'),
  'pageOf': _x('Page %1$d of %2$d', 'Page 1 of 3'),
  'previousPostsPage': _x('Next page with posts', 'Title of a link to a previous page of posts'),
  'nextPostsPage': _x('Previous page with posts', 'Title of a link to a next page of posts'),
}) %>
<% endblock %>
