Files
piratepoet/views/automatic_emails.html
Jan Jakeš 5adc432f76 Rename premium variable to woocommerce
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00

20 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script type="text/javascript">
var mailpoet_woocommerce_automatic_emails = <%= json_encode(automatic_emails) %>;
var mailpoet_woocommerce_optin_on_checkout = "<%= woocommerce_optin_on_checkout %>";
</script>
<% block translations %>
<%= localize({
'automaticEmail': __('Automatic Email'),
'tip': __('Tip:'),
'selectAutomaticEmailsEventsConditionsHeading': __("Select %1s events conditions"),
'sendAutomaticEmailWhenHeading': __('Send this %1s Automatic Email when...'),
'automaticEmailActivated': __('Your %1s Automatic Email is now activated!'),
'automaticEmailActivationFailed': __('Your %1s Automatic Email could not be activated, please check the settings.'),
'automaticEmailEventOptionsNotConfigured': __('You need to configure email options before this email can be sent.'),
'sentToXCustomers': __('Sent to %$1d customers'),
'wooCommerceEmailsWarning': __('WooCommerce emails wont be sent to new customers because the opt-in on checkout is disabled. Enable it so they can immediately get your emails after their first purchase.'),
'wooCommerceEmailsWarningLink': __('Edit WooCommerce settings'),
}) %>
<% endblock %>