<% endblock %>
<%= stylesheet(
'mailpoet-plugin.css'
)%>
<%= do_action('mailpoet_styles_admin_after') %>
<% block after_css %><% endblock %>
<%= javascript(
'vendor.js',
'mailpoet.js'
)%>
<%= localize({
'ajaxFailedErrorMessage': __('An error has happened while performing a request, the server has responded with response code %d'),
'senderEmailAddressWarning1': _x('You might not reach the inbox of your subscribers if you use this email address.', 'In the last step, before sending a newsletter. URL: ?page=mailpoet-newsletters#/send/2'),
'senderEmailAddressWarning2': _x('Use an address like %1$s for the Sender and put %2$s in the Reply-to field below.', 'In the last step, before sending a newsletter. URL: ?page=mailpoet-newsletters#/send/2'),
'senderEmailAddressWarning3': _x('Read more.'),
'mailerSendingResumedNotice': __('Sending has been resumed.'),
'dismissNotice': __('Dismiss this notice.'),
'spfCheckTitle': _x('Improve your deliverability!', 'DNS SPF Record check'),
'spfCheckMsgWhy': _x("Your email is set to be sent from %s and we noticed that you have an SPF record for this domain. It means some subscribers may not receive your emails.", 'DNS SPF Record check'),
'spfCheckMsgEdit': _x("Since you're sending with the MailPoet Sending Service, you need to add %s to the existing SPF entry in your DNS records. This will allow MailPoet to send on your behalf for optimal deliverability.", 'DNS SPF Record check'),
'spfCheckReadMore': _x('Read the Guide', 'DNS SPF Record check'),
'subscribersLimitNoticeTitle': __('Congratulations, you now have more than [subscribersLimit] subscribers!'),
'freeVersionLimit': __('Our free version is limited to [subscribersLimit] subscribers.'),
'yourPlanLimit': __('Your plan is limited to [subscribersLimit] subscribers.'),
'youNeedToUpgrade': __('You need to upgrade now to be able to continue using MailPoet.'),
'upgradeNow': __('Upgrade Now'),
'refreshMySubscribers': __('I’ve upgraded my subscription, refresh subscriber limit'),
'setFromAddressModalTitle': __('It’s time to set your default FROM address!', 'mailpoet'),
'setFromAddressModalDescription': __('Set one of [link]your authorized email addresses[/link] as the default FROM email for your MailPoet emails.', 'mailpoet'),
'setFromAddressModalSave': __('Save', 'mailpoet'),
'setFromAddressEmailSuccess': __('Excellent. Your authorized email was saved. You can change it in the [link]Basics tab of the MailPoet settings[/link].', 'mailpoet'),
'setFromAddressEmailNotAuthorized': __('Can’t use this email yet! [link]Please authorize it first[/link].', 'mailpoet'),
'setFromAddressEmailUnknownError': __('An error occured when saving FROM email address.', 'mailpoet'),
}) %>
<% block translations %><% endblock %>
<% block after_translations %><% endblock %>
<%= javascript(
'admin_vendor_chunk.js',
'admin_vendor.js'
)%>
<%= do_action('mailpoet_scripts_admin_before') %>
<%= javascript(
'admin.js'
)%>
<%= javascript('lib/analytics.js') %>
<% set helpscout_form_id = '1c666cab-c0f6-4614-bc06-e5d0ad78db2b' %>
<%if settings.mta.mailpoet_api_key_state.data.support_tier == 'premium' %>
<% set helpscout_form_id = 'e93d0423-1fa6-4bbc-9df9-c174f823c35f' %>
<% endif %>
<% block after_javascript %><% endblock %>