MailPoet Newsletters (New) - Version 3.14.1

Version Description

  • 2018-11-20 =
  • Added: show number of sent and scheduled welcome emails on Welcome Emails listing page;
  • Improved: naming and organization of template categories;
  • Fixed: limits on number of categories and tags which may be selected for ALC increased to 100. Thanks, Radwan!;
Download this release

Release Info

Developer wysija
Plugin Icon 128x128 MailPoet Newsletters (New)
Version 3.14.1
Comparing to
See all releases

Code changes from version 3.14.0 to 3.14.1

Files changed (101) hide show
  1. assets/css/manifest.json +1 -1
  2. assets/css/{newsletter_editor.5b5c9654.css → newsletter_editor.0e234e1c.css} +0 -4
  3. assets/js/{admin.31a4291b.js → admin.ca411beb.js} +32 -12
  4. assets/js/{admin_vendor.31a4291b.js → admin_vendor.ca411beb.js} +0 -0
  5. assets/js/{form_editor.31a4291b.js → form_editor.ca411beb.js} +0 -0
  6. assets/js/{mailpoet.31a4291b.js → mailpoet.ca411beb.js} +0 -0
  7. assets/js/manifest.json +6 -6
  8. assets/js/{newsletter_editor.31a4291b.js → newsletter_editor.ca411beb.js} +21 -11
  9. assets/js/{vendor.31a4291b.js → vendor.ca411beb.js} +0 -0
  10. lang/mailpoet-ca.mo +0 -0
  11. lang/mailpoet-da_DK.mo +0 -0
  12. lang/mailpoet-de_DE.mo +0 -0
  13. lang/mailpoet-el.mo +0 -0
  14. lang/mailpoet-es_ES.mo +0 -0
  15. lang/mailpoet-fa_IR.mo +0 -0
  16. lang/mailpoet-fr_CA.mo +0 -0
  17. lang/mailpoet-fr_FR.mo +0 -0
  18. lang/mailpoet-it_IT.mo +0 -0
  19. lang/mailpoet-ja.mo +0 -0
  20. lang/mailpoet-nl_NL.mo +0 -0
  21. lang/mailpoet-pl_PL.mo +0 -0
  22. lang/mailpoet-pt_BR.mo +0 -0
  23. lang/mailpoet-pt_PT.mo +0 -0
  24. lang/mailpoet-ru_RU.mo +0 -0
  25. lang/mailpoet-sq.mo +0 -0
  26. lang/mailpoet-sv_SE.mo +0 -0
  27. lang/mailpoet-tr_TR.mo +0 -0
  28. lang/mailpoet-zh_CN.mo +0 -0
  29. lang/mailpoet.pot +425 -382
  30. lib/API/API.php +30 -7
  31. lib/API/JSON/API.php +15 -2
  32. lib/API/JSON/v1/AutomatedLatestContent.php +9 -9
  33. lib/API/JSON/v1/Newsletters.php +1 -0
  34. lib/API/MP/v1/API.php +23 -6
  35. lib/Config/Changelog.php +1 -1
  36. lib/Config/Initializer.php +2 -1
  37. lib/Config/MP2Migrator.php +1 -1
  38. lib/Config/Menu.php +2 -1
  39. lib/Config/Populator.php +40 -7
  40. lib/Config/PopulatorData/DefaultForm.php +72 -0
  41. lib/Config/PopulatorData/Templates/AppWelcome.php +1 -1
  42. lib/Config/PopulatorData/Templates/Avocado.php +1 -1
  43. lib/Config/PopulatorData/Templates/Charity.php +1 -1
  44. lib/Config/PopulatorData/Templates/Coffee.php +1 -1
  45. lib/Config/PopulatorData/Templates/DogFood.php +1 -1
  46. lib/Config/PopulatorData/Templates/Drone.php +1 -1
  47. lib/Config/PopulatorData/Templates/Faith.php +1 -1
  48. lib/Config/PopulatorData/Templates/FashionStore.php +1 -1
  49. lib/Config/PopulatorData/Templates/FestivalEvent.php +1 -1
  50. lib/Config/PopulatorData/Templates/Fitness.php +1 -1
  51. lib/Config/PopulatorData/Templates/FoodBox.php +1 -1
  52. lib/Config/PopulatorData/Templates/GiftWelcome.php +1 -1
  53. lib/Config/PopulatorData/Templates/Hotels.php +1 -1
  54. lib/Config/PopulatorData/Templates/KidsClothing.php +1 -1
  55. lib/Config/PopulatorData/Templates/Minimal.php +1 -1
  56. lib/Config/PopulatorData/Templates/ModularStyleStories.php +1 -1
  57. lib/Config/PopulatorData/Templates/Music.php +1 -1
  58. lib/Config/PopulatorData/Templates/NewsDay.php +1 -1
  59. lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php +1 -1
  60. lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php +1 -1
  61. lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php +1 -1
  62. lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php +1 -1
  63. lib/Config/PopulatorData/Templates/NotSoMedium.php +1 -1
  64. lib/Config/PopulatorData/Templates/Phone.php +1 -1
  65. lib/Config/PopulatorData/Templates/PieceOfCake.php +1 -1
  66. lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php +1 -1
  67. lib/Config/PopulatorData/Templates/RealEstate.php +1 -1
  68. lib/Config/PopulatorData/Templates/Retro.php +1 -1
  69. lib/Config/PopulatorData/Templates/RetroComputingMagazine.php +1 -1
  70. lib/Config/PopulatorData/Templates/RssSimpleNews.php +1 -1
  71. lib/Config/PopulatorData/Templates/ScienceWeekly.php +1 -1
  72. lib/Config/PopulatorData/Templates/Shoes.php +1 -1
  73. lib/Config/PopulatorData/Templates/SimpleText.php +1 -1
  74. lib/Config/PopulatorData/Templates/Sunglasses.php +1 -1
  75. lib/Config/PopulatorData/Templates/TakeAHike.php +1 -1
  76. lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php +1 -1
  77. lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php +1 -1
  78. lib/Config/PopulatorData/Templates/WideStoryLayout.php +1 -1
  79. lib/Config/PopulatorData/Templates/WineCity.php +1 -1
  80. lib/Config/PopulatorData/Templates/WorldCup.php +1 -1
  81. lib/Config/PopulatorData/Templates/YogaStudio.php +1 -1
  82. lib/Cron/Workers/SimpleWorker.php +6 -4
  83. lib/DI/CachedContainer.php +240 -0
  84. lib/DI/ContainerFactory.php +30 -0
  85. lib/Form/Util/Styles.php +2 -1
  86. lib/Models/Newsletter.php +7 -0
  87. lib/Newsletter/Renderer/Blocks/Renderer.php +1 -1
  88. lib/Newsletter/Renderer/Renderer.php +1 -1
  89. lib/Subscribers/ImportExport/Import/MailChimp.php +1 -1
  90. lib/Subscription/Form.php +2 -3
  91. lib/Util/Sudzy/Engine.php +1 -1
  92. lib/WP/Functions.php +1 -1
  93. mailpoet.php +2 -2
  94. readme.txt +6 -1
  95. vendor/autoload.php +1 -1
  96. vendor/composer/autoload_classmap.php +1 -0
  97. vendor/composer/autoload_real.php +7 -7
  98. vendor/composer/autoload_static.php +7 -6
  99. views/newsletter/editor.html +0 -1
  100. views/newsletter/templates/components/sidebar/styles.hbs +1 -2
  101. views/newsletters.html +6 -3
assets/css/manifest.json CHANGED
@@ -2,7 +2,7 @@
2
  "admin-global.css": "admin-global.bcd24dab.css",
3
  "admin.css": "admin.e99a5857.css",
4
  "importExport.css": "importExport.b3745466.css",
5
- "newsletter_editor.css": "newsletter_editor.5b5c9654.css",
6
  "public.css": "public.cae357df.css",
7
  "rtl.css": "rtl.58324dad.css"
8
  }
2
  "admin-global.css": "admin-global.bcd24dab.css",
3
  "admin.css": "admin.e99a5857.css",
4
  "importExport.css": "importExport.b3745466.css",
5
+ "newsletter_editor.css": "newsletter_editor.0e234e1c.css",
6
  "public.css": "public.cae357df.css",
7
  "rtl.css": "rtl.58324dad.css"
8
  }
assets/css/{newsletter_editor.5b5c9654.css → newsletter_editor.0e234e1c.css} RENAMED
@@ -1224,10 +1224,6 @@ select.mailpoet_font-size {
1224
  margin-left: 5px;
1225
  font-weight: normal;
1226
  }
1227
- .tooltip-help-designer-styles {
1228
- position: absolute;
1229
- top: 40px;
1230
- }
1231
  .tooltip-help-designer-full-width .dashicons {
1232
  line-height: 34px;
1233
  }
1224
  margin-left: 5px;
1225
  font-weight: normal;
1226
  }
 
 
 
 
1227
  .tooltip-help-designer-full-width .dashicons {
1228
  line-height: 34px;
1229
  }
assets/js/{admin.31a4291b.js → admin.ca411beb.js} RENAMED
@@ -20825,22 +20825,25 @@ var templatesCategories = [{
20825
  }, {
20826
  name: 'notification',
20827
  label: _mailpoet2.default.I18n.t('tabNotificationTitle')
20828
- }, {
20829
- name: 'woocommerce',
20830
- label: _mailpoet2.default.I18n.t('tabWoocommerceTitle')
20831
- }, {
20832
- name: 'sample',
20833
- label: _mailpoet2.default.I18n.t('sample')
20834
- }, {
20835
- name: 'blank',
20836
- label: _mailpoet2.default.I18n.t('blank')
 
 
 
20837
  }, {
20838
  name: 'recent',
20839
  label: _mailpoet2.default.I18n.t('recentlySent')
20840
  }, {
20841
  name: 'saved',
20842
  label: _mailpoet2.default.I18n.t('savedTemplates')
20843
- }];
20844
 
20845
  var NewsletterTemplates = function (_React$Component) {
20846
  _inherits(NewsletterTemplates, _React$Component);
@@ -24343,7 +24346,22 @@ var NewsletterListWelcome = (0, _createReactClass2.default)({ // eslint-disable-
24343
  },
24344
 
24345
  renderStatus: function renderStatus(newsletter) {
24346
- var totalSent = parseInt(newsletter.total_sent, 10) ? _mailpoet2.default.I18n.t('sentToXSubscribers').replace('%$1d', newsletter.total_sent.toLocaleString()) : _mailpoet2.default.I18n.t('notSentYet');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24347
 
24348
  return _react2.default.createElement(
24349
  'div',
@@ -24373,7 +24391,9 @@ var NewsletterListWelcome = (0, _createReactClass2.default)({ // eslint-disable-
24373
  _react2.default.createElement(
24374
  'p',
24375
  null,
24376
- totalSent
 
 
24377
  )
24378
  );
24379
  },
20825
  }, {
20826
  name: 'notification',
20827
  label: _mailpoet2.default.I18n.t('tabNotificationTitle')
20828
+ }];
20829
+
20830
+ if (window.mailpoet_woocommerce_active) {
20831
+ templatesCategories.push({
20832
+ name: 'woocommerce',
20833
+ label: _mailpoet2.default.I18n.t('tabWoocommerceTitle')
20834
+ });
20835
+ }
20836
+
20837
+ templatesCategories.push.apply(templatesCategories, [{
20838
+ name: 'all',
20839
+ label: _mailpoet2.default.I18n.t('allTemplates')
20840
  }, {
20841
  name: 'recent',
20842
  label: _mailpoet2.default.I18n.t('recentlySent')
20843
  }, {
20844
  name: 'saved',
20845
  label: _mailpoet2.default.I18n.t('savedTemplates')
20846
+ }]);
20847
 
20848
  var NewsletterTemplates = function (_React$Component) {
20849
  _inherits(NewsletterTemplates, _React$Component);
24346
  },
24347
 
24348
  renderStatus: function renderStatus(newsletter) {
24349
+ var totalSentMessage = _mailpoet2.default.I18n.t('notSentYet');
24350
+ var totalSent = parseInt(newsletter.total_sent, 10);
24351
+ if (totalSent === 1) {
24352
+ totalSentMessage = _mailpoet2.default.I18n.t('sentToXSubscribers');
24353
+ }
24354
+ if (totalSent > 1) {
24355
+ totalSentMessage = _mailpoet2.default.I18n.t('sentToXSubscribersPlural').replace('%$1d', newsletter.total_sent.toLocaleString());
24356
+ }
24357
+ var totalScheduledMessage = '';
24358
+ var totalScheduled = parseInt(newsletter.total_scheduled, 10);
24359
+ if (totalScheduled === 1) {
24360
+ totalScheduledMessage = _mailpoet2.default.I18n.t('scheduledToXSubscribers');
24361
+ }
24362
+ if (totalScheduled > 1) {
24363
+ totalScheduledMessage = _mailpoet2.default.I18n.t('scheduledToXSubscribersPlural').replace('%$1d', newsletter.total_sent.toLocaleString());
24364
+ }
24365
 
24366
  return _react2.default.createElement(
24367
  'div',
24391
  _react2.default.createElement(
24392
  'p',
24393
  null,
24394
+ totalSentMessage,
24395
+ totalScheduledMessage !== '' ? _react2.default.createElement('br', null) : '',
24396
+ totalScheduledMessage
24397
  )
24398
  );
24399
  },
assets/js/{admin_vendor.31a4291b.js → admin_vendor.ca411beb.js} RENAMED
File without changes
assets/js/{form_editor.31a4291b.js → form_editor.ca411beb.js} RENAMED
File without changes
assets/js/{mailpoet.31a4291b.js → mailpoet.ca411beb.js} RENAMED
File without changes
assets/js/manifest.json CHANGED
@@ -1,10 +1,10 @@
1
  {
2
  "mp2migrator.js": "mp2migrator.3d80df09.js",
3
  "public.js": "public.8a5f8230.js",
4
- "admin.js": "admin.31a4291b.js",
5
- "admin_vendor.js": "admin_vendor.31a4291b.js",
6
- "form_editor.js": "form_editor.31a4291b.js",
7
- "mailpoet.js": "mailpoet.31a4291b.js",
8
- "newsletter_editor.js": "newsletter_editor.31a4291b.js",
9
- "vendor.js": "vendor.31a4291b.js"
10
  }
1
  {
2
  "mp2migrator.js": "mp2migrator.3d80df09.js",
3
  "public.js": "public.8a5f8230.js",
4
+ "admin.js": "admin.ca411beb.js",
5
+ "admin_vendor.js": "admin_vendor.ca411beb.js",
6
+ "form_editor.js": "form_editor.ca411beb.js",
7
+ "mailpoet.js": "mailpoet.ca411beb.js",
8
+ "newsletter_editor.js": "newsletter_editor.ca411beb.js",
9
+ "vendor.js": "vendor.ca411beb.js"
10
  }
assets/js/{newsletter_editor.31a4291b.js → newsletter_editor.ca411beb.js} RENAMED
@@ -36267,11 +36267,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disabl
36267
  tooltipId: 'tooltip-editor-send-preview',
36268
  tooltip: MailPoet.I18n.t('helpTooltipSendPreview')
36269
  });
36270
-
36271
- MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-styles'), {
36272
- tooltipId: 'tooltip-editor-designer-styles',
36273
- tooltip: MailPoet.I18n.t('helpTooltipDesignerStyles')
36274
- });
36275
  });
36276
 
36277
  return Module;
@@ -39542,7 +39537,8 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disabl
39542
  ajax: {
39543
  data: function (params) {
39544
  return {
39545
- term: params.term
 
39546
  };
39547
  },
39548
  transport: function (options, success, failure) {
@@ -39555,6 +39551,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disabl
39555
  // Fetch available terms based on the list of taxonomies already fetched
39556
  termsPromise = CommunicationComponent.getTerms({
39557
  search: options.data.term,
 
39558
  taxonomies: _.keys(taxonomies)
39559
  }).then(function (terms) {
39560
  return {
@@ -39580,7 +39577,10 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disabl
39580
  id: item.term_id
39581
  }, item);
39582
  }
39583
- )
 
 
 
39584
  };
39585
  }
39586
  }
@@ -39943,7 +39943,8 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disabl
39943
  ajax: {
39944
  data: function (params) {
39945
  return {
39946
- term: params.term
 
39947
  };
39948
  },
39949
  transport: function (options, success, failure) {
@@ -39956,6 +39957,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disabl
39956
  // Fetch available terms based on the list of taxonomies already fetched
39957
  termsPromise = CommunicationComponent.getTerms({
39958
  search: options.data.term,
 
39959
  taxonomies: _.keys(taxonomies)
39960
  }).then(function (terms) {
39961
  return {
@@ -39981,7 +39983,10 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disabl
39981
  id: item.term_id
39982
  }, item);
39983
  }
39984
- )
 
 
 
39985
  };
39986
  }
39987
  }
@@ -40518,7 +40523,8 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disabl
40518
  ajax: {
40519
  data: function (params) {
40520
  return {
40521
- term: params.term
 
40522
  };
40523
  },
40524
  transport: function (options, success, failure) {
@@ -40531,6 +40537,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disabl
40531
  // Fetch available terms based on the list of taxonomies already fetched
40532
  termsPromise = CommunicationComponent.getTerms({
40533
  search: options.data.term,
 
40534
  taxonomies: _.keys(taxonomies)
40535
  }).then(function (terms) {
40536
  return {
@@ -40556,7 +40563,10 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disabl
40556
  id: item.term_id
40557
  }, item);
40558
  }
40559
- )
 
 
 
40560
  };
40561
  }
40562
  }
36267
  tooltipId: 'tooltip-editor-send-preview',
36268
  tooltip: MailPoet.I18n.t('helpTooltipSendPreview')
36269
  });
 
 
 
 
 
36270
  });
36271
 
36272
  return Module;
39537
  ajax: {
39538
  data: function (params) {
39539
  return {
39540
+ term: params.term,
39541
+ page: params.page || 1
39542
  };
39543
  },
39544
  transport: function (options, success, failure) {
39551
  // Fetch available terms based on the list of taxonomies already fetched
39552
  termsPromise = CommunicationComponent.getTerms({
39553
  search: options.data.term,
39554
+ page: options.data.page,
39555
  taxonomies: _.keys(taxonomies)
39556
  }).then(function (terms) {
39557
  return {
39577
  id: item.term_id
39578
  }, item);
39579
  }
39580
+ ),
39581
+ pagination: {
39582
+ more: data.terms.length === 100
39583
+ }
39584
  };
39585
  }
39586
  }
39943
  ajax: {
39944
  data: function (params) {
39945
  return {
39946
+ term: params.term,
39947
+ page: params.page || 1
39948
  };
39949
  },
39950
  transport: function (options, success, failure) {
39957
  // Fetch available terms based on the list of taxonomies already fetched
39958
  termsPromise = CommunicationComponent.getTerms({
39959
  search: options.data.term,
39960
+ page: options.data.page,
39961
  taxonomies: _.keys(taxonomies)
39962
  }).then(function (terms) {
39963
  return {
39983
  id: item.term_id
39984
  }, item);
39985
  }
39986
+ ),
39987
+ pagination: {
39988
+ more: data.terms.length === 100
39989
+ }
39990
  };
39991
  }
39992
  }
40523
  ajax: {
40524
  data: function (params) {
40525
  return {
40526
+ term: params.term,
40527
+ page: params.page || 1
40528
  };
40529
  },
40530
  transport: function (options, success, failure) {
40537
  // Fetch available terms based on the list of taxonomies already fetched
40538
  termsPromise = CommunicationComponent.getTerms({
40539
  search: options.data.term,
40540
+ page: options.data.page,
40541
  taxonomies: _.keys(taxonomies)
40542
  }).then(function (terms) {
40543
  return {
40563
  id: item.term_id
40564
  }, item);
40565
  }
40566
+ ),
40567
+ pagination: {
40568
+ more: data.terms.length === 100
40569
+ }
40570
  };
40571
  }
40572
  }
assets/js/{vendor.31a4291b.js → vendor.ca411beb.js} RENAMED
File without changes
lang/mailpoet-ca.mo CHANGED
Binary file
lang/mailpoet-da_DK.mo CHANGED
Binary file
lang/mailpoet-de_DE.mo CHANGED
Binary file
lang/mailpoet-el.mo ADDED
Binary file
lang/mailpoet-es_ES.mo CHANGED
Binary file
lang/mailpoet-fa_IR.mo CHANGED
Binary file
lang/mailpoet-fr_CA.mo CHANGED
Binary file
lang/mailpoet-fr_FR.mo CHANGED
Binary file
lang/mailpoet-it_IT.mo CHANGED
Binary file
lang/mailpoet-ja.mo CHANGED
Binary file
lang/mailpoet-nl_NL.mo CHANGED
Binary file
lang/mailpoet-pl_PL.mo CHANGED
Binary file
lang/mailpoet-pt_BR.mo CHANGED
Binary file
lang/mailpoet-pt_PT.mo CHANGED
Binary file
lang/mailpoet-ru_RU.mo CHANGED
Binary file
lang/mailpoet-sq.mo CHANGED
Binary file
lang/mailpoet-sv_SE.mo CHANGED
Binary file
lang/mailpoet-tr_TR.mo CHANGED
Binary file
lang/mailpoet-zh_CN.mo CHANGED
Binary file
lang/mailpoet.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
7
- "POT-Creation-Date: 2018-11-13 17:11:59+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -26,29 +26,29 @@ msgstr ""
26
  "X-Poedit-Bookmarks: \n"
27
  "X-Textdomain-Support: yes\n"
28
 
29
- #: lib/API/API.php:19
30
  msgid "Invalid API version."
31
  msgstr ""
32
 
33
- #: lib/API/JSON/API.php:67
34
  msgid ""
35
  "Sorry, but we couldn't connect to the MailPoet server. Please refresh the "
36
  "web page and try again."
37
  msgstr ""
38
 
39
- #: lib/API/JSON/API.php:94
40
  msgid "Invalid API request."
41
  msgstr ""
42
 
43
- #: lib/API/JSON/API.php:135
44
  msgid "Invalid API endpoint."
45
  msgstr ""
46
 
47
- #: lib/API/JSON/API.php:141
48
  msgid "Invalid API endpoint method."
49
  msgstr ""
50
 
51
- #: lib/API/JSON/API.php:147 lib/Router/Router.php:52
52
  msgid "You do not have the required permissions."
53
  msgstr ""
54
 
@@ -75,11 +75,11 @@ msgid "New form"
75
  msgstr ""
76
 
77
  #: lib/API/JSON/v1/Forms.php:70 lib/API/JSON/v1/Forms.php:74
78
- #: lib/API/MP/v1/API.php:22
79
  #: lib/Subscribers/ImportExport/ImportExportFactory.php:44
80
  #: lib/Subscribers/ImportExport/PersonalDataExporters/SubscriberExporter.php:40
81
- #: views/help.html:69 views/newsletter/editor.html:1006
82
- #: views/newsletter/editor.html:1007
83
  msgid "Email"
84
  msgstr ""
85
 
@@ -91,7 +91,7 @@ msgstr ""
91
  msgid "Subscribe!"
92
  msgstr ""
93
 
94
- #: lib/API/JSON/v1/Forms.php:90
95
  msgid "Check your inbox or spam folder to confirm your subscription."
96
  msgstr ""
97
 
@@ -132,8 +132,8 @@ msgstr ""
132
 
133
  #: lib/API/JSON/v1/Segments.php:24 lib/API/JSON/v1/Segments.php:75
134
  #: lib/API/JSON/v1/Segments.php:91 lib/API/JSON/v1/Segments.php:107
135
- #: lib/API/JSON/v1/Segments.php:121 lib/API/MP/v1/API.php:65
136
- #: lib/API/MP/v1/API.php:116
137
  msgid "This list does not exist."
138
  msgstr ""
139
 
@@ -213,7 +213,7 @@ msgstr ""
213
 
214
  #: lib/API/JSON/v1/Subscribers.php:37 lib/API/JSON/v1/Subscribers.php:222
215
  #: lib/API/JSON/v1/Subscribers.php:238 lib/API/JSON/v1/Subscribers.php:254
216
- #: lib/API/MP/v1/API.php:59 lib/API/MP/v1/API.php:110 lib/API/MP/v1/API.php:252
217
  msgid "This subscriber does not exist."
218
  msgstr ""
219
 
@@ -241,43 +241,43 @@ msgstr ""
241
  msgid "You need to wait %d seconds before subscribing again."
242
  msgstr ""
243
 
244
- #: lib/API/MP/v1/API.php:26
245
  #: lib/Subscribers/ImportExport/ImportExportFactory.php:45
246
  #: lib/Subscription/Pages.php:295 views/form/editor.html:232
247
  #: views/form/editor.html:235 views/subscribers/subscribers.html:53
248
  msgid "First name"
249
  msgstr ""
250
 
251
- #: lib/API/MP/v1/API.php:30
252
  #: lib/Subscribers/ImportExport/ImportExportFactory.php:46
253
  #: lib/Subscription/Pages.php:304 views/form/editor.html:241
254
  #: views/form/editor.html:244 views/subscribers/subscribers.html:54
255
  msgid "Last name"
256
  msgstr ""
257
 
258
- #: lib/API/MP/v1/API.php:53 lib/API/MP/v1/API.php:104
259
  msgid "At least one segment ID is required."
260
  msgstr ""
261
 
262
- #: lib/API/MP/v1/API.php:82 lib/API/MP/v1/API.php:133
263
  msgid "List with ID %s does not exist."
264
  msgid_plural "Lists with IDs %s do not exist."
265
  msgstr[0] ""
266
  msgstr[1] ""
267
 
268
- #: lib/API/MP/v1/API.php:155
269
  msgid "Subscriber email address is required."
270
  msgstr ""
271
 
272
- #: lib/API/MP/v1/API.php:162
273
  msgid "This subscriber already exists."
274
  msgstr ""
275
 
276
- #: lib/API/MP/v1/API.php:221
277
  msgid "List name is required."
278
  msgstr ""
279
 
280
- #: lib/API/MP/v1/API.php:228
281
  msgid "This list already exists."
282
  msgstr ""
283
 
@@ -305,7 +305,7 @@ msgstr ""
305
  msgid "Manage segments"
306
  msgstr ""
307
 
308
- #: lib/Config/Capabilities.php:67 lib/Config/Menu.php:707
309
  #: lib/Config/PrivacyPolicy.php:11 views/premium.html:56
310
  msgid "MailPoet"
311
  msgstr ""
@@ -407,12 +407,12 @@ msgstr[1] ""
407
  msgid "Settings imported"
408
  msgstr ""
409
 
410
- #: lib/Config/Menu.php:91 lib/Config/Menu.php:92 views/newsletters.html:38
411
  msgid "Emails"
412
  msgstr ""
413
 
414
  #: lib/Config/Menu.php:116 lib/Newsletter/Shortcodes/ShortcodesHelper.php:33
415
- #: views/newsletters.html:140
416
  msgid "Newsletter"
417
  msgstr ""
418
 
@@ -448,13 +448,13 @@ msgid "Export"
448
  msgstr ""
449
 
450
  #: lib/Config/Menu.php:218 lib/Config/Menu.php:219 views/forms.html:58
451
- #: views/newsletters.html:83 views/newsletters.html:185 views/segments.html:13
452
  #: views/subscribers/subscribers.html:68
453
  msgid "Lists"
454
  msgstr ""
455
 
456
  #: lib/Config/Menu.php:245 lib/Config/Menu.php:246 views/form/editor.html:43
457
- #: views/mp2migration.html:14 views/newsletters.html:84 views/settings.html:6
458
  msgid "Settings"
459
  msgstr ""
460
 
@@ -482,68 +482,68 @@ msgstr ""
482
  msgid "In any WordPress role"
483
  msgstr ""
484
 
485
- #: lib/Config/Menu.php:589
486
  msgid "WooCommerce"
487
  msgstr ""
488
 
489
- #: lib/Config/Menu.php:590
490
  msgid ""
491
  "Automatically send an email when there is a new WooCommerce product, order "
492
  "and some other action takes place."
493
  msgstr ""
494
 
495
- #: lib/Config/Menu.php:594
496
  msgid "Abandoned Shopping Cart"
497
  msgstr ""
498
 
499
- #: lib/Config/Menu.php:595
500
  msgid ""
501
  "Send an email to logged-in visitors who have items in their shopping carts "
502
  "but left your website without checking out. Can convert up to 5% of "
503
  "abandoned carts."
504
  msgstr ""
505
 
506
- #: lib/Config/Menu.php:598 lib/Config/Menu.php:617
507
  msgid "Must-have"
508
  msgstr ""
509
 
510
- #: lib/Config/Menu.php:604
511
  msgid "Big Spender"
512
  msgstr ""
513
 
514
- #: lib/Config/Menu.php:605
515
  msgid ""
516
  "Let MailPoet send an email to customers who have spent a certain amount to "
517
  "thank them, possibly with a coupon."
518
  msgstr ""
519
 
520
- #: lib/Config/Menu.php:608
521
  msgid "Smart to have"
522
  msgstr ""
523
 
524
- #: lib/Config/Menu.php:614
525
  msgid "First Purchase"
526
  msgstr ""
527
 
528
- #: lib/Config/Menu.php:615
529
  msgid "Let MailPoet send an email to customers who make their first purchase."
530
  msgstr ""
531
 
532
- #: lib/Config/Menu.php:623
533
  msgid "Purchased In This Category"
534
  msgstr ""
535
 
536
- #: lib/Config/Menu.php:624
537
  msgid ""
538
  "Let MailPoet send an email to customers who purchase a product from a "
539
  "specific category."
540
  msgstr ""
541
 
542
- #: lib/Config/Menu.php:629
543
  msgid "Purchased This Product"
544
  msgstr ""
545
 
546
- #: lib/Config/Menu.php:630
547
  msgid "Let MailPoet send an email to customers who purchase a specific product."
548
  msgstr ""
549
 
@@ -574,14 +574,20 @@ msgid ""
574
  "might work within a MultiSite environment, we don’t support it."
575
  msgstr ""
576
 
577
- #: lib/Config/Populator.php:198
578
  msgid "My First List"
579
  msgstr ""
580
 
581
- #: lib/Config/Populator.php:200
582
  msgid "This list is automatically created when you install MailPoet."
583
  msgstr ""
584
 
 
 
 
 
 
 
585
  #: lib/Config/PopulatorData/Templates/AppWelcome.php:17
586
  msgid "App Welcome"
587
  msgstr ""
@@ -892,14 +898,14 @@ msgid ""
892
  msgstr ""
893
 
894
  #: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:161
895
- #: views/newsletter/editor.html:1044 views/newsletter/editor.html:1099
896
- #: views/newsletter/editor.html:1228
897
  msgid "Author:"
898
  msgstr ""
899
 
900
  #: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:163
901
- #: views/newsletter/editor.html:1046 views/newsletter/editor.html:1101
902
- #: views/newsletter/editor.html:1230
903
  msgid "Categories:"
904
  msgstr ""
905
 
@@ -1209,7 +1215,7 @@ msgid "Please specify a valid email address."
1209
  msgstr ""
1210
 
1211
  #: lib/Form/Block/Base.php:23 views/form/editor.html:61
1212
- #: views/newsletters.html:188
1213
  msgid "Please select a list"
1214
  msgstr ""
1215
 
@@ -1269,62 +1275,62 @@ msgstr ""
1269
  msgid "Month (January, February,...)"
1270
  msgstr ""
1271
 
1272
- #: lib/Form/Block/Date.php:124 views/newsletters.html:213
1273
  #: views/subscribers/importExport/import.html:54
1274
  msgid "January"
1275
  msgstr ""
1276
 
1277
- #: lib/Form/Block/Date.php:124 views/newsletters.html:214
1278
  #: views/subscribers/importExport/import.html:55
1279
  msgid "February"
1280
  msgstr ""
1281
 
1282
- #: lib/Form/Block/Date.php:124 views/newsletters.html:215
1283
  #: views/subscribers/importExport/import.html:56
1284
  msgid "March"
1285
  msgstr ""
1286
 
1287
- #: lib/Form/Block/Date.php:124 views/newsletters.html:216
1288
  #: views/subscribers/importExport/import.html:57
1289
  msgid "April"
1290
  msgstr ""
1291
 
1292
- #: lib/Form/Block/Date.php:125 views/newsletters.html:217
1293
- #: views/newsletters.html:229 views/subscribers/importExport/import.html:58
1294
  msgid "May"
1295
  msgstr ""
1296
 
1297
- #: lib/Form/Block/Date.php:125 views/newsletters.html:218
1298
  #: views/subscribers/importExport/import.html:59
1299
  msgid "June"
1300
  msgstr ""
1301
 
1302
- #: lib/Form/Block/Date.php:125 views/newsletters.html:219
1303
  #: views/subscribers/importExport/import.html:60
1304
  msgid "July"
1305
  msgstr ""
1306
 
1307
- #: lib/Form/Block/Date.php:125 views/newsletters.html:220
1308
  #: views/subscribers/importExport/import.html:61
1309
  msgid "August"
1310
  msgstr ""
1311
 
1312
- #: lib/Form/Block/Date.php:125 views/newsletters.html:221
1313
  #: views/subscribers/importExport/import.html:62
1314
  msgid "September"
1315
  msgstr ""
1316
 
1317
- #: lib/Form/Block/Date.php:126 views/newsletters.html:222
1318
  #: views/subscribers/importExport/import.html:63
1319
  msgid "October"
1320
  msgstr ""
1321
 
1322
- #: lib/Form/Block/Date.php:126 views/newsletters.html:223
1323
  #: views/subscribers/importExport/import.html:64
1324
  msgid "November"
1325
  msgstr ""
1326
 
1327
- #: lib/Form/Block/Date.php:126 views/newsletters.html:224
1328
  #: views/subscribers/importExport/import.html:65
1329
  msgid "December"
1330
  msgstr ""
@@ -1443,14 +1449,14 @@ msgstr ""
1443
  msgid "Please specify a type."
1444
  msgstr ""
1445
 
1446
- #: lib/Models/Form.php:97 lib/Models/Newsletter.php:732
1447
  #: lib/Models/Segment.php:133 lib/Models/Subscriber.php:276
1448
  msgid "All"
1449
  msgstr ""
1450
 
1451
- #: lib/Models/Form.php:102 lib/Models/Newsletter.php:803
1452
  #: lib/Models/Segment.php:138 lib/Models/Subscriber.php:301 views/forms.html:71
1453
- #: views/newsletters.html:96 views/segments.html:50
1454
  #: views/subscribers/subscribers.html:38
1455
  msgid "Trash"
1456
  msgstr ""
@@ -1464,33 +1470,33 @@ msgstr ""
1464
  msgid "Deleted list"
1465
  msgstr ""
1466
 
1467
- #: lib/Models/Newsletter.php:628 lib/Models/Subscriber.php:212
1468
  msgid "All Lists"
1469
  msgstr ""
1470
 
1471
- #: lib/Models/Newsletter.php:744
1472
  #: views/newsletter/templates/blocks/posts/settingsSelection.hbs:12
1473
  msgid "Draft"
1474
  msgstr ""
1475
 
1476
- #: lib/Models/Newsletter.php:752
1477
  #: views/newsletter/templates/blocks/posts/settingsSelection.hbs:11
1478
  msgid "Scheduled"
1479
  msgstr ""
1480
 
1481
- #: lib/Models/Newsletter.php:760
1482
  msgid "Sending"
1483
  msgstr ""
1484
 
1485
- #: lib/Models/Newsletter.php:768
1486
  msgid "Sent"
1487
  msgstr ""
1488
 
1489
- #: lib/Models/Newsletter.php:783 views/newsletters.html:104
1490
  msgid "Active"
1491
  msgstr ""
1492
 
1493
- #: lib/Models/Newsletter.php:791
1494
  msgid "Not active"
1495
  msgstr ""
1496
 
@@ -1607,7 +1613,7 @@ msgstr ""
1607
  msgid "Newsletter Subject"
1608
  msgstr ""
1609
 
1610
- #: lib/Newsletter/Shortcodes/ShortcodesHelper.php:39 views/newsletters.html:42
1611
  msgid "Post Notifications"
1612
  msgstr ""
1613
 
@@ -1651,7 +1657,7 @@ msgstr ""
1651
  #: lib/Newsletter/Shortcodes/ShortcodesHelper.php:79
1652
  #: views/newsletter/templates/blocks/footer/settings.hbs:29
1653
  #: views/newsletter/templates/blocks/header/settings.hbs:30
1654
- #: views/newsletter/templates/components/sidebar/styles.hbs:97
1655
  msgid "Links"
1656
  msgstr ""
1657
 
@@ -1660,7 +1666,7 @@ msgid "Unsubscribe link"
1660
  msgstr ""
1661
 
1662
  #: lib/Newsletter/Shortcodes/ShortcodesHelper.php:85
1663
- #: views/newsletter/editor.html:1185
1664
  msgid "Unsubscribe"
1665
  msgstr ""
1666
 
@@ -1669,7 +1675,7 @@ msgid "Edit subscription page link"
1669
  msgstr ""
1670
 
1671
  #: lib/Newsletter/Shortcodes/ShortcodesHelper.php:93
1672
- #: views/newsletter/editor.html:1185
1673
  msgid "Manage subscription"
1674
  msgstr ""
1675
 
@@ -1865,7 +1871,7 @@ msgid "MailPoet Mailing Lists"
1865
  msgstr ""
1866
 
1867
  #: lib/Subscribers/ImportExport/PersonalDataExporters/SubscriberExporter.php:44
1868
- #: lib/Subscription/Pages.php:314 views/help.html:49 views/newsletters.html:80
1869
  #: views/subscribers/subscribers.html:55 views/subscribers/subscribers.html:67
1870
  msgid "Status"
1871
  msgstr ""
@@ -2138,7 +2144,7 @@ msgstr ""
2138
 
2139
  #: views/form/editor.html:193
2140
  #: views/newsletter/templates/components/sidebar/preview.hbs:2
2141
- #: views/newsletters.html:134 views/newsletters.html:292
2142
  #: views/settings/basics.html:242 views/settings/basics.html:300
2143
  #: views/settings/signup.html:177
2144
  msgid "Preview"
@@ -2392,12 +2398,12 @@ msgid ""
2392
  "MailPoet if you need fancier forms."
2393
  msgstr ""
2394
 
2395
- #: views/forms.html:17 views/newsletters.html:139
2396
  #: views/subscribers/importExport/import/step1.html:27
2397
  msgid "See video guide"
2398
  msgstr ""
2399
 
2400
- #: views/forms.html:31 views/newsletters.html:45 views/segments.html:14
2401
  #: views/subscribers/subscribers.html:20
2402
  msgid "Search"
2403
  msgstr ""
@@ -2422,7 +2428,7 @@ msgstr ""
2422
  msgid "Select all forms on all pages"
2423
  msgstr ""
2424
 
2425
- #: views/forms.html:37 views/newsletters.html:51 views/segments.html:20
2426
  #: views/subscribers/subscribers.html:28
2427
  msgid "Clear selection"
2428
  msgstr ""
@@ -2431,62 +2437,62 @@ msgstr ""
2431
  msgid "%d forms permanently deleted."
2432
  msgstr ""
2433
 
2434
- #: views/forms.html:39 views/newsletters.html:53 views/segments.html:22
2435
  #: views/subscribers/subscribers.html:30
2436
  msgid "Select bulk action"
2437
  msgstr ""
2438
 
2439
- #: views/forms.html:40 views/newsletters.html:54 views/segments.html:23
2440
  #: views/subscribers/subscribers.html:31
2441
  msgid "Bulk Actions"
2442
  msgstr ""
2443
 
2444
- #: views/forms.html:41 views/newsletters.html:55 views/segments.html:24
2445
  #: views/subscribers/subscribers.html:32
2446
  msgid "Apply"
2447
  msgstr ""
2448
 
2449
- #: views/forms.html:42 views/newsletters.html:56
2450
  #: views/subscribers/subscribers.html:33
2451
  msgid "Filter"
2452
  msgstr ""
2453
 
2454
- #: views/forms.html:43 views/newsletters.html:57 views/segments.html:52
2455
  #: views/subscribers/subscribers.html:34
2456
  msgid "Empty Trash"
2457
  msgstr ""
2458
 
2459
- #: views/forms.html:44 views/newsletters.html:58 views/segments.html:53
2460
  #: views/subscribers/subscribers.html:35
2461
  msgid "Select All"
2462
  msgstr ""
2463
 
2464
- #: views/forms.html:45 views/newsletters.html:59 views/segments.html:54
2465
  #: views/subscribers/subscribers.html:37
2466
  msgid "Restore"
2467
  msgstr ""
2468
 
2469
- #: views/forms.html:46 views/newsletters.html:60
2470
  #: views/subscribers/subscribers.html:40
2471
  msgid "Delete Permanently"
2472
  msgstr ""
2473
 
2474
- #: views/forms.html:48 views/newsletters.html:63 views/segments.html:58
2475
  #: views/subscribers/subscribers.html:43
2476
  msgid "Previous page"
2477
  msgstr ""
2478
 
2479
- #: views/forms.html:49 views/newsletters.html:64 views/segments.html:59
2480
  #: views/subscribers/subscribers.html:44
2481
  msgid "First page"
2482
  msgstr ""
2483
 
2484
- #: views/forms.html:50 views/newsletters.html:65 views/segments.html:60
2485
  #: views/subscribers/subscribers.html:45
2486
  msgid "Next page"
2487
  msgstr ""
2488
 
2489
- #: views/forms.html:51 views/newsletters.html:66 views/segments.html:61
2490
  #: views/subscribers/subscribers.html:46
2491
  msgid "Last page"
2492
  msgstr ""
@@ -2495,17 +2501,17 @@ msgstr ""
2495
  msgid "Current Page"
2496
  msgstr ""
2497
 
2498
- #: views/forms.html:53 views/newsletters.html:68 views/segments.html:63
2499
  #: views/subscribers/subscribers.html:48
2500
  msgid "of"
2501
  msgstr ""
2502
 
2503
- #: views/forms.html:54 views/newsletters.html:69 views/segments.html:64
2504
  #: views/subscribers/subscribers.html:49
2505
  msgid "1 item"
2506
  msgstr ""
2507
 
2508
- #: views/forms.html:55 views/newsletters.html:70 views/segments.html:65
2509
  #: views/subscribers/subscribers.html:50
2510
  msgid "%$1d items"
2511
  msgstr ""
@@ -2551,14 +2557,14 @@ msgstr ""
2551
  msgid "%$1d forms have been restored from the trash."
2552
  msgstr ""
2553
 
2554
- #: views/forms.html:68 views/newsletters.html:98 views/segments.html:49
2555
  #: views/subscribers/subscribers.html:36
2556
  msgid "Edit"
2557
  msgstr ""
2558
 
2559
  #: views/forms.html:69
2560
  #: views/newsletter/templates/blocks/base/toolsGeneric.hbs:6
2561
- #: views/newsletters.html:99 views/segments.html:41
2562
  msgid "Duplicate"
2563
  msgstr ""
2564
 
@@ -2566,12 +2572,12 @@ msgstr ""
2566
  msgid "Form \"%$1s\" has been duplicated."
2567
  msgstr ""
2568
 
2569
- #: views/forms.html:72 views/newsletters.html:97 views/segments.html:51
2570
  #: views/subscribers/subscribers.html:39
2571
  msgid "Move to trash"
2572
  msgstr ""
2573
 
2574
- #: views/forms.html:73 views/newsletters.html:111 views/segments.html:48
2575
  #: views/subscribers/subscribers.html:95
2576
  msgid "Add New"
2577
  msgstr ""
@@ -2808,7 +2814,7 @@ msgstr ""
2808
  msgid "Start upgrade"
2809
  msgstr ""
2810
 
2811
- #: views/mp2migration.html:25 views/newsletters.html:109
2812
  msgid "Pause"
2813
  msgstr ""
2814
 
@@ -2864,11 +2870,11 @@ msgstr ""
2864
  msgid "Manage your subscription page"
2865
  msgstr ""
2866
 
2867
- #: views/newsletter/editor.html:295 views/newsletter/editor.html:982
2868
- #: views/newsletter/editor.html:987 views/newsletter/editor.html:992
2869
- #: views/newsletter/editor.html:997 views/newsletter/editor.html:1002
2870
- #: views/newsletter/editor.html:1012 views/newsletter/editor.html:1017
2871
- #: views/newsletter/editor.html:1022 views/newsletter/editor.html:1027
2872
  #: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:237
2873
  #: views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs:249
2874
  #: views/newsletter/templates/blocks/button/settings.hbs:14
@@ -2899,7 +2905,7 @@ msgstr ""
2899
 
2900
  #: views/newsletter/editor.html:332
2901
  #: views/newsletter/templates/blocks/base/toolsGeneric.hbs:6
2902
- #: views/newsletters.html:287
2903
  #: views/subscribers/importExport/import/step2.html:150
2904
  msgid "Cancel"
2905
  msgstr ""
@@ -2949,129 +2955,123 @@ msgstr ""
2949
 
2950
  #: views/newsletter/editor.html:353
2951
  msgid ""
2952
- "We only include fonts that will display in all email clients. We understand "
2953
- "it can feel limiting!"
2954
- msgstr ""
2955
-
2956
- #: views/newsletter/editor.html:354
2957
- msgid ""
2958
  "You can add MailPoet shortcodes here. For example, you can add your "
2959
  "subscribers' first names by using this shortcode: [subscriber:firstname | "
2960
  "default:reader]. Simply copy and paste the shortcode into the field."
2961
  msgstr ""
2962
 
2963
- #: views/newsletter/editor.html:355
2964
  msgid ""
2965
  "This optional text will appear in your subscribers' inboxes, beside the "
2966
  "subject line. Write something enticing!"
2967
  msgstr ""
2968
 
2969
- #: views/newsletter/editor.html:356
2970
  msgid ""
2971
  "This option eliminates padding around the image. It only works if the image "
2972
  "is larger than the column size."
2973
  msgstr ""
2974
 
2975
- #: views/newsletter/editor.html:357
2976
  msgid ""
2977
  "Use images with widths of at least 1,000 pixels to ensure sharp display on "
2978
  "high density screens, like mobile devices."
2979
  msgstr ""
2980
 
2981
- #: views/newsletter/editor.html:358
2982
  msgid "Template has been saved."
2983
  msgstr ""
2984
 
2985
- #: views/newsletter/editor.html:359
2986
  msgid "Template has not been saved, please try again"
2987
  msgstr ""
2988
 
2989
- #: views/newsletter/editor.html:360
2990
  msgid "Categories & tags"
2991
  msgstr ""
2992
 
2993
- #: views/newsletter/editor.html:361
2994
  msgid "There is no content to display."
2995
  msgstr ""
2996
 
2997
- #: views/newsletter/editor.html:362
2998
  msgid ""
2999
  "Your preview should open in a new tab. Please ensure your browser is not "
3000
  "blocking popups from this page."
3001
  msgstr ""
3002
 
3003
- #: views/newsletter/editor.html:363
3004
  msgid "Newsletter Preview"
3005
  msgstr ""
3006
 
3007
- #: views/newsletter/editor.html:364
3008
  msgid ""
3009
  "Contents of this newsletter are corrupted and may be lost, you may need to "
3010
  "add new content to this newsletter, or create a new one. If possible, "
3011
  "please contact us and report this issue."
3012
  msgstr ""
3013
 
3014
- #: views/newsletter/editor.html:365
3015
  msgid "Saving..."
3016
  msgstr ""
3017
 
3018
- #: views/newsletter/editor.html:366
3019
  msgid "There are unsaved changes which will be lost if you leave this page."
3020
  msgstr ""
3021
 
3022
- #: views/newsletter/editor.html:369
3023
  msgid "Email sending has been paused."
3024
  msgstr ""
3025
 
3026
- #: views/newsletter/editor.html:370
3027
  msgid "Before you start, this how you drag and drop in MailPoet"
3028
  msgstr ""
3029
 
3030
- #: views/newsletter/editor.html:371
3031
  msgid "Hey %username%, you can now put text over any image."
3032
  msgstr ""
3033
 
3034
- #: views/newsletter/editor.html:372
3035
  msgid ""
3036
  "Simply edit any column block to add a background image. It works in pretty "
3037
  "much every email client, even on mobile."
3038
  msgstr ""
3039
 
3040
- #: views/newsletter/editor.html:373 views/newsletters.html:72
3041
  msgid "Select type"
3042
  msgstr ""
3043
 
3044
- #: views/newsletter/editor.html:374 views/newsletters.html:73
3045
  msgid "Events"
3046
  msgstr ""
3047
 
3048
- #: views/newsletter/editor.html:376 views/newsletters.html:75
3049
  msgid "Template"
3050
  msgstr ""
3051
 
3052
- #: views/newsletter/editor.html:377 views/newsletters.html:76
3053
  msgid "Designer"
3054
  msgstr ""
3055
 
3056
- #: views/newsletter/editor.html:378 views/newsletters.html:77
3057
  msgid "Send"
3058
  msgstr ""
3059
 
3060
- #: views/newsletter/editor.html:1001
3061
  msgid "Website"
3062
  msgstr ""
3063
 
3064
- #: views/newsletter/editor.html:1026
3065
  msgid "Custom"
3066
  msgstr ""
3067
 
3068
- #: views/newsletter/editor.html:1048 views/newsletter/editor.html:1050
3069
- #: views/newsletter/editor.html:1103 views/newsletter/editor.html:1105
3070
- #: views/newsletter/editor.html:1232 views/newsletter/editor.html:1234
3071
  msgid "Read more"
3072
  msgstr ""
3073
 
3074
- #: views/newsletter/editor.html:1143
3075
  #: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:243
3076
  #: views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs:255
3077
  #: views/newsletter/templates/blocks/button/settings.hbs:1
@@ -3080,31 +3080,31 @@ msgstr ""
3080
  msgid "Button"
3081
  msgstr ""
3082
 
3083
- #: views/newsletter/editor.html:1185
3084
  msgid "Add your postal address here!"
3085
  msgstr ""
3086
 
3087
- #: views/newsletter/editor.html:1205
3088
  msgid "An image of..."
3089
  msgstr ""
3090
 
3091
- #: views/newsletter/editor.html:1283
3092
  msgid "Facebook"
3093
  msgstr ""
3094
 
3095
- #: views/newsletter/editor.html:1294
3096
  msgid "Twitter"
3097
  msgstr ""
3098
 
3099
- #: views/newsletter/editor.html:1307
3100
  msgid "Edit this to insert text."
3101
  msgstr ""
3102
 
3103
- #: views/newsletter/editor.html:1310
3104
  msgid "Display problems?"
3105
  msgstr ""
3106
 
3107
- #: views/newsletter/editor.html:1311
3108
  msgid "Open this email in your web browser."
3109
  msgstr ""
3110
 
@@ -3187,21 +3187,21 @@ msgstr ""
3187
  #: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:74
3188
  #: views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs:74
3189
  #: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:29
3190
- #: views/newsletter/templates/components/sidebar/styles.hbs:48
3191
  msgid "Heading 1"
3192
  msgstr ""
3193
 
3194
  #: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:80
3195
  #: views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs:80
3196
  #: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:35
3197
- #: views/newsletter/templates/components/sidebar/styles.hbs:70
3198
  msgid "Heading 2"
3199
  msgstr ""
3200
 
3201
  #: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:86
3202
  #: views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs:86
3203
  #: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:41
3204
- #: views/newsletter/templates/components/sidebar/styles.hbs:92
3205
  msgid "Heading 3"
3206
  msgstr ""
3207
 
@@ -3398,7 +3398,7 @@ msgid "Edit settings"
3398
  msgstr ""
3399
 
3400
  #: views/newsletter/templates/blocks/base/toolsGeneric.hbs:6
3401
- #: views/newsletters.html:132
3402
  msgid "Delete"
3403
  msgstr ""
3404
 
@@ -3426,20 +3426,20 @@ msgstr ""
3426
  #: views/newsletter/templates/blocks/button/settings.hbs:47
3427
  #: views/newsletter/templates/blocks/footer/settings.hbs:6
3428
  #: views/newsletter/templates/blocks/header/settings.hbs:7
3429
- #: views/newsletter/templates/components/sidebar/styles.hbs:11
3430
- #: views/newsletter/templates/components/sidebar/styles.hbs:33
3431
- #: views/newsletter/templates/components/sidebar/styles.hbs:55
3432
- #: views/newsletter/templates/components/sidebar/styles.hbs:77
3433
  msgid "Standard fonts"
3434
  msgstr ""
3435
 
3436
  #: views/newsletter/templates/blocks/button/settings.hbs:52
3437
  #: views/newsletter/templates/blocks/footer/settings.hbs:11
3438
  #: views/newsletter/templates/blocks/header/settings.hbs:12
3439
- #: views/newsletter/templates/components/sidebar/styles.hbs:16
3440
- #: views/newsletter/templates/components/sidebar/styles.hbs:38
3441
- #: views/newsletter/templates/components/sidebar/styles.hbs:60
3442
- #: views/newsletter/templates/components/sidebar/styles.hbs:82
3443
  msgid "Custom fonts"
3444
  msgstr ""
3445
 
@@ -3450,7 +3450,7 @@ msgstr ""
3450
  #: views/newsletter/templates/blocks/text/settings.hbs:1
3451
  #: views/newsletter/templates/blocks/text/settings.hbs:2
3452
  #: views/newsletter/templates/blocks/text/widget.hbs:4
3453
- #: views/newsletter/templates/components/sidebar/styles.hbs:26
3454
  msgid "Text"
3455
  msgstr ""
3456
 
@@ -3572,13 +3572,13 @@ msgstr ""
3572
 
3573
  #: views/newsletter/templates/blocks/footer/settings.hbs:32
3574
  #: views/newsletter/templates/blocks/header/settings.hbs:33
3575
- #: views/newsletter/templates/components/sidebar/styles.hbs:97
3576
  msgid "Underline"
3577
  msgstr ""
3578
 
3579
  #: views/newsletter/templates/blocks/footer/settings.hbs:69
3580
  #: views/newsletter/templates/blocks/header/settings.hbs:70
3581
- #: views/newsletter/templates/components/sidebar/styles.hbs:111
3582
  msgid ""
3583
  "If an email client [link]does not support a custom web font[/link], a "
3584
  "similar standard font will be used instead."
@@ -3668,7 +3668,7 @@ msgstr ""
3668
  msgid "Preview text (usually displayed underneath the subject line in the inbox)"
3669
  msgstr ""
3670
 
3671
- #: views/newsletter/templates/components/save.hbs:2 views/newsletters.html:251
3672
  msgid "Next"
3673
  msgstr ""
3674
 
@@ -3723,827 +3723,823 @@ msgstr ""
3723
  msgid "Click to toggle"
3724
  msgstr ""
3725
 
3726
- #: views/newsletter/templates/components/sidebar/styles.hbs:103
3727
  msgid "Content background"
3728
  msgstr ""
3729
 
3730
- #: views/newsletter/templates/components/sidebar/styles.hbs:108
3731
  msgid "Global background"
3732
  msgstr ""
3733
 
3734
- #: views/newsletters.html:40
3735
  msgid "Newsletters"
3736
  msgstr ""
3737
 
3738
- #: views/newsletters.html:41
3739
  msgid "Welcome Emails"
3740
  msgstr ""
3741
 
3742
- #: views/newsletters.html:43
3743
  msgid "WooCommerce Emails"
3744
  msgstr ""
3745
 
3746
- #: views/newsletters.html:46
3747
  msgid "Loading emails..."
3748
  msgstr ""
3749
 
3750
- #: views/newsletters.html:47
3751
  msgid ""
3752
  "Nothing here yet! But, don't fret - there's no reason to get upset. Pretty "
3753
  "soon, you’ll be sending emails faster than a turbo-jet."
3754
  msgstr ""
3755
 
3756
- #: views/newsletters.html:48
3757
  msgid "All emails on this page are selected."
3758
  msgstr ""
3759
 
3760
- #: views/newsletters.html:49
3761
  msgid "All %d emails are selected."
3762
  msgstr ""
3763
 
3764
- #: views/newsletters.html:50
3765
  msgid "Select all emails on all pages"
3766
  msgstr ""
3767
 
3768
- #: views/newsletters.html:52
3769
  msgid "%d emails were permanently deleted."
3770
  msgstr ""
3771
 
3772
- #: views/newsletters.html:61 views/subscribers/importExport/import/step2.html:8
3773
  #: views/subscribers/importExport/import.html:45
3774
  #: views/subscribers/subscribers.html:41
3775
  msgid "Show more details"
3776
  msgstr ""
3777
 
3778
- #: views/newsletters.html:67 views/segments.html:62
3779
  msgid "Current page"
3780
  msgstr ""
3781
 
3782
- #: views/newsletters.html:79 views/newsletters.html:137
3783
  msgid "Subject"
3784
  msgstr ""
3785
 
3786
- #: views/newsletters.html:81
3787
  msgid "Statistics"
3788
  msgstr ""
3789
 
3790
- #: views/newsletters.html:82
3791
  msgid "Opened, Clicked"
3792
  msgstr ""
3793
 
3794
- #: views/newsletters.html:85
3795
  msgid "History"
3796
  msgstr ""
3797
 
3798
- #: views/newsletters.html:86
3799
  msgid "View history"
3800
  msgstr ""
3801
 
3802
- #: views/newsletters.html:87 views/segments.html:34
3803
  msgid "Created on"
3804
  msgstr ""
3805
 
3806
- #: views/newsletters.html:88 views/subscribers/subscribers.html:70
3807
  msgid "Last modified on"
3808
  msgstr ""
3809
 
3810
- #: views/newsletters.html:89
3811
  msgid "Sent on"
3812
  msgstr ""
3813
 
3814
- #: views/newsletters.html:90
3815
  msgid "1 email was moved to the trash."
3816
  msgstr ""
3817
 
3818
- #: views/newsletters.html:91
3819
  msgid "%$1d emails were moved to the trash."
3820
  msgstr ""
3821
 
3822
- #: views/newsletters.html:92
3823
  msgid "1 email was permanently deleted."
3824
  msgstr ""
3825
 
3826
- #: views/newsletters.html:93
3827
  msgid "%$1d emails were permanently deleted."
3828
  msgstr ""
3829
 
3830
- #: views/newsletters.html:94
3831
  msgid "1 email has been restored from the Trash."
3832
  msgstr ""
3833
 
3834
- #: views/newsletters.html:95
3835
  msgid "%$1d emails have been restored from the Trash."
3836
  msgstr ""
3837
 
3838
- #: views/newsletters.html:100
3839
  msgid "Email \"%$1s\" has been duplicated."
3840
  msgstr ""
3841
 
3842
- #: views/newsletters.html:101
3843
  msgid "Not sent yet"
3844
  msgstr ""
3845
 
3846
- #: views/newsletters.html:102
3847
  msgid "Scheduled for"
3848
  msgstr ""
3849
 
3850
- #: views/newsletters.html:103
3851
  msgid "Schedule it"
3852
  msgstr ""
3853
 
3854
- #: views/newsletters.html:105
3855
- msgid "Not Active"
3856
- msgstr ""
3857
-
3858
  #: views/newsletters.html:106
3859
- msgid "Sent to %$1d of %$2d"
3860
  msgstr ""
3861
 
3862
  #: views/newsletters.html:107
3863
- msgid "Sent to %$1d subscribers"
3864
  msgstr ""
3865
 
3866
- #: views/newsletters.html:108
3867
  msgid "Resume"
3868
  msgstr ""
3869
 
3870
- #: views/newsletters.html:110
3871
  msgid "Paused"
3872
  msgstr ""
3873
 
3874
- #: views/newsletters.html:113
3875
  msgid "Excellent"
3876
  msgstr ""
3877
 
3878
- #: views/newsletters.html:114
3879
  msgid "Congrats!"
3880
  msgstr ""
3881
 
3882
- #: views/newsletters.html:115
3883
  msgid "Good"
3884
  msgstr ""
3885
 
3886
- #: views/newsletters.html:116
3887
  msgid "Good stuff."
3888
  msgstr ""
3889
 
3890
- #: views/newsletters.html:117
3891
  msgid "Bad"
3892
  msgstr ""
3893
 
3894
- #: views/newsletters.html:118
3895
  msgid "Something to improve."
3896
  msgstr ""
3897
 
3898
- #: views/newsletters.html:119
3899
  msgid ""
3900
  "Above 30% is excellent.\\n"
3901
  "Between 10 and 30% is good.\\n"
3902
  "Under 10% is bad."
3903
  msgstr ""
3904
 
3905
- #: views/newsletters.html:120
3906
  msgid ""
3907
  "Above 3% is excellent.\\n"
3908
  "Between 1 and 3% is good.\\n"
3909
  "Under 1% is bad."
3910
  msgstr ""
3911
 
3912
- #: views/newsletters.html:121
3913
  msgid ""
3914
  "Under 1% is excellent.\\n"
3915
  "Between 1 and 3% is good.\\n"
3916
  "Over 3% is bad."
3917
  msgstr ""
3918
 
3919
- #: views/newsletters.html:122
3920
  msgid "Nice job! Check back in %$1d hour(s) for more stats."
3921
  msgstr ""
3922
 
3923
- #: views/newsletters.html:123
3924
  msgid "What can I do to improve this?"
3925
  msgstr ""
3926
 
3927
- #: views/newsletters.html:125
3928
  msgid "This template file appears to be damaged. Please try another one."
3929
  msgstr ""
3930
 
3931
- #: views/newsletters.html:126
3932
  msgid "Import a template"
3933
  msgstr ""
3934
 
3935
- #: views/newsletters.html:127
3936
  msgid "Select a .json file to upload"
3937
  msgstr ""
3938
 
3939
- #: views/newsletters.html:128
3940
  msgid ""
3941
  "You can only upload .json templates that were originally created with "
3942
  "MailPoet 3."
3943
  msgstr ""
3944
 
3945
- #: views/newsletters.html:129
3946
  msgid "Upload"
3947
  msgstr ""
3948
 
3949
- #: views/newsletters.html:130
3950
  msgid "MailPoet's Guide"
3951
  msgstr ""
3952
 
3953
- #: views/newsletters.html:131
3954
  msgid "You are about to delete the template named \"%$1s\"."
3955
  msgstr ""
3956
 
3957
- #: views/newsletters.html:135
3958
  msgid "Select a responsive template"
3959
  msgstr ""
3960
 
3961
- #: views/newsletters.html:138
3962
  msgid "Select type of email"
3963
  msgstr ""
3964
 
3965
- #: views/newsletters.html:141
3966
  msgid ""
3967
  "Send a newsletter with images, buttons, dividers, and social bookmarks. Or, "
3968
  "just send a basic text email."
3969
  msgstr ""
3970
 
3971
- #: views/newsletters.html:142
3972
  msgid "Create"
3973
  msgstr ""
3974
 
3975
- #: views/newsletters.html:143
3976
  msgid "Welcome Email"
3977
  msgstr ""
3978
 
3979
- #: views/newsletters.html:144
3980
  msgid ""
3981
  "Automatically send an email (or series of emails) to new subscribers or "
3982
  "WordPress users. Send a day, a week, or a month after they sign up."
3983
  msgstr ""
3984
 
3985
- #: views/newsletters.html:145
3986
  msgid "This is a Premium feature"
3987
  msgstr ""
3988
 
3989
- #: views/newsletters.html:146
3990
  msgid "Set up"
3991
  msgstr ""
3992
 
3993
- #: views/newsletters.html:147
3994
  msgid "Latest Post Notifications"
3995
  msgstr ""
3996
 
3997
- #: views/newsletters.html:148
3998
  msgid ""
3999
  "Let MailPoet email your subscribers with your latest content. You can send "
4000
  "daily, weekly, monthly, or even immediately after publication."
4001
  msgstr ""
4002
 
4003
- #: views/newsletters.html:149
4004
  msgid "Select a frequency"
4005
  msgstr ""
4006
 
4007
- #: views/newsletters.html:150
4008
  msgid ""
4009
  "Insert [newsletter:total] to show number of posts, [newsletter:post_title] "
4010
  "to show the latest post's title & [newsletter:number] to display the issue "
4011
  "number."
4012
  msgstr ""
4013
 
4014
- #: views/newsletters.html:151 views/settings/mta.html:110
4015
  #: views/settings/mta.html:139 views/settings/mta.html:649
4016
  #: views/settings/mta.html:1135
4017
  msgid "Activate"
4018
  msgstr ""
4019
 
4020
- #: views/newsletters.html:152
4021
  msgid "Send this Welcome Email when..."
4022
  msgstr ""
4023
 
4024
- #: views/newsletters.html:154
4025
  msgid "Once a day at..."
4026
  msgstr ""
4027
 
4028
- #: views/newsletters.html:155
4029
  msgid "Weekly on..."
4030
  msgstr ""
4031
 
4032
- #: views/newsletters.html:156
4033
  msgid "Monthly on the..."
4034
  msgstr ""
4035
 
4036
- #: views/newsletters.html:157
4037
  msgid "Monthly every..."
4038
  msgstr ""
4039
 
4040
- #: views/newsletters.html:158
4041
  msgid "Immediately"
4042
  msgstr ""
4043
 
4044
- #: views/newsletters.html:159
4045
  msgid "Sunday"
4046
  msgstr ""
4047
 
4048
- #: views/newsletters.html:160
4049
  msgid "Monday"
4050
  msgstr ""
4051
 
4052
- #: views/newsletters.html:161
4053
  msgid "Tuesday"
4054
  msgstr ""
4055
 
4056
- #: views/newsletters.html:162
4057
  msgid "Wednesday"
4058
  msgstr ""
4059
 
4060
- #: views/newsletters.html:163
4061
  msgid "Thursday"
4062
  msgstr ""
4063
 
4064
- #: views/newsletters.html:164
4065
  msgid "Friday"
4066
  msgstr ""
4067
 
4068
- #: views/newsletters.html:165
4069
  msgid "Saturday"
4070
  msgstr ""
4071
 
4072
- #: views/newsletters.html:166
4073
  msgid "1st"
4074
  msgstr ""
4075
 
4076
- #: views/newsletters.html:167
4077
  msgid "2nd"
4078
  msgstr ""
4079
 
4080
- #: views/newsletters.html:168
4081
  msgid "3rd"
4082
  msgstr ""
4083
 
4084
- #: views/newsletters.html:169
4085
  msgid "%$1dth"
4086
  msgstr ""
4087
 
4088
- #: views/newsletters.html:173
4089
  msgid "When is this Welcome Email sent?"
4090
  msgstr ""
4091
 
4092
- #: views/newsletters.html:175
4093
  msgid "When someone subscribes to the list..."
4094
  msgstr ""
4095
 
4096
- #: views/newsletters.html:176
4097
  msgid "When a new WordPress user is added to your site..."
4098
  msgstr ""
4099
 
4100
- #: views/newsletters.html:177
4101
  msgid "immediately"
4102
  msgstr ""
4103
 
4104
- #: views/newsletters.html:178
4105
  msgid "hour(s) later"
4106
  msgstr ""
4107
 
4108
- #: views/newsletters.html:179
4109
  msgid "day(s) later"
4110
  msgstr ""
4111
 
4112
- #: views/newsletters.html:180
4113
  msgid "week(s) later"
4114
  msgstr ""
4115
 
4116
- #: views/newsletters.html:182
4117
  msgid "Subject line"
4118
  msgstr ""
4119
 
4120
- #: views/newsletters.html:183
4121
  msgid ""
4122
  "Be creative! It's the first thing that your subscribers see. Tempt them to "
4123
  "open your email."
4124
  msgstr ""
4125
 
4126
- #: views/newsletters.html:184
4127
  msgid "Please specify a subject"
4128
  msgstr ""
4129
 
4130
- #: views/newsletters.html:186
4131
  msgid "This subscriber segment will be used for this email."
4132
  msgstr ""
4133
 
4134
- #: views/newsletters.html:187 views/subscribers/subscribers.html:60
4135
  msgid "Select a list"
4136
  msgstr ""
4137
 
4138
- #: views/newsletters.html:189
4139
  msgid "Sender"
4140
  msgstr ""
4141
 
4142
- #: views/newsletters.html:190
4143
  msgid "Your name and email"
4144
  msgstr ""
4145
 
4146
- #: views/newsletters.html:191 views/newsletters.html:195
4147
  msgid "John Doe"
4148
  msgstr ""
4149
 
4150
- #: views/newsletters.html:192 views/newsletters.html:196
4151
  msgid "john.doe@email.com"
4152
  msgstr ""
4153
 
4154
- #: views/newsletters.html:193 views/settings/basics.html:29
4155
  #: views/settings/signup.html:85
4156
  msgid "Reply-to"
4157
  msgstr ""
4158
 
4159
- #: views/newsletters.html:194
4160
  msgid ""
4161
  "When your subscribers reply to your emails, their emails will go to this "
4162
  "address."
4163
  msgstr ""
4164
 
4165
- #: views/newsletters.html:197
4166
  msgid "Email was updated successfully!"
4167
  msgstr ""
4168
 
4169
- #: views/newsletters.html:198
4170
  msgid "Email was added successfully!"
4171
  msgstr ""
4172
 
4173
- #: views/newsletters.html:199
4174
  msgid ""
4175
  "An error occurred while trying to send. <a href=\"%$1s\">Please check your "
4176
  "settings</a>."
4177
  msgstr ""
4178
 
4179
- #: views/newsletters.html:200
4180
  msgid "Final Step: Last Details"
4181
  msgstr ""
4182
 
4183
- #: views/newsletters.html:201
4184
  msgid "Save as draft and close"
4185
  msgstr ""
4186
 
4187
- #: views/newsletters.html:202
4188
  msgid ""
4189
  "You cannot send the same email twice, as that would be considered spam. <br "
4190
  "/> If you must send the same email more than one time, simply duplicate "
4191
  "this email first."
4192
  msgstr ""
4193
 
4194
- #: views/newsletters.html:203
4195
  msgid "or simply"
4196
  msgstr ""
4197
 
4198
- #: views/newsletters.html:204
4199
  msgid "go back to the Design page"
4200
  msgstr ""
4201
 
4202
- #: views/newsletters.html:205
4203
  msgid "Your website’s time is"
4204
  msgstr ""
4205
 
4206
- #: views/newsletters.html:206
4207
  msgid "Please enter the scheduled date."
4208
  msgstr ""
4209
 
4210
- #: views/newsletters.html:207
4211
  msgid "Schedule"
4212
  msgstr ""
4213
 
4214
- #: views/newsletters.html:208
4215
  msgid "Feedback?"
4216
  msgstr ""
4217
 
4218
- #: views/newsletters.html:209
4219
  msgid ""
4220
  "Click [link]here[/link] to give your feedback on this feature. We’d love to "
4221
  "hear from you."
4222
  msgstr ""
4223
 
4224
- #: views/newsletters.html:211
4225
  msgid "Close"
4226
  msgstr ""
4227
 
4228
- #: views/newsletters.html:212
4229
  msgid "Today"
4230
  msgstr ""
4231
 
4232
- #: views/newsletters.html:225
4233
  msgid "Jan"
4234
  msgstr ""
4235
 
4236
- #: views/newsletters.html:226
4237
  msgid "Feb"
4238
  msgstr ""
4239
 
4240
- #: views/newsletters.html:227
4241
  msgid "Mar"
4242
  msgstr ""
4243
 
4244
- #: views/newsletters.html:228
4245
  msgid "Apr"
4246
  msgstr ""
4247
 
4248
- #: views/newsletters.html:230
4249
  msgid "Jun"
4250
  msgstr ""
4251
 
4252
- #: views/newsletters.html:231
4253
  msgid "Jul"
4254
  msgstr ""
4255
 
4256
- #: views/newsletters.html:232
4257
  msgid "Aug"
4258
  msgstr ""
4259
 
4260
- #: views/newsletters.html:233
4261
  msgid "Sep"
4262
  msgstr ""
4263
 
4264
- #: views/newsletters.html:234
4265
  msgid "Oct"
4266
  msgstr ""
4267
 
4268
- #: views/newsletters.html:235
4269
  msgid "Nov"
4270
  msgstr ""
4271
 
4272
- #: views/newsletters.html:236
4273
  msgid "Dec"
4274
  msgstr ""
4275
 
4276
- #: views/newsletters.html:237
4277
  msgid "Sun"
4278
  msgstr ""
4279
 
4280
- #: views/newsletters.html:238
4281
  msgid "Mon"
4282
  msgstr ""
4283
 
4284
- #: views/newsletters.html:239
4285
  msgid "Tue"
4286
  msgstr ""
4287
 
4288
- #: views/newsletters.html:240
4289
  msgid "Wed"
4290
  msgstr ""
4291
 
4292
- #: views/newsletters.html:241
4293
  msgid "Thu"
4294
  msgstr ""
4295
 
4296
- #: views/newsletters.html:242
4297
  msgid "Fri"
4298
  msgstr ""
4299
 
4300
- #: views/newsletters.html:243
4301
  msgid "Sat"
4302
  msgstr ""
4303
 
4304
- #: views/newsletters.html:252
4305
  msgid "Previous"
4306
  msgstr ""
4307
 
4308
- #: views/newsletters.html:253
4309
  msgid "The newsletter is being sent..."
4310
  msgstr ""
4311
 
4312
- #: views/newsletters.html:254
4313
  msgid "The newsletter has been scheduled."
4314
  msgstr ""
4315
 
4316
- #: views/newsletters.html:255
4317
  msgid "The newsletter sending has been resumed."
4318
  msgstr ""
4319
 
4320
- #: views/newsletters.html:256
4321
  msgid "Your Welcome Email is now activated!"
4322
  msgstr ""
4323
 
4324
- #: views/newsletters.html:257
4325
  msgid "Your Welcome Email could not be activated, please check the settings."
4326
  msgstr ""
4327
 
4328
- #: views/newsletters.html:258
4329
  msgid "Your post notification is now active!"
4330
  msgstr ""
4331
 
4332
- #: views/newsletters.html:259
4333
  msgid "Your Post Notification could not be activated, check the settings."
4334
  msgstr ""
4335
 
4336
- #: views/newsletters.html:260
4337
  msgid "This newsletter is sent when someone subscribes to the list: \"%$1s\"."
4338
  msgstr ""
4339
 
4340
- #: views/newsletters.html:261
4341
  msgid "This newsletter is sent when a new WordPress user is added to your site."
4342
  msgstr ""
4343
 
4344
- #: views/newsletters.html:262
4345
  msgid ""
4346
  "This newsletter is sent when a new WordPress user with the role \"%$1s\" is "
4347
  "added to your site."
4348
  msgstr ""
4349
 
4350
- #: views/newsletters.html:263
4351
  msgid "%$1d hour(s) later"
4352
  msgstr ""
4353
 
4354
- #: views/newsletters.html:264
4355
  msgid "%$1d day(s) later"
4356
  msgstr ""
4357
 
4358
- #: views/newsletters.html:265
4359
  msgid "%$1d week(s) later"
4360
  msgstr ""
4361
 
4362
- #: views/newsletters.html:266
4363
  msgid "Invalid sending delay"
4364
  msgstr ""
4365
 
4366
- #: views/newsletters.html:267
4367
  msgid "Send daily at %$1s"
4368
  msgstr ""
4369
 
4370
- #: views/newsletters.html:268
4371
  msgid "Send weekly on %$1s at %$2s"
4372
  msgstr ""
4373
 
4374
- #: views/newsletters.html:269
4375
  msgid "Send monthly on the %$1s at %$2s"
4376
  msgstr ""
4377
 
4378
- #: views/newsletters.html:270
4379
  msgid "Send every %$1s %$2s of the month at %$3s"
4380
  msgstr ""
4381
 
4382
- #: views/newsletters.html:271
4383
  msgid "Send immediately"
4384
  msgstr ""
4385
 
4386
- #: views/newsletters.html:272
4387
  msgid "if there's new content to %$1s."
4388
  msgstr ""
4389
 
4390
- #: views/newsletters.html:273
4391
  msgid "You need to select a list to send to."
4392
  msgstr ""
4393
 
4394
- #: views/newsletters.html:275
4395
  msgid "Back to Post notifications"
4396
  msgstr ""
4397
 
4398
- #: views/newsletters.html:276
4399
  msgid "No subscribers!"
4400
  msgstr ""
4401
 
4402
- #: views/newsletters.html:278
4403
  msgid ""
4404
  "Sending is paused because %$1s prevents MailPoet from delivering emails "
4405
  "with the following error: %$2s"
4406
  msgstr ""
4407
 
4408
- #: views/newsletters.html:279
4409
  msgid ""
4410
  "Sending is paused because the following connection issue prevents MailPoet "
4411
  "from delivering emails: %$1s"
4412
  msgstr ""
4413
 
4414
- #: views/newsletters.html:280
4415
  msgid "Error code: %$1s"
4416
  msgstr ""
4417
 
4418
- #: views/newsletters.html:281
4419
  msgid "Check your [link]sending method settings[/link]."
4420
  msgstr ""
4421
 
4422
- #: views/newsletters.html:282
4423
  msgid "Resume sending"
4424
  msgstr ""
4425
 
4426
- #: views/newsletters.html:283
4427
  msgid "Sending has been resumed."
4428
  msgstr ""
4429
 
4430
- #: views/newsletters.html:284
4431
  msgid ""
4432
  "Sending is in progress. Do you want to pause sending and edit the "
4433
  "newsletter?"
4434
  msgstr ""
4435
 
4436
- #: views/newsletters.html:285
4437
  msgid "Confirm to proceed"
4438
  msgstr ""
4439
 
4440
- #: views/newsletters.html:286
4441
  msgid "Confirm"
4442
  msgstr ""
4443
 
4444
- #: views/newsletters.html:289
4445
  msgid "Recently sent"
4446
  msgstr ""
4447
 
4448
- #: views/newsletters.html:290
4449
  msgid "Your saved templates"
4450
  msgstr ""
4451
 
4452
- #: views/newsletters.html:291
4453
  msgid "Template preview"
4454
  msgstr ""
4455
 
4456
- #: views/newsletters.html:296
4457
  msgid "This category does not contain any template yet!"
4458
  msgstr ""
4459
 
4460
- #: views/newsletters.html:298
4461
  msgid "Soon"
4462
  msgstr ""
4463
 
4464
- #: views/newsletters.html:299
4465
  msgid "Beta"
4466
  msgstr ""
4467
 
4468
- #: views/newsletters.html:300
4469
  msgid "An error occured while saving the template in \"Recently sent\""
4470
  msgstr ""
4471
 
4472
- #: views/newsletters.html:301
4473
  msgid "Select %$1s events"
4474
  msgstr ""
4475
 
4476
- #: views/newsletters.html:302
4477
  msgid ""
4478
  "Oops! There seems to be an issue with the sending on your website. "
4479
  "[link]See our guide[/link] to solve this yourself."
4480
  msgstr ""
4481
 
4482
- #: views/newsletters.html:304
4483
  msgid ""
4484
  "Welcome on board. Let’s get you started quickly. Here, you can create new "
4485
  "lists."
4486
  msgstr ""
4487
 
4488
- #: views/newsletters.html:305
4489
  msgid ""
4490
  "Create a form and add it to your website so your visitors can subscribe to "
4491
  "your list."
4492
  msgstr ""
4493
 
4494
- #: views/newsletters.html:306
4495
  msgid ""
4496
  "You have a question? Start a chat or send a message to get an answer from "
4497
  "our support team."
4498
  msgstr ""
4499
 
4500
- #: views/newsletters.html:307
4501
  msgid ""
4502
  "We suggest you begin by creating a newsletter, a welcome email or a post "
4503
  "notification. Enjoy!"
4504
  msgstr ""
4505
 
4506
- #: views/newsletters.html:313
4507
  msgid "Welcome Emails are now free for everyone"
4508
  msgstr ""
4509
 
4510
- #: views/newsletters.html:314
4511
  msgid ""
4512
  "Say “Hello!” automatically to all your new subscribers. They’ll appreciate "
4513
  "the extra touch."
4514
  msgstr ""
4515
 
4516
- #: views/newsletters.html:316
4517
  msgid "Congratulations, your newsletter is being sent!"
4518
  msgstr ""
4519
 
4520
- #: views/newsletters.html:317
4521
  msgid "Congratulations, your newsletter is scheduled to be sent."
4522
  msgstr ""
4523
 
4524
- #: views/newsletters.html:318
4525
  msgid "Congratulations, your WooCommerce email has been activated."
4526
  msgstr ""
4527
 
4528
- #: views/newsletters.html:319
4529
  msgid "Congratulations, your Post Notification is now active."
4530
  msgstr ""
4531
 
4532
- #: views/newsletters.html:320
4533
  msgid "Congratulations, your Welcome Email is now active."
4534
  msgstr ""
4535
 
4536
- #: views/newsletters.html:321
4537
  msgid "Oops! We can’t send your newsletter 😕"
4538
  msgstr ""
4539
 
4540
- #: views/newsletters.html:322
4541
  msgid ""
4542
  "Rest assured, this is fairly common and is usually fixed quickly. [link]See "
4543
  "our quick guide[/link] to help you solve this and get your website sending."
4544
  msgstr ""
4545
 
4546
- #: views/newsletters.html:323
4547
  msgid ""
4548
  "Congrats, you’re sending your first newsletter! We’re doing a quick "
4549
  "verification to make sure everything works fine."
@@ -6023,6 +6019,38 @@ msgctxt "segments per page (screen options)"
6023
  msgid "Number of segments per page"
6024
  msgstr ""
6025
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6026
  #: lib/Subscribers/ImportExport/ImportExportFactory.php:52
6027
  msgctxt "Subscription status"
6028
  msgid "List status"
@@ -6123,22 +6151,42 @@ msgctxt "Text of a link to email preview page."
6123
  msgid "Preview"
6124
  msgstr ""
6125
 
6126
- #: views/newsletter/editor.html:367
6127
  msgctxt "select color"
6128
  msgid "Select"
6129
  msgstr ""
6130
 
6131
- #: views/newsletter/editor.html:368
6132
  msgctxt "cancel color selection"
6133
  msgid "Cancel"
6134
  msgstr ""
6135
 
6136
- #: views/newsletter/editor.html:375 views/newsletters.html:74
6137
  msgctxt "Configuration options for automatic email events"
6138
  msgid "Conditions"
6139
  msgstr ""
6140
 
6141
- #: views/newsletters.html:133 views/subscribers/importExport/export.html:32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6142
  #: views/subscribers/importExport/export.html:49
6143
  #: views/subscribers/importExport/import/step1.html:100
6144
  #: views/subscribers/importExport/import/step2.html:41
@@ -6146,82 +6194,77 @@ msgctxt "Verb"
6146
  msgid "Select"
6147
  msgstr ""
6148
 
6149
- #: views/newsletters.html:170
6150
  msgctxt "e.g. monthly every last Monday"
6151
  msgid "last"
6152
  msgstr ""
6153
 
6154
- #: views/newsletters.html:171
6155
  msgctxt "Button label: Next step"
6156
  msgid "Next"
6157
  msgstr ""
6158
 
6159
- #: views/newsletters.html:244
6160
  msgctxt "Sunday - one letter abbreviation"
6161
  msgid "S"
6162
  msgstr ""
6163
 
6164
- #: views/newsletters.html:245
6165
  msgctxt "Monday - one letter abbreviation"
6166
  msgid "M"
6167
  msgstr ""
6168
 
6169
- #: views/newsletters.html:246
6170
  msgctxt "Tuesday - one letter abbreviation"
6171
  msgid "T"
6172
  msgstr ""
6173
 
6174
- #: views/newsletters.html:247
6175
  msgctxt "Wednesday - one letter abbreviation"
6176
  msgid "W"
6177
  msgstr ""
6178
 
6179
- #: views/newsletters.html:248
6180
  msgctxt "Thursday - one letter abbreviation"
6181
  msgid "T"
6182
  msgstr ""
6183
 
6184
- #: views/newsletters.html:249
6185
  msgctxt "Friday - one letter abbreviation"
6186
  msgid "F"
6187
  msgstr ""
6188
 
6189
- #: views/newsletters.html:250
6190
  msgctxt "Saturday - one letter abbreviation"
6191
  msgid "S"
6192
  msgstr ""
6193
 
6194
- #: views/newsletters.html:293
6195
- msgctxt "Blank newsletters templates category"
6196
- msgid "Blank"
6197
- msgstr ""
6198
-
6199
- #: views/newsletters.html:294
6200
- msgctxt "Sample newsletters templates category"
6201
- msgid "Sample"
6202
  msgstr ""
6203
 
6204
- #: views/newsletters.html:295
6205
  msgctxt "Importing template tab title"
6206
  msgid "Import"
6207
  msgstr ""
6208
 
6209
- #: views/newsletters.html:308 views/welcome_wizard.html:41
6210
  msgctxt "A label on a button"
6211
  msgid "Next"
6212
  msgstr ""
6213
 
6214
- #: views/newsletters.html:309
6215
  msgctxt "A label on a button"
6216
  msgid "Back"
6217
  msgstr ""
6218
 
6219
- #: views/newsletters.html:310
6220
  msgctxt "A label on a button"
6221
  msgid "Skip"
6222
  msgstr ""
6223
 
6224
- #: views/newsletters.html:311
6225
  msgctxt "A label on a button"
6226
  msgid "Done"
6227
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
7
+ "POT-Creation-Date: 2018-11-20 09:28:07+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
26
  "X-Poedit-Bookmarks: \n"
27
  "X-Textdomain-Support: yes\n"
28
 
29
+ #: lib/API/API.php:30
30
  msgid "Invalid API version."
31
  msgstr ""
32
 
33
+ #: lib/API/JSON/API.php:75
34
  msgid ""
35
  "Sorry, but we couldn't connect to the MailPoet server. Please refresh the "
36
  "web page and try again."
37
  msgstr ""
38
 
39
+ #: lib/API/JSON/API.php:102
40
  msgid "Invalid API request."
41
  msgstr ""
42
 
43
+ #: lib/API/JSON/API.php:143
44
  msgid "Invalid API endpoint."
45
  msgstr ""
46
 
47
+ #: lib/API/JSON/API.php:154
48
  msgid "Invalid API endpoint method."
49
  msgstr ""
50
 
51
+ #: lib/API/JSON/API.php:160 lib/Router/Router.php:52
52
  msgid "You do not have the required permissions."
53
  msgstr ""
54
 
75
  msgstr ""
76
 
77
  #: lib/API/JSON/v1/Forms.php:70 lib/API/JSON/v1/Forms.php:74
78
+ #: lib/API/MP/v1/API.php:42
79
  #: lib/Subscribers/ImportExport/ImportExportFactory.php:44
80
  #: lib/Subscribers/ImportExport/PersonalDataExporters/SubscriberExporter.php:40
81
+ #: views/help.html:69 views/newsletter/editor.html:1005
82
+ #: views/newsletter/editor.html:1006
83
  msgid "Email"
84
  msgstr ""
85
 
91
  msgid "Subscribe!"
92
  msgstr ""
93
 
94
+ #: lib/API/JSON/v1/Forms.php:90 lib/Config/PopulatorData/DefaultForm.php:62
95
  msgid "Check your inbox or spam folder to confirm your subscription."
96
  msgstr ""
97
 
132
 
133
  #: lib/API/JSON/v1/Segments.php:24 lib/API/JSON/v1/Segments.php:75
134
  #: lib/API/JSON/v1/Segments.php:91 lib/API/JSON/v1/Segments.php:107
135
+ #: lib/API/JSON/v1/Segments.php:121 lib/API/MP/v1/API.php:85
136
+ #: lib/API/MP/v1/API.php:136
137
  msgid "This list does not exist."
138
  msgstr ""
139
 
213
 
214
  #: lib/API/JSON/v1/Subscribers.php:37 lib/API/JSON/v1/Subscribers.php:222
215
  #: lib/API/JSON/v1/Subscribers.php:238 lib/API/JSON/v1/Subscribers.php:254
216
+ #: lib/API/MP/v1/API.php:79 lib/API/MP/v1/API.php:130 lib/API/MP/v1/API.php:271
217
  msgid "This subscriber does not exist."
218
  msgstr ""
219
 
241
  msgid "You need to wait %d seconds before subscribing again."
242
  msgstr ""
243
 
244
+ #: lib/API/MP/v1/API.php:46
245
  #: lib/Subscribers/ImportExport/ImportExportFactory.php:45
246
  #: lib/Subscription/Pages.php:295 views/form/editor.html:232
247
  #: views/form/editor.html:235 views/subscribers/subscribers.html:53
248
  msgid "First name"
249
  msgstr ""
250
 
251
+ #: lib/API/MP/v1/API.php:50
252
  #: lib/Subscribers/ImportExport/ImportExportFactory.php:46
253
  #: lib/Subscription/Pages.php:304 views/form/editor.html:241
254
  #: views/form/editor.html:244 views/subscribers/subscribers.html:54
255
  msgid "Last name"
256
  msgstr ""
257
 
258
+ #: lib/API/MP/v1/API.php:73 lib/API/MP/v1/API.php:124
259
  msgid "At least one segment ID is required."
260
  msgstr ""
261
 
262
+ #: lib/API/MP/v1/API.php:102 lib/API/MP/v1/API.php:153
263
  msgid "List with ID %s does not exist."
264
  msgid_plural "Lists with IDs %s do not exist."
265
  msgstr[0] ""
266
  msgstr[1] ""
267
 
268
+ #: lib/API/MP/v1/API.php:175
269
  msgid "Subscriber email address is required."
270
  msgstr ""
271
 
272
+ #: lib/API/MP/v1/API.php:182
273
  msgid "This subscriber already exists."
274
  msgstr ""
275
 
276
+ #: lib/API/MP/v1/API.php:240
277
  msgid "List name is required."
278
  msgstr ""
279
 
280
+ #: lib/API/MP/v1/API.php:247
281
  msgid "This list already exists."
282
  msgstr ""
283
 
305
  msgid "Manage segments"
306
  msgstr ""
307
 
308
+ #: lib/Config/Capabilities.php:67 lib/Config/Menu.php:708
309
  #: lib/Config/PrivacyPolicy.php:11 views/premium.html:56
310
  msgid "MailPoet"
311
  msgstr ""
407
  msgid "Settings imported"
408
  msgstr ""
409
 
410
+ #: lib/Config/Menu.php:91 lib/Config/Menu.php:92 views/newsletters.html:39
411
  msgid "Emails"
412
  msgstr ""
413
 
414
  #: lib/Config/Menu.php:116 lib/Newsletter/Shortcodes/ShortcodesHelper.php:33
415
+ #: views/newsletters.html:144
416
  msgid "Newsletter"
417
  msgstr ""
418
 
448
  msgstr ""
449
 
450
  #: lib/Config/Menu.php:218 lib/Config/Menu.php:219 views/forms.html:58
451
+ #: views/newsletters.html:84 views/newsletters.html:189 views/segments.html:13
452
  #: views/subscribers/subscribers.html:68
453
  msgid "Lists"
454
  msgstr ""
455
 
456
  #: lib/Config/Menu.php:245 lib/Config/Menu.php:246 views/form/editor.html:43
457
+ #: views/mp2migration.html:14 views/newsletters.html:85 views/settings.html:6
458
  msgid "Settings"
459
  msgstr ""
460
 
482
  msgid "In any WordPress role"
483
  msgstr ""
484
 
485
+ #: lib/Config/Menu.php:590
486
  msgid "WooCommerce"
487
  msgstr ""
488
 
489
+ #: lib/Config/Menu.php:591
490
  msgid ""
491
  "Automatically send an email when there is a new WooCommerce product, order "
492
  "and some other action takes place."
493
  msgstr ""
494
 
495
+ #: lib/Config/Menu.php:595
496
  msgid "Abandoned Shopping Cart"
497
  msgstr ""
498
 
499
+ #: lib/Config/Menu.php:596
500
  msgid ""
501
  "Send an email to logged-in visitors who have items in their shopping carts "
502
  "but left your website without checking out. Can convert up to 5% of "
503
  "abandoned carts."
504
  msgstr ""
505
 
506
+ #: lib/Config/Menu.php:599 lib/Config/Menu.php:618
507
  msgid "Must-have"
508
  msgstr ""
509
 
510
+ #: lib/Config/Menu.php:605
511
  msgid "Big Spender"
512
  msgstr ""
513
 
514
+ #: lib/Config/Menu.php:606
515
  msgid ""
516
  "Let MailPoet send an email to customers who have spent a certain amount to "
517
  "thank them, possibly with a coupon."
518
  msgstr ""
519
 
520
+ #: lib/Config/Menu.php:609
521
  msgid "Smart to have"
522
  msgstr ""
523
 
524
+ #: lib/Config/Menu.php:615
525
  msgid "First Purchase"
526
  msgstr ""
527
 
528
+ #: lib/Config/Menu.php:616
529
  msgid "Let MailPoet send an email to customers who make their first purchase."
530
  msgstr ""
531
 
532
+ #: lib/Config/Menu.php:624
533
  msgid "Purchased In This Category"
534
  msgstr ""
535
 
536
+ #: lib/Config/Menu.php:625
537
  msgid ""
538
  "Let MailPoet send an email to customers who purchase a product from a "
539
  "specific category."
540
  msgstr ""
541
 
542
+ #: lib/Config/Menu.php:630
543
  msgid "Purchased This Product"
544
  msgstr ""
545
 
546
+ #: lib/Config/Menu.php:631
547
  msgid "Let MailPoet send an email to customers who purchase a specific product."
548
  msgstr ""
549
 
574
  "might work within a MultiSite environment, we don’t support it."
575
  msgstr ""
576
 
577
+ #: lib/Config/Populator.php:202
578
  msgid "My First List"
579
  msgstr ""
580
 
581
+ #: lib/Config/Populator.php:204
582
  msgid "This list is automatically created when you install MailPoet."
583
  msgstr ""
584
 
585
+ #: lib/Config/PopulatorData/DefaultForm.php:41
586
+ msgid ""
587
+ "We keep your data private and share your data only with third parties that "
588
+ "make this service possible. <a href=\"\">Read our Privacy Policy.</a>"
589
+ msgstr ""
590
+
591
  #: lib/Config/PopulatorData/Templates/AppWelcome.php:17
592
  msgid "App Welcome"
593
  msgstr ""
898
  msgstr ""
899
 
900
  #: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:161
901
+ #: views/newsletter/editor.html:1043 views/newsletter/editor.html:1098
902
+ #: views/newsletter/editor.html:1227
903
  msgid "Author:"
904
  msgstr ""
905
 
906
  #: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:163
907
+ #: views/newsletter/editor.html:1045 views/newsletter/editor.html:1100
908
+ #: views/newsletter/editor.html:1229
909
  msgid "Categories:"
910
  msgstr ""
911
 
1215
  msgstr ""
1216
 
1217
  #: lib/Form/Block/Base.php:23 views/form/editor.html:61
1218
+ #: views/newsletters.html:192
1219
  msgid "Please select a list"
1220
  msgstr ""
1221
 
1275
  msgid "Month (January, February,...)"
1276
  msgstr ""
1277
 
1278
+ #: lib/Form/Block/Date.php:124 views/newsletters.html:217
1279
  #: views/subscribers/importExport/import.html:54
1280
  msgid "January"
1281
  msgstr ""
1282
 
1283
+ #: lib/Form/Block/Date.php:124 views/newsletters.html:218
1284
  #: views/subscribers/importExport/import.html:55
1285
  msgid "February"
1286
  msgstr ""
1287
 
1288
+ #: lib/Form/Block/Date.php:124 views/newsletters.html:219
1289
  #: views/subscribers/importExport/import.html:56
1290
  msgid "March"
1291
  msgstr ""
1292
 
1293
+ #: lib/Form/Block/Date.php:124 views/newsletters.html:220
1294
  #: views/subscribers/importExport/import.html:57
1295
  msgid "April"
1296
  msgstr ""
1297
 
1298
+ #: lib/Form/Block/Date.php:125 views/newsletters.html:221
1299
+ #: views/newsletters.html:233 views/subscribers/importExport/import.html:58
1300
  msgid "May"
1301
  msgstr ""
1302
 
1303
+ #: lib/Form/Block/Date.php:125 views/newsletters.html:222
1304
  #: views/subscribers/importExport/import.html:59
1305
  msgid "June"
1306
  msgstr ""
1307
 
1308
+ #: lib/Form/Block/Date.php:125 views/newsletters.html:223
1309
  #: views/subscribers/importExport/import.html:60
1310
  msgid "July"
1311
  msgstr ""
1312
 
1313
+ #: lib/Form/Block/Date.php:125 views/newsletters.html:224
1314
  #: views/subscribers/importExport/import.html:61
1315
  msgid "August"
1316
  msgstr ""
1317
 
1318
+ #: lib/Form/Block/Date.php:125 views/newsletters.html:225
1319
  #: views/subscribers/importExport/import.html:62
1320
  msgid "September"
1321
  msgstr ""
1322
 
1323
+ #: lib/Form/Block/Date.php:126 views/newsletters.html:226
1324
  #: views/subscribers/importExport/import.html:63
1325
  msgid "October"
1326
  msgstr ""
1327
 
1328
+ #: lib/Form/Block/Date.php:126 views/newsletters.html:227
1329
  #: views/subscribers/importExport/import.html:64
1330
  msgid "November"
1331
  msgstr ""
1332
 
1333
+ #: lib/Form/Block/Date.php:126 views/newsletters.html:228
1334
  #: views/subscribers/importExport/import.html:65
1335
  msgid "December"
1336
  msgstr ""
1449
  msgid "Please specify a type."
1450
  msgstr ""
1451
 
1452
+ #: lib/Models/Form.php:97 lib/Models/Newsletter.php:739
1453
  #: lib/Models/Segment.php:133 lib/Models/Subscriber.php:276
1454
  msgid "All"
1455
  msgstr ""
1456
 
1457
+ #: lib/Models/Form.php:102 lib/Models/Newsletter.php:810
1458
  #: lib/Models/Segment.php:138 lib/Models/Subscriber.php:301 views/forms.html:71
1459
+ #: views/newsletters.html:97 views/segments.html:50
1460
  #: views/subscribers/subscribers.html:38
1461
  msgid "Trash"
1462
  msgstr ""
1470
  msgid "Deleted list"
1471
  msgstr ""
1472
 
1473
+ #: lib/Models/Newsletter.php:635 lib/Models/Subscriber.php:212
1474
  msgid "All Lists"
1475
  msgstr ""
1476
 
1477
+ #: lib/Models/Newsletter.php:751
1478
  #: views/newsletter/templates/blocks/posts/settingsSelection.hbs:12
1479
  msgid "Draft"
1480
  msgstr ""
1481
 
1482
+ #: lib/Models/Newsletter.php:759
1483
  #: views/newsletter/templates/blocks/posts/settingsSelection.hbs:11
1484
  msgid "Scheduled"
1485
  msgstr ""
1486
 
1487
+ #: lib/Models/Newsletter.php:767
1488
  msgid "Sending"
1489
  msgstr ""
1490
 
1491
+ #: lib/Models/Newsletter.php:775
1492
  msgid "Sent"
1493
  msgstr ""
1494
 
1495
+ #: lib/Models/Newsletter.php:790 views/newsletters.html:105
1496
  msgid "Active"
1497
  msgstr ""
1498
 
1499
+ #: lib/Models/Newsletter.php:798
1500
  msgid "Not active"
1501
  msgstr ""
1502
 
1613
  msgid "Newsletter Subject"
1614
  msgstr ""
1615
 
1616
+ #: lib/Newsletter/Shortcodes/ShortcodesHelper.php:39 views/newsletters.html:43
1617
  msgid "Post Notifications"
1618
  msgstr ""
1619
 
1657
  #: lib/Newsletter/Shortcodes/ShortcodesHelper.php:79
1658
  #: views/newsletter/templates/blocks/footer/settings.hbs:29
1659
  #: views/newsletter/templates/blocks/header/settings.hbs:30
1660
+ #: views/newsletter/templates/components/sidebar/styles.hbs:96
1661
  msgid "Links"
1662
  msgstr ""
1663
 
1666
  msgstr ""
1667
 
1668
  #: lib/Newsletter/Shortcodes/ShortcodesHelper.php:85
1669
+ #: views/newsletter/editor.html:1184
1670
  msgid "Unsubscribe"
1671
  msgstr ""
1672
 
1675
  msgstr ""
1676
 
1677
  #: lib/Newsletter/Shortcodes/ShortcodesHelper.php:93
1678
+ #: views/newsletter/editor.html:1184
1679
  msgid "Manage subscription"
1680
  msgstr ""
1681
 
1871
  msgstr ""
1872
 
1873
  #: lib/Subscribers/ImportExport/PersonalDataExporters/SubscriberExporter.php:44
1874
+ #: lib/Subscription/Pages.php:314 views/help.html:49 views/newsletters.html:81
1875
  #: views/subscribers/subscribers.html:55 views/subscribers/subscribers.html:67
1876
  msgid "Status"
1877
  msgstr ""
2144
 
2145
  #: views/form/editor.html:193
2146
  #: views/newsletter/templates/components/sidebar/preview.hbs:2
2147
+ #: views/newsletters.html:138 views/newsletters.html:296
2148
  #: views/settings/basics.html:242 views/settings/basics.html:300
2149
  #: views/settings/signup.html:177
2150
  msgid "Preview"
2398
  "MailPoet if you need fancier forms."
2399
  msgstr ""
2400
 
2401
+ #: views/forms.html:17 views/newsletters.html:143
2402
  #: views/subscribers/importExport/import/step1.html:27
2403
  msgid "See video guide"
2404
  msgstr ""
2405
 
2406
+ #: views/forms.html:31 views/newsletters.html:46 views/segments.html:14
2407
  #: views/subscribers/subscribers.html:20
2408
  msgid "Search"
2409
  msgstr ""
2428
  msgid "Select all forms on all pages"
2429
  msgstr ""
2430
 
2431
+ #: views/forms.html:37 views/newsletters.html:52 views/segments.html:20
2432
  #: views/subscribers/subscribers.html:28
2433
  msgid "Clear selection"
2434
  msgstr ""
2437
  msgid "%d forms permanently deleted."
2438
  msgstr ""
2439
 
2440
+ #: views/forms.html:39 views/newsletters.html:54 views/segments.html:22
2441
  #: views/subscribers/subscribers.html:30
2442
  msgid "Select bulk action"
2443
  msgstr ""
2444
 
2445
+ #: views/forms.html:40 views/newsletters.html:55 views/segments.html:23
2446
  #: views/subscribers/subscribers.html:31
2447
  msgid "Bulk Actions"
2448
  msgstr ""
2449
 
2450
+ #: views/forms.html:41 views/newsletters.html:56 views/segments.html:24
2451
  #: views/subscribers/subscribers.html:32
2452
  msgid "Apply"
2453
  msgstr ""
2454
 
2455
+ #: views/forms.html:42 views/newsletters.html:57
2456
  #: views/subscribers/subscribers.html:33
2457
  msgid "Filter"
2458
  msgstr ""
2459
 
2460
+ #: views/forms.html:43 views/newsletters.html:58 views/segments.html:52
2461
  #: views/subscribers/subscribers.html:34
2462
  msgid "Empty Trash"
2463
  msgstr ""
2464
 
2465
+ #: views/forms.html:44 views/newsletters.html:59 views/segments.html:53
2466
  #: views/subscribers/subscribers.html:35
2467
  msgid "Select All"
2468
  msgstr ""
2469
 
2470
+ #: views/forms.html:45 views/newsletters.html:60 views/segments.html:54
2471
  #: views/subscribers/subscribers.html:37
2472
  msgid "Restore"
2473
  msgstr ""
2474
 
2475
+ #: views/forms.html:46 views/newsletters.html:61
2476
  #: views/subscribers/subscribers.html:40
2477
  msgid "Delete Permanently"
2478
  msgstr ""
2479
 
2480
+ #: views/forms.html:48 views/newsletters.html:64 views/segments.html:58
2481
  #: views/subscribers/subscribers.html:43
2482
  msgid "Previous page"
2483
  msgstr ""
2484
 
2485
+ #: views/forms.html:49 views/newsletters.html:65 views/segments.html:59
2486
  #: views/subscribers/subscribers.html:44
2487
  msgid "First page"
2488
  msgstr ""
2489
 
2490
+ #: views/forms.html:50 views/newsletters.html:66 views/segments.html:60
2491
  #: views/subscribers/subscribers.html:45
2492
  msgid "Next page"
2493
  msgstr ""
2494
 
2495
+ #: views/forms.html:51 views/newsletters.html:67 views/segments.html:61
2496
  #: views/subscribers/subscribers.html:46
2497
  msgid "Last page"
2498
  msgstr ""
2501
  msgid "Current Page"
2502
  msgstr ""
2503
 
2504
+ #: views/forms.html:53 views/newsletters.html:69 views/segments.html:63
2505
  #: views/subscribers/subscribers.html:48
2506
  msgid "of"
2507
  msgstr ""
2508
 
2509
+ #: views/forms.html:54 views/newsletters.html:70 views/segments.html:64
2510
  #: views/subscribers/subscribers.html:49
2511
  msgid "1 item"
2512
  msgstr ""
2513
 
2514
+ #: views/forms.html:55 views/newsletters.html:71 views/segments.html:65
2515
  #: views/subscribers/subscribers.html:50
2516
  msgid "%$1d items"
2517
  msgstr ""
2557
  msgid "%$1d forms have been restored from the trash."
2558
  msgstr ""
2559
 
2560
+ #: views/forms.html:68 views/newsletters.html:99 views/segments.html:49
2561
  #: views/subscribers/subscribers.html:36
2562
  msgid "Edit"
2563
  msgstr ""
2564
 
2565
  #: views/forms.html:69
2566
  #: views/newsletter/templates/blocks/base/toolsGeneric.hbs:6
2567
+ #: views/newsletters.html:100 views/segments.html:41
2568
  msgid "Duplicate"
2569
  msgstr ""
2570
 
2572
  msgid "Form \"%$1s\" has been duplicated."
2573
  msgstr ""
2574
 
2575
+ #: views/forms.html:72 views/newsletters.html:98 views/segments.html:51
2576
  #: views/subscribers/subscribers.html:39
2577
  msgid "Move to trash"
2578
  msgstr ""
2579
 
2580
+ #: views/forms.html:73 views/newsletters.html:115 views/segments.html:48
2581
  #: views/subscribers/subscribers.html:95
2582
  msgid "Add New"
2583
  msgstr ""
2814
  msgid "Start upgrade"
2815
  msgstr ""
2816
 
2817
+ #: views/mp2migration.html:25 views/newsletters.html:113
2818
  msgid "Pause"
2819
  msgstr ""
2820
 
2870
  msgid "Manage your subscription page"
2871
  msgstr ""
2872
 
2873
+ #: views/newsletter/editor.html:295 views/newsletter/editor.html:981
2874
+ #: views/newsletter/editor.html:986 views/newsletter/editor.html:991
2875
+ #: views/newsletter/editor.html:996 views/newsletter/editor.html:1001
2876
+ #: views/newsletter/editor.html:1011 views/newsletter/editor.html:1016
2877
+ #: views/newsletter/editor.html:1021 views/newsletter/editor.html:1026
2878
  #: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:237
2879
  #: views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs:249
2880
  #: views/newsletter/templates/blocks/button/settings.hbs:14
2905
 
2906
  #: views/newsletter/editor.html:332
2907
  #: views/newsletter/templates/blocks/base/toolsGeneric.hbs:6
2908
+ #: views/newsletters.html:291
2909
  #: views/subscribers/importExport/import/step2.html:150
2910
  msgid "Cancel"
2911
  msgstr ""
2955
 
2956
  #: views/newsletter/editor.html:353
2957
  msgid ""
 
 
 
 
 
 
2958
  "You can add MailPoet shortcodes here. For example, you can add your "
2959
  "subscribers' first names by using this shortcode: [subscriber:firstname | "
2960
  "default:reader]. Simply copy and paste the shortcode into the field."
2961
  msgstr ""
2962
 
2963
+ #: views/newsletter/editor.html:354
2964
  msgid ""
2965
  "This optional text will appear in your subscribers' inboxes, beside the "
2966
  "subject line. Write something enticing!"
2967
  msgstr ""
2968
 
2969
+ #: views/newsletter/editor.html:355
2970
  msgid ""
2971
  "This option eliminates padding around the image. It only works if the image "
2972
  "is larger than the column size."
2973
  msgstr ""
2974
 
2975
+ #: views/newsletter/editor.html:356
2976
  msgid ""
2977
  "Use images with widths of at least 1,000 pixels to ensure sharp display on "
2978
  "high density screens, like mobile devices."
2979
  msgstr ""
2980
 
2981
+ #: views/newsletter/editor.html:357
2982
  msgid "Template has been saved."
2983
  msgstr ""
2984
 
2985
+ #: views/newsletter/editor.html:358
2986
  msgid "Template has not been saved, please try again"
2987
  msgstr ""
2988
 
2989
+ #: views/newsletter/editor.html:359
2990
  msgid "Categories & tags"
2991
  msgstr ""
2992
 
2993
+ #: views/newsletter/editor.html:360
2994
  msgid "There is no content to display."
2995
  msgstr ""
2996
 
2997
+ #: views/newsletter/editor.html:361
2998
  msgid ""
2999
  "Your preview should open in a new tab. Please ensure your browser is not "
3000
  "blocking popups from this page."
3001
  msgstr ""
3002
 
3003
+ #: views/newsletter/editor.html:362
3004
  msgid "Newsletter Preview"
3005
  msgstr ""
3006
 
3007
+ #: views/newsletter/editor.html:363
3008
  msgid ""
3009
  "Contents of this newsletter are corrupted and may be lost, you may need to "
3010
  "add new content to this newsletter, or create a new one. If possible, "
3011
  "please contact us and report this issue."
3012
  msgstr ""
3013
 
3014
+ #: views/newsletter/editor.html:364
3015
  msgid "Saving..."
3016
  msgstr ""
3017
 
3018
+ #: views/newsletter/editor.html:365
3019
  msgid "There are unsaved changes which will be lost if you leave this page."
3020
  msgstr ""
3021
 
3022
+ #: views/newsletter/editor.html:368
3023
  msgid "Email sending has been paused."
3024
  msgstr ""
3025
 
3026
+ #: views/newsletter/editor.html:369
3027
  msgid "Before you start, this how you drag and drop in MailPoet"
3028
  msgstr ""
3029
 
3030
+ #: views/newsletter/editor.html:370
3031
  msgid "Hey %username%, you can now put text over any image."
3032
  msgstr ""
3033
 
3034
+ #: views/newsletter/editor.html:371
3035
  msgid ""
3036
  "Simply edit any column block to add a background image. It works in pretty "
3037
  "much every email client, even on mobile."
3038
  msgstr ""
3039
 
3040
+ #: views/newsletter/editor.html:372 views/newsletters.html:73
3041
  msgid "Select type"
3042
  msgstr ""
3043
 
3044
+ #: views/newsletter/editor.html:373 views/newsletters.html:74
3045
  msgid "Events"
3046
  msgstr ""
3047
 
3048
+ #: views/newsletter/editor.html:375 views/newsletters.html:76
3049
  msgid "Template"
3050
  msgstr ""
3051
 
3052
+ #: views/newsletter/editor.html:376 views/newsletters.html:77
3053
  msgid "Designer"
3054
  msgstr ""
3055
 
3056
+ #: views/newsletter/editor.html:377 views/newsletters.html:78
3057
  msgid "Send"
3058
  msgstr ""
3059
 
3060
+ #: views/newsletter/editor.html:1000
3061
  msgid "Website"
3062
  msgstr ""
3063
 
3064
+ #: views/newsletter/editor.html:1025
3065
  msgid "Custom"
3066
  msgstr ""
3067
 
3068
+ #: views/newsletter/editor.html:1047 views/newsletter/editor.html:1049
3069
+ #: views/newsletter/editor.html:1102 views/newsletter/editor.html:1104
3070
+ #: views/newsletter/editor.html:1231 views/newsletter/editor.html:1233
3071
  msgid "Read more"
3072
  msgstr ""
3073
 
3074
+ #: views/newsletter/editor.html:1142
3075
  #: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:243
3076
  #: views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs:255
3077
  #: views/newsletter/templates/blocks/button/settings.hbs:1
3080
  msgid "Button"
3081
  msgstr ""
3082
 
3083
+ #: views/newsletter/editor.html:1184
3084
  msgid "Add your postal address here!"
3085
  msgstr ""
3086
 
3087
+ #: views/newsletter/editor.html:1204
3088
  msgid "An image of..."
3089
  msgstr ""
3090
 
3091
+ #: views/newsletter/editor.html:1282
3092
  msgid "Facebook"
3093
  msgstr ""
3094
 
3095
+ #: views/newsletter/editor.html:1293
3096
  msgid "Twitter"
3097
  msgstr ""
3098
 
3099
+ #: views/newsletter/editor.html:1306
3100
  msgid "Edit this to insert text."
3101
  msgstr ""
3102
 
3103
+ #: views/newsletter/editor.html:1309
3104
  msgid "Display problems?"
3105
  msgstr ""
3106
 
3107
+ #: views/newsletter/editor.html:1310
3108
  msgid "Open this email in your web browser."
3109
  msgstr ""
3110
 
3187
  #: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:74
3188
  #: views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs:74
3189
  #: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:29
3190
+ #: views/newsletter/templates/components/sidebar/styles.hbs:47
3191
  msgid "Heading 1"
3192
  msgstr ""
3193
 
3194
  #: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:80
3195
  #: views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs:80
3196
  #: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:35
3197
+ #: views/newsletter/templates/components/sidebar/styles.hbs:69
3198
  msgid "Heading 2"
3199
  msgstr ""
3200
 
3201
  #: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:86
3202
  #: views/newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs:86
3203
  #: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:41
3204
+ #: views/newsletter/templates/components/sidebar/styles.hbs:91
3205
  msgid "Heading 3"
3206
  msgstr ""
3207
 
3398
  msgstr ""
3399
 
3400
  #: views/newsletter/templates/blocks/base/toolsGeneric.hbs:6
3401
+ #: views/newsletters.html:136
3402
  msgid "Delete"
3403
  msgstr ""
3404
 
3426
  #: views/newsletter/templates/blocks/button/settings.hbs:47
3427
  #: views/newsletter/templates/blocks/footer/settings.hbs:6
3428
  #: views/newsletter/templates/blocks/header/settings.hbs:7
3429
+ #: views/newsletter/templates/components/sidebar/styles.hbs:10
3430
+ #: views/newsletter/templates/components/sidebar/styles.hbs:32
3431
+ #: views/newsletter/templates/components/sidebar/styles.hbs:54
3432
+ #: views/newsletter/templates/components/sidebar/styles.hbs:76
3433
  msgid "Standard fonts"
3434
  msgstr ""
3435
 
3436
  #: views/newsletter/templates/blocks/button/settings.hbs:52
3437
  #: views/newsletter/templates/blocks/footer/settings.hbs:11
3438
  #: views/newsletter/templates/blocks/header/settings.hbs:12
3439
+ #: views/newsletter/templates/components/sidebar/styles.hbs:15
3440
+ #: views/newsletter/templates/components/sidebar/styles.hbs:37
3441
+ #: views/newsletter/templates/components/sidebar/styles.hbs:59
3442
+ #: views/newsletter/templates/components/sidebar/styles.hbs:81
3443
  msgid "Custom fonts"
3444
  msgstr ""
3445
 
3450
  #: views/newsletter/templates/blocks/text/settings.hbs:1
3451
  #: views/newsletter/templates/blocks/text/settings.hbs:2
3452
  #: views/newsletter/templates/blocks/text/widget.hbs:4
3453
+ #: views/newsletter/templates/components/sidebar/styles.hbs:25
3454
  msgid "Text"
3455
  msgstr ""
3456
 
3572
 
3573
  #: views/newsletter/templates/blocks/footer/settings.hbs:32
3574
  #: views/newsletter/templates/blocks/header/settings.hbs:33
3575
+ #: views/newsletter/templates/components/sidebar/styles.hbs:96
3576
  msgid "Underline"
3577
  msgstr ""
3578
 
3579
  #: views/newsletter/templates/blocks/footer/settings.hbs:69
3580
  #: views/newsletter/templates/blocks/header/settings.hbs:70
3581
+ #: views/newsletter/templates/components/sidebar/styles.hbs:110
3582
  msgid ""
3583
  "If an email client [link]does not support a custom web font[/link], a "
3584
  "similar standard font will be used instead."
3668
  msgid "Preview text (usually displayed underneath the subject line in the inbox)"
3669
  msgstr ""
3670
 
3671
+ #: views/newsletter/templates/components/save.hbs:2 views/newsletters.html:255
3672
  msgid "Next"
3673
  msgstr ""
3674
 
3723
  msgid "Click to toggle"
3724
  msgstr ""
3725
 
3726
+ #: views/newsletter/templates/components/sidebar/styles.hbs:102
3727
  msgid "Content background"
3728
  msgstr ""
3729
 
3730
+ #: views/newsletter/templates/components/sidebar/styles.hbs:107
3731
  msgid "Global background"
3732
  msgstr ""
3733
 
3734
+ #: views/newsletters.html:41
3735
  msgid "Newsletters"
3736
  msgstr ""
3737
 
3738
+ #: views/newsletters.html:42
3739
  msgid "Welcome Emails"
3740
  msgstr ""
3741
 
3742
+ #: views/newsletters.html:44
3743
  msgid "WooCommerce Emails"
3744
  msgstr ""
3745
 
3746
+ #: views/newsletters.html:47
3747
  msgid "Loading emails..."
3748
  msgstr ""
3749
 
3750
+ #: views/newsletters.html:48
3751
  msgid ""
3752
  "Nothing here yet! But, don't fret - there's no reason to get upset. Pretty "
3753
  "soon, you’ll be sending emails faster than a turbo-jet."
3754
  msgstr ""
3755
 
3756
+ #: views/newsletters.html:49
3757
  msgid "All emails on this page are selected."
3758
  msgstr ""
3759
 
3760
+ #: views/newsletters.html:50
3761
  msgid "All %d emails are selected."
3762
  msgstr ""
3763
 
3764
+ #: views/newsletters.html:51
3765
  msgid "Select all emails on all pages"
3766
  msgstr ""
3767
 
3768
+ #: views/newsletters.html:53
3769
  msgid "%d emails were permanently deleted."
3770
  msgstr ""
3771
 
3772
+ #: views/newsletters.html:62 views/subscribers/importExport/import/step2.html:8
3773
  #: views/subscribers/importExport/import.html:45
3774
  #: views/subscribers/subscribers.html:41
3775
  msgid "Show more details"
3776
  msgstr ""
3777
 
3778
+ #: views/newsletters.html:68 views/segments.html:62
3779
  msgid "Current page"
3780
  msgstr ""
3781
 
3782
+ #: views/newsletters.html:80 views/newsletters.html:141
3783
  msgid "Subject"
3784
  msgstr ""
3785
 
3786
+ #: views/newsletters.html:82
3787
  msgid "Statistics"
3788
  msgstr ""
3789
 
3790
+ #: views/newsletters.html:83
3791
  msgid "Opened, Clicked"
3792
  msgstr ""
3793
 
3794
+ #: views/newsletters.html:86
3795
  msgid "History"
3796
  msgstr ""
3797
 
3798
+ #: views/newsletters.html:87
3799
  msgid "View history"
3800
  msgstr ""
3801
 
3802
+ #: views/newsletters.html:88 views/segments.html:34
3803
  msgid "Created on"
3804
  msgstr ""
3805
 
3806
+ #: views/newsletters.html:89 views/subscribers/subscribers.html:70
3807
  msgid "Last modified on"
3808
  msgstr ""
3809
 
3810
+ #: views/newsletters.html:90
3811
  msgid "Sent on"
3812
  msgstr ""
3813
 
3814
+ #: views/newsletters.html:91
3815
  msgid "1 email was moved to the trash."
3816
  msgstr ""
3817
 
3818
+ #: views/newsletters.html:92
3819
  msgid "%$1d emails were moved to the trash."
3820
  msgstr ""
3821
 
3822
+ #: views/newsletters.html:93
3823
  msgid "1 email was permanently deleted."
3824
  msgstr ""
3825
 
3826
+ #: views/newsletters.html:94
3827
  msgid "%$1d emails were permanently deleted."
3828
  msgstr ""
3829
 
3830
+ #: views/newsletters.html:95
3831
  msgid "1 email has been restored from the Trash."
3832
  msgstr ""
3833
 
3834
+ #: views/newsletters.html:96
3835
  msgid "%$1d emails have been restored from the Trash."
3836
  msgstr ""
3837
 
3838
+ #: views/newsletters.html:101
3839
  msgid "Email \"%$1s\" has been duplicated."
3840
  msgstr ""
3841
 
3842
+ #: views/newsletters.html:102
3843
  msgid "Not sent yet"
3844
  msgstr ""
3845
 
3846
+ #: views/newsletters.html:103
3847
  msgid "Scheduled for"
3848
  msgstr ""
3849
 
3850
+ #: views/newsletters.html:104
3851
  msgid "Schedule it"
3852
  msgstr ""
3853
 
 
 
 
 
3854
  #: views/newsletters.html:106
3855
+ msgid "Not Active"
3856
  msgstr ""
3857
 
3858
  #: views/newsletters.html:107
3859
+ msgid "Sent to %$1d of %$2d"
3860
  msgstr ""
3861
 
3862
+ #: views/newsletters.html:112
3863
  msgid "Resume"
3864
  msgstr ""
3865
 
3866
+ #: views/newsletters.html:114
3867
  msgid "Paused"
3868
  msgstr ""
3869
 
3870
+ #: views/newsletters.html:117
3871
  msgid "Excellent"
3872
  msgstr ""
3873
 
3874
+ #: views/newsletters.html:118
3875
  msgid "Congrats!"
3876
  msgstr ""
3877
 
3878
+ #: views/newsletters.html:119
3879
  msgid "Good"
3880
  msgstr ""
3881
 
3882
+ #: views/newsletters.html:120
3883
  msgid "Good stuff."
3884
  msgstr ""
3885
 
3886
+ #: views/newsletters.html:121
3887
  msgid "Bad"
3888
  msgstr ""
3889
 
3890
+ #: views/newsletters.html:122
3891
  msgid "Something to improve."
3892
  msgstr ""
3893
 
3894
+ #: views/newsletters.html:123
3895
  msgid ""
3896
  "Above 30% is excellent.\\n"
3897
  "Between 10 and 30% is good.\\n"
3898
  "Under 10% is bad."
3899
  msgstr ""
3900
 
3901
+ #: views/newsletters.html:124
3902
  msgid ""
3903
  "Above 3% is excellent.\\n"
3904
  "Between 1 and 3% is good.\\n"
3905
  "Under 1% is bad."
3906
  msgstr ""
3907
 
3908
+ #: views/newsletters.html:125
3909
  msgid ""
3910
  "Under 1% is excellent.\\n"
3911
  "Between 1 and 3% is good.\\n"
3912
  "Over 3% is bad."
3913
  msgstr ""
3914
 
3915
+ #: views/newsletters.html:126
3916
  msgid "Nice job! Check back in %$1d hour(s) for more stats."
3917
  msgstr ""
3918
 
3919
+ #: views/newsletters.html:127
3920
  msgid "What can I do to improve this?"
3921
  msgstr ""
3922
 
3923
+ #: views/newsletters.html:129
3924
  msgid "This template file appears to be damaged. Please try another one."
3925
  msgstr ""
3926
 
3927
+ #: views/newsletters.html:130
3928
  msgid "Import a template"
3929
  msgstr ""
3930
 
3931
+ #: views/newsletters.html:131
3932
  msgid "Select a .json file to upload"
3933
  msgstr ""
3934
 
3935
+ #: views/newsletters.html:132
3936
  msgid ""
3937
  "You can only upload .json templates that were originally created with "
3938
  "MailPoet 3."
3939
  msgstr ""
3940
 
3941
+ #: views/newsletters.html:133
3942
  msgid "Upload"
3943
  msgstr ""
3944
 
3945
+ #: views/newsletters.html:134
3946
  msgid "MailPoet's Guide"
3947
  msgstr ""
3948
 
3949
+ #: views/newsletters.html:135
3950
  msgid "You are about to delete the template named \"%$1s\"."
3951
  msgstr ""
3952
 
3953
+ #: views/newsletters.html:139
3954
  msgid "Select a responsive template"
3955
  msgstr ""
3956
 
3957
+ #: views/newsletters.html:142
3958
  msgid "Select type of email"
3959
  msgstr ""
3960
 
3961
+ #: views/newsletters.html:145
3962
  msgid ""
3963
  "Send a newsletter with images, buttons, dividers, and social bookmarks. Or, "
3964
  "just send a basic text email."
3965
  msgstr ""
3966
 
3967
+ #: views/newsletters.html:146
3968
  msgid "Create"
3969
  msgstr ""
3970
 
3971
+ #: views/newsletters.html:147
3972
  msgid "Welcome Email"
3973
  msgstr ""
3974
 
3975
+ #: views/newsletters.html:148
3976
  msgid ""
3977
  "Automatically send an email (or series of emails) to new subscribers or "
3978
  "WordPress users. Send a day, a week, or a month after they sign up."
3979
  msgstr ""
3980
 
3981
+ #: views/newsletters.html:149
3982
  msgid "This is a Premium feature"
3983
  msgstr ""
3984
 
3985
+ #: views/newsletters.html:150
3986
  msgid "Set up"
3987
  msgstr ""
3988
 
3989
+ #: views/newsletters.html:151
3990
  msgid "Latest Post Notifications"
3991
  msgstr ""
3992
 
3993
+ #: views/newsletters.html:152
3994
  msgid ""
3995
  "Let MailPoet email your subscribers with your latest content. You can send "
3996
  "daily, weekly, monthly, or even immediately after publication."
3997
  msgstr ""
3998
 
3999
+ #: views/newsletters.html:153
4000
  msgid "Select a frequency"
4001
  msgstr ""
4002
 
4003
+ #: views/newsletters.html:154
4004
  msgid ""
4005
  "Insert [newsletter:total] to show number of posts, [newsletter:post_title] "
4006
  "to show the latest post's title & [newsletter:number] to display the issue "
4007
  "number."
4008
  msgstr ""
4009
 
4010
+ #: views/newsletters.html:155 views/settings/mta.html:110
4011
  #: views/settings/mta.html:139 views/settings/mta.html:649
4012
  #: views/settings/mta.html:1135
4013
  msgid "Activate"
4014
  msgstr ""
4015
 
4016
+ #: views/newsletters.html:156
4017
  msgid "Send this Welcome Email when..."
4018
  msgstr ""
4019
 
4020
+ #: views/newsletters.html:158
4021
  msgid "Once a day at..."
4022
  msgstr ""
4023
 
4024
+ #: views/newsletters.html:159
4025
  msgid "Weekly on..."
4026
  msgstr ""
4027
 
4028
+ #: views/newsletters.html:160
4029
  msgid "Monthly on the..."
4030
  msgstr ""
4031
 
4032
+ #: views/newsletters.html:161
4033
  msgid "Monthly every..."
4034
  msgstr ""
4035
 
4036
+ #: views/newsletters.html:162
4037
  msgid "Immediately"
4038
  msgstr ""
4039
 
4040
+ #: views/newsletters.html:163
4041
  msgid "Sunday"
4042
  msgstr ""
4043
 
4044
+ #: views/newsletters.html:164
4045
  msgid "Monday"
4046
  msgstr ""
4047
 
4048
+ #: views/newsletters.html:165
4049
  msgid "Tuesday"
4050
  msgstr ""
4051
 
4052
+ #: views/newsletters.html:166
4053
  msgid "Wednesday"
4054
  msgstr ""
4055
 
4056
+ #: views/newsletters.html:167
4057
  msgid "Thursday"
4058
  msgstr ""
4059
 
4060
+ #: views/newsletters.html:168
4061
  msgid "Friday"
4062
  msgstr ""
4063
 
4064
+ #: views/newsletters.html:169
4065
  msgid "Saturday"
4066
  msgstr ""
4067
 
4068
+ #: views/newsletters.html:170
4069
  msgid "1st"
4070
  msgstr ""
4071
 
4072
+ #: views/newsletters.html:171
4073
  msgid "2nd"
4074
  msgstr ""
4075
 
4076
+ #: views/newsletters.html:172
4077
  msgid "3rd"
4078
  msgstr ""
4079
 
4080
+ #: views/newsletters.html:173
4081
  msgid "%$1dth"
4082
  msgstr ""
4083
 
4084
+ #: views/newsletters.html:177
4085
  msgid "When is this Welcome Email sent?"
4086
  msgstr ""
4087
 
4088
+ #: views/newsletters.html:179
4089
  msgid "When someone subscribes to the list..."
4090
  msgstr ""
4091
 
4092
+ #: views/newsletters.html:180
4093
  msgid "When a new WordPress user is added to your site..."
4094
  msgstr ""
4095
 
4096
+ #: views/newsletters.html:181
4097
  msgid "immediately"
4098
  msgstr ""
4099
 
4100
+ #: views/newsletters.html:182
4101
  msgid "hour(s) later"
4102
  msgstr ""
4103
 
4104
+ #: views/newsletters.html:183
4105
  msgid "day(s) later"
4106
  msgstr ""
4107
 
4108
+ #: views/newsletters.html:184
4109
  msgid "week(s) later"
4110
  msgstr ""
4111
 
4112
+ #: views/newsletters.html:186
4113
  msgid "Subject line"
4114
  msgstr ""
4115
 
4116
+ #: views/newsletters.html:187
4117
  msgid ""
4118
  "Be creative! It's the first thing that your subscribers see. Tempt them to "
4119
  "open your email."
4120
  msgstr ""
4121
 
4122
+ #: views/newsletters.html:188
4123
  msgid "Please specify a subject"
4124
  msgstr ""
4125
 
4126
+ #: views/newsletters.html:190
4127
  msgid "This subscriber segment will be used for this email."
4128
  msgstr ""
4129
 
4130
+ #: views/newsletters.html:191 views/subscribers/subscribers.html:60
4131
  msgid "Select a list"
4132
  msgstr ""
4133
 
4134
+ #: views/newsletters.html:193
4135
  msgid "Sender"
4136
  msgstr ""
4137
 
4138
+ #: views/newsletters.html:194
4139
  msgid "Your name and email"
4140
  msgstr ""
4141
 
4142
+ #: views/newsletters.html:195 views/newsletters.html:199
4143
  msgid "John Doe"
4144
  msgstr ""
4145
 
4146
+ #: views/newsletters.html:196 views/newsletters.html:200
4147
  msgid "john.doe@email.com"
4148
  msgstr ""
4149
 
4150
+ #: views/newsletters.html:197 views/settings/basics.html:29
4151
  #: views/settings/signup.html:85
4152
  msgid "Reply-to"
4153
  msgstr ""
4154
 
4155
+ #: views/newsletters.html:198
4156
  msgid ""
4157
  "When your subscribers reply to your emails, their emails will go to this "
4158
  "address."
4159
  msgstr ""
4160
 
4161
+ #: views/newsletters.html:201
4162
  msgid "Email was updated successfully!"
4163
  msgstr ""
4164
 
4165
+ #: views/newsletters.html:202
4166
  msgid "Email was added successfully!"
4167
  msgstr ""
4168
 
4169
+ #: views/newsletters.html:203
4170
  msgid ""
4171
  "An error occurred while trying to send. <a href=\"%$1s\">Please check your "
4172
  "settings</a>."
4173
  msgstr ""
4174
 
4175
+ #: views/newsletters.html:204
4176
  msgid "Final Step: Last Details"
4177
  msgstr ""
4178
 
4179
+ #: views/newsletters.html:205
4180
  msgid "Save as draft and close"
4181
  msgstr ""
4182
 
4183
+ #: views/newsletters.html:206
4184
  msgid ""
4185
  "You cannot send the same email twice, as that would be considered spam. <br "
4186
  "/> If you must send the same email more than one time, simply duplicate "
4187
  "this email first."
4188
  msgstr ""
4189
 
4190
+ #: views/newsletters.html:207
4191
  msgid "or simply"
4192
  msgstr ""
4193
 
4194
+ #: views/newsletters.html:208
4195
  msgid "go back to the Design page"
4196
  msgstr ""
4197
 
4198
+ #: views/newsletters.html:209
4199
  msgid "Your website’s time is"
4200
  msgstr ""
4201
 
4202
+ #: views/newsletters.html:210
4203
  msgid "Please enter the scheduled date."
4204
  msgstr ""
4205
 
4206
+ #: views/newsletters.html:211
4207
  msgid "Schedule"
4208
  msgstr ""
4209
 
4210
+ #: views/newsletters.html:212
4211
  msgid "Feedback?"
4212
  msgstr ""
4213
 
4214
+ #: views/newsletters.html:213
4215
  msgid ""
4216
  "Click [link]here[/link] to give your feedback on this feature. We’d love to "
4217
  "hear from you."
4218
  msgstr ""
4219
 
4220
+ #: views/newsletters.html:215
4221
  msgid "Close"
4222
  msgstr ""
4223
 
4224
+ #: views/newsletters.html:216
4225
  msgid "Today"
4226
  msgstr ""
4227
 
4228
+ #: views/newsletters.html:229
4229
  msgid "Jan"
4230
  msgstr ""
4231
 
4232
+ #: views/newsletters.html:230
4233
  msgid "Feb"
4234
  msgstr ""
4235
 
4236
+ #: views/newsletters.html:231
4237
  msgid "Mar"
4238
  msgstr ""
4239
 
4240
+ #: views/newsletters.html:232
4241
  msgid "Apr"
4242
  msgstr ""
4243
 
4244
+ #: views/newsletters.html:234
4245
  msgid "Jun"
4246
  msgstr ""
4247
 
4248
+ #: views/newsletters.html:235
4249
  msgid "Jul"
4250
  msgstr ""
4251
 
4252
+ #: views/newsletters.html:236
4253
  msgid "Aug"
4254
  msgstr ""
4255
 
4256
+ #: views/newsletters.html:237
4257
  msgid "Sep"
4258
  msgstr ""
4259
 
4260
+ #: views/newsletters.html:238
4261
  msgid "Oct"
4262
  msgstr ""
4263
 
4264
+ #: views/newsletters.html:239
4265
  msgid "Nov"
4266
  msgstr ""
4267
 
4268
+ #: views/newsletters.html:240
4269
  msgid "Dec"
4270
  msgstr ""
4271
 
4272
+ #: views/newsletters.html:241
4273
  msgid "Sun"
4274
  msgstr ""
4275
 
4276
+ #: views/newsletters.html:242
4277
  msgid "Mon"
4278
  msgstr ""
4279
 
4280
+ #: views/newsletters.html:243
4281
  msgid "Tue"
4282
  msgstr ""
4283
 
4284
+ #: views/newsletters.html:244
4285
  msgid "Wed"
4286
  msgstr ""
4287
 
4288
+ #: views/newsletters.html:245
4289
  msgid "Thu"
4290
  msgstr ""
4291
 
4292
+ #: views/newsletters.html:246
4293
  msgid "Fri"
4294
  msgstr ""
4295
 
4296
+ #: views/newsletters.html:247
4297
  msgid "Sat"
4298
  msgstr ""
4299
 
4300
+ #: views/newsletters.html:256
4301
  msgid "Previous"
4302
  msgstr ""
4303
 
4304
+ #: views/newsletters.html:257
4305
  msgid "The newsletter is being sent..."
4306
  msgstr ""
4307
 
4308
+ #: views/newsletters.html:258
4309
  msgid "The newsletter has been scheduled."
4310
  msgstr ""
4311
 
4312
+ #: views/newsletters.html:259
4313
  msgid "The newsletter sending has been resumed."
4314
  msgstr ""
4315
 
4316
+ #: views/newsletters.html:260
4317
  msgid "Your Welcome Email is now activated!"
4318
  msgstr ""
4319
 
4320
+ #: views/newsletters.html:261
4321
  msgid "Your Welcome Email could not be activated, please check the settings."
4322
  msgstr ""
4323
 
4324
+ #: views/newsletters.html:262
4325
  msgid "Your post notification is now active!"
4326
  msgstr ""
4327
 
4328
+ #: views/newsletters.html:263
4329
  msgid "Your Post Notification could not be activated, check the settings."
4330
  msgstr ""
4331
 
4332
+ #: views/newsletters.html:264
4333
  msgid "This newsletter is sent when someone subscribes to the list: \"%$1s\"."
4334
  msgstr ""
4335
 
4336
+ #: views/newsletters.html:265
4337
  msgid "This newsletter is sent when a new WordPress user is added to your site."
4338
  msgstr ""
4339
 
4340
+ #: views/newsletters.html:266
4341
  msgid ""
4342
  "This newsletter is sent when a new WordPress user with the role \"%$1s\" is "
4343
  "added to your site."
4344
  msgstr ""
4345
 
4346
+ #: views/newsletters.html:267
4347
  msgid "%$1d hour(s) later"
4348
  msgstr ""
4349
 
4350
+ #: views/newsletters.html:268
4351
  msgid "%$1d day(s) later"
4352
  msgstr ""
4353
 
4354
+ #: views/newsletters.html:269
4355
  msgid "%$1d week(s) later"
4356
  msgstr ""
4357
 
4358
+ #: views/newsletters.html:270
4359
  msgid "Invalid sending delay"
4360
  msgstr ""
4361
 
4362
+ #: views/newsletters.html:271
4363
  msgid "Send daily at %$1s"
4364
  msgstr ""
4365
 
4366
+ #: views/newsletters.html:272
4367
  msgid "Send weekly on %$1s at %$2s"
4368
  msgstr ""
4369
 
4370
+ #: views/newsletters.html:273
4371
  msgid "Send monthly on the %$1s at %$2s"
4372
  msgstr ""
4373
 
4374
+ #: views/newsletters.html:274
4375
  msgid "Send every %$1s %$2s of the month at %$3s"
4376
  msgstr ""
4377
 
4378
+ #: views/newsletters.html:275
4379
  msgid "Send immediately"
4380
  msgstr ""
4381
 
4382
+ #: views/newsletters.html:276
4383
  msgid "if there's new content to %$1s."
4384
  msgstr ""
4385
 
4386
+ #: views/newsletters.html:277
4387
  msgid "You need to select a list to send to."
4388
  msgstr ""
4389
 
4390
+ #: views/newsletters.html:279
4391
  msgid "Back to Post notifications"
4392
  msgstr ""
4393
 
4394
+ #: views/newsletters.html:280
4395
  msgid "No subscribers!"
4396
  msgstr ""
4397
 
4398
+ #: views/newsletters.html:282
4399
  msgid ""
4400
  "Sending is paused because %$1s prevents MailPoet from delivering emails "
4401
  "with the following error: %$2s"
4402
  msgstr ""
4403
 
4404
+ #: views/newsletters.html:283
4405
  msgid ""
4406
  "Sending is paused because the following connection issue prevents MailPoet "
4407
  "from delivering emails: %$1s"
4408
  msgstr ""
4409
 
4410
+ #: views/newsletters.html:284
4411
  msgid "Error code: %$1s"
4412
  msgstr ""
4413
 
4414
+ #: views/newsletters.html:285
4415
  msgid "Check your [link]sending method settings[/link]."
4416
  msgstr ""
4417
 
4418
+ #: views/newsletters.html:286
4419
  msgid "Resume sending"
4420
  msgstr ""
4421
 
4422
+ #: views/newsletters.html:287
4423
  msgid "Sending has been resumed."
4424
  msgstr ""
4425
 
4426
+ #: views/newsletters.html:288
4427
  msgid ""
4428
  "Sending is in progress. Do you want to pause sending and edit the "
4429
  "newsletter?"
4430
  msgstr ""
4431
 
4432
+ #: views/newsletters.html:289
4433
  msgid "Confirm to proceed"
4434
  msgstr ""
4435
 
4436
+ #: views/newsletters.html:290
4437
  msgid "Confirm"
4438
  msgstr ""
4439
 
4440
+ #: views/newsletters.html:293
4441
  msgid "Recently sent"
4442
  msgstr ""
4443
 
4444
+ #: views/newsletters.html:294
4445
  msgid "Your saved templates"
4446
  msgstr ""
4447
 
4448
+ #: views/newsletters.html:295
4449
  msgid "Template preview"
4450
  msgstr ""
4451
 
4452
+ #: views/newsletters.html:299
4453
  msgid "This category does not contain any template yet!"
4454
  msgstr ""
4455
 
4456
+ #: views/newsletters.html:301
4457
  msgid "Soon"
4458
  msgstr ""
4459
 
4460
+ #: views/newsletters.html:302
4461
  msgid "Beta"
4462
  msgstr ""
4463
 
4464
+ #: views/newsletters.html:303
4465
  msgid "An error occured while saving the template in \"Recently sent\""
4466
  msgstr ""
4467
 
4468
+ #: views/newsletters.html:304
4469
  msgid "Select %$1s events"
4470
  msgstr ""
4471
 
4472
+ #: views/newsletters.html:305
4473
  msgid ""
4474
  "Oops! There seems to be an issue with the sending on your website. "
4475
  "[link]See our guide[/link] to solve this yourself."
4476
  msgstr ""
4477
 
4478
+ #: views/newsletters.html:307
4479
  msgid ""
4480
  "Welcome on board. Let’s get you started quickly. Here, you can create new "
4481
  "lists."
4482
  msgstr ""
4483
 
4484
+ #: views/newsletters.html:308
4485
  msgid ""
4486
  "Create a form and add it to your website so your visitors can subscribe to "
4487
  "your list."
4488
  msgstr ""
4489
 
4490
+ #: views/newsletters.html:309
4491
  msgid ""
4492
  "You have a question? Start a chat or send a message to get an answer from "
4493
  "our support team."
4494
  msgstr ""
4495
 
4496
+ #: views/newsletters.html:310
4497
  msgid ""
4498
  "We suggest you begin by creating a newsletter, a welcome email or a post "
4499
  "notification. Enjoy!"
4500
  msgstr ""
4501
 
4502
+ #: views/newsletters.html:316
4503
  msgid "Welcome Emails are now free for everyone"
4504
  msgstr ""
4505
 
4506
+ #: views/newsletters.html:317
4507
  msgid ""
4508
  "Say “Hello!” automatically to all your new subscribers. They’ll appreciate "
4509
  "the extra touch."
4510
  msgstr ""
4511
 
4512
+ #: views/newsletters.html:319
4513
  msgid "Congratulations, your newsletter is being sent!"
4514
  msgstr ""
4515
 
4516
+ #: views/newsletters.html:320
4517
  msgid "Congratulations, your newsletter is scheduled to be sent."
4518
  msgstr ""
4519
 
4520
+ #: views/newsletters.html:321
4521
  msgid "Congratulations, your WooCommerce email has been activated."
4522
  msgstr ""
4523
 
4524
+ #: views/newsletters.html:322
4525
  msgid "Congratulations, your Post Notification is now active."
4526
  msgstr ""
4527
 
4528
+ #: views/newsletters.html:323
4529
  msgid "Congratulations, your Welcome Email is now active."
4530
  msgstr ""
4531
 
4532
+ #: views/newsletters.html:324
4533
  msgid "Oops! We can’t send your newsletter 😕"
4534
  msgstr ""
4535
 
4536
+ #: views/newsletters.html:325
4537
  msgid ""
4538
  "Rest assured, this is fairly common and is usually fixed quickly. [link]See "
4539
  "our quick guide[/link] to help you solve this and get your website sending."
4540
  msgstr ""
4541
 
4542
+ #: views/newsletters.html:326
4543
  msgid ""
4544
  "Congrats, you’re sending your first newsletter! We’re doing a quick "
4545
  "verification to make sure everything works fine."
6019
  msgid "Number of segments per page"
6020
  msgstr ""
6021
 
6022
+ #: lib/Config/PopulatorData/DefaultForm.php:11
6023
+ msgctxt "default name of form (GDPR friendly) to capture emails"
6024
+ msgid "A GDPR friendly form"
6025
+ msgstr ""
6026
+
6027
+ #: lib/Config/PopulatorData/DefaultForm.php:18
6028
+ #: lib/Config/PopulatorData/DefaultForm.php:22
6029
+ msgctxt "Form label"
6030
+ msgid "First name"
6031
+ msgstr ""
6032
+
6033
+ #: lib/Config/PopulatorData/DefaultForm.php:27
6034
+ #: lib/Config/PopulatorData/DefaultForm.php:31
6035
+ msgctxt "Form label"
6036
+ msgid "Email"
6037
+ msgstr ""
6038
+
6039
+ #: lib/Config/PopulatorData/DefaultForm.php:36
6040
+ msgctxt "Form label"
6041
+ msgid "Custom text or HTML"
6042
+ msgstr ""
6043
+
6044
+ #: lib/Config/PopulatorData/DefaultForm.php:48
6045
+ msgctxt "Form label"
6046
+ msgid "Submit"
6047
+ msgstr ""
6048
+
6049
+ #: lib/Config/PopulatorData/DefaultForm.php:52
6050
+ msgctxt "Form label"
6051
+ msgid "Subscribe!"
6052
+ msgstr ""
6053
+
6054
  #: lib/Subscribers/ImportExport/ImportExportFactory.php:52
6055
  msgctxt "Subscription status"
6056
  msgid "List status"
6151
  msgid "Preview"
6152
  msgstr ""
6153
 
6154
+ #: views/newsletter/editor.html:366
6155
  msgctxt "select color"
6156
  msgid "Select"
6157
  msgstr ""
6158
 
6159
+ #: views/newsletter/editor.html:367
6160
  msgctxt "cancel color selection"
6161
  msgid "Cancel"
6162
  msgstr ""
6163
 
6164
+ #: views/newsletter/editor.html:374 views/newsletters.html:75
6165
  msgctxt "Configuration options for automatic email events"
6166
  msgid "Conditions"
6167
  msgstr ""
6168
 
6169
+ #: views/newsletters.html:108
6170
+ msgctxt "inform the number of emails already sent"
6171
+ msgid "Sent to 1 subscriber"
6172
+ msgstr ""
6173
+
6174
+ #: views/newsletters.html:109
6175
+ msgctxt "inform the number of emails already sent; always plural"
6176
+ msgid "Sent to %$1d subscribers"
6177
+ msgstr ""
6178
+
6179
+ #: views/newsletters.html:110
6180
+ msgctxt "inform the number of emails planned to be sent"
6181
+ msgid "1 scheduled to be sent"
6182
+ msgstr ""
6183
+
6184
+ #: views/newsletters.html:111
6185
+ msgctxt "inform the number of emails planned to be sent; always plural"
6186
+ msgid "%$1d scheduled to be sent"
6187
+ msgstr ""
6188
+
6189
+ #: views/newsletters.html:137 views/subscribers/importExport/export.html:32
6190
  #: views/subscribers/importExport/export.html:49
6191
  #: views/subscribers/importExport/import/step1.html:100
6192
  #: views/subscribers/importExport/import/step2.html:41
6194
  msgid "Select"
6195
  msgstr ""
6196
 
6197
+ #: views/newsletters.html:174
6198
  msgctxt "e.g. monthly every last Monday"
6199
  msgid "last"
6200
  msgstr ""
6201
 
6202
+ #: views/newsletters.html:175
6203
  msgctxt "Button label: Next step"
6204
  msgid "Next"
6205
  msgstr ""
6206
 
6207
+ #: views/newsletters.html:248
6208
  msgctxt "Sunday - one letter abbreviation"
6209
  msgid "S"
6210
  msgstr ""
6211
 
6212
+ #: views/newsletters.html:249
6213
  msgctxt "Monday - one letter abbreviation"
6214
  msgid "M"
6215
  msgstr ""
6216
 
6217
+ #: views/newsletters.html:250
6218
  msgctxt "Tuesday - one letter abbreviation"
6219
  msgid "T"
6220
  msgstr ""
6221
 
6222
+ #: views/newsletters.html:251
6223
  msgctxt "Wednesday - one letter abbreviation"
6224
  msgid "W"
6225
  msgstr ""
6226
 
6227
+ #: views/newsletters.html:252
6228
  msgctxt "Thursday - one letter abbreviation"
6229
  msgid "T"
6230
  msgstr ""
6231
 
6232
+ #: views/newsletters.html:253
6233
  msgctxt "Friday - one letter abbreviation"
6234
  msgid "F"
6235
  msgstr ""
6236
 
6237
+ #: views/newsletters.html:254
6238
  msgctxt "Saturday - one letter abbreviation"
6239
  msgid "S"
6240
  msgstr ""
6241
 
6242
+ #: views/newsletters.html:297
6243
+ msgctxt "Name of a section with all email templates"
6244
+ msgid "All"
 
 
 
 
 
6245
  msgstr ""
6246
 
6247
+ #: views/newsletters.html:298
6248
  msgctxt "Importing template tab title"
6249
  msgid "Import"
6250
  msgstr ""
6251
 
6252
+ #: views/newsletters.html:311 views/welcome_wizard.html:41
6253
  msgctxt "A label on a button"
6254
  msgid "Next"
6255
  msgstr ""
6256
 
6257
+ #: views/newsletters.html:312
6258
  msgctxt "A label on a button"
6259
  msgid "Back"
6260
  msgstr ""
6261
 
6262
+ #: views/newsletters.html:313
6263
  msgctxt "A label on a button"
6264
  msgid "Skip"
6265
  msgstr ""
6266
 
6267
+ #: views/newsletters.html:314
6268
  msgctxt "A label on a button"
6269
  msgid "Done"
6270
  msgstr ""
lib/API/API.php CHANGED
@@ -2,20 +2,43 @@
2
 
3
  namespace MailPoet\API;
4
 
5
- use MailPoet\Config\AccessControl;
 
 
6
 
7
  if(!defined('ABSPATH')) exit;
8
 
9
  class API {
10
- static function JSON(AccessControl $access_control) {
11
- return new \MailPoet\API\JSON\API($access_control);
 
 
 
 
 
 
 
 
12
  }
13
 
14
  static function MP($version) {
 
15
  $api_class = sprintf('%s\MP\%s\API', __NAMESPACE__, $version);
16
- if(class_exists($api_class)) {
17
- return new $api_class();
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  }
19
- throw new \Exception(__('Invalid API version.', 'mailpoet'));
20
  }
21
- }
2
 
3
  namespace MailPoet\API;
4
 
5
+ use MailPoet\Dependencies\Symfony\Component\DependencyInjection\Container;
6
+ use MailPoet\Dependencies\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
7
+ use MailPoet\DI\ContainerFactory;
8
 
9
  if(!defined('ABSPATH')) exit;
10
 
11
  class API {
12
+
13
+ /** @var Container */
14
+ private static $container;
15
+
16
+ static function injectContainer(Container $container) {
17
+ self::$container = $container;
18
+ }
19
+
20
+ static function JSON() {
21
+ return self::$container->get(JSON\API::class);
22
  }
23
 
24
  static function MP($version) {
25
+ self::ensureContainerIsLoaded();
26
  $api_class = sprintf('%s\MP\%s\API', __NAMESPACE__, $version);
27
+ try {
28
+ return self::$container->get($api_class);
29
+ } catch (ServiceNotFoundException $e) {
30
+ throw new \Exception(__('Invalid API version.', 'mailpoet'));
31
+ }
32
+ }
33
+
34
+ /**
35
+ * MP API is used by third party plugins so we have to ensure that container is loaded
36
+ * @see https://kb.mailpoet.com/article/195-add-subscribers-through-your-own-form-or-plugin
37
+ */
38
+ private static function ensureContainerIsLoaded() {
39
+ if(!self::$container) {
40
+ $factory = new ContainerFactory();
41
+ self::$container = $factory->getContainer();
42
  }
 
43
  }
44
+ }
lib/API/JSON/API.php CHANGED
@@ -2,6 +2,8 @@
2
  namespace MailPoet\API\JSON;
3
 
4
  use MailPoet\Config\AccessControl;
 
 
5
  use MailPoet\Models\Setting;
6
  use MailPoet\Util\Helpers;
7
  use MailPoet\Util\Security;
@@ -20,10 +22,16 @@ class API {
20
  private $_available_api_versions = array(
21
  'v1'
22
  );
 
 
 
 
23
  private $access_control;
 
24
  const CURRENT_VERSION = 'v1';
25
 
26
- function __construct(AccessControl $access_control) {
 
27
  $this->access_control = $access_control;
28
  foreach($this->_available_api_versions as $available_api_version) {
29
  $this->addEndpointNamespace(
@@ -135,7 +143,12 @@ class API {
135
  throw new \Exception(__('Invalid API endpoint.', 'mailpoet'));
136
  }
137
 
138
- $endpoint = new $this->_request_endpoint_class();
 
 
 
 
 
139
 
140
  if(!method_exists($endpoint, $this->_request_method)) {
141
  throw new \Exception(__('Invalid API endpoint method.', 'mailpoet'));
2
  namespace MailPoet\API\JSON;
3
 
4
  use MailPoet\Config\AccessControl;
5
+ use MailPoet\Dependencies\Symfony\Component\DependencyInjection\Container;
6
+ use MailPoet\Dependencies\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
7
  use MailPoet\Models\Setting;
8
  use MailPoet\Util\Helpers;
9
  use MailPoet\Util\Security;
22
  private $_available_api_versions = array(
23
  'v1'
24
  );
25
+ /** @var Container */
26
+ private $container;
27
+
28
+ /** @var AccessControl */
29
  private $access_control;
30
+
31
  const CURRENT_VERSION = 'v1';
32
 
33
+ function __construct(Container $container, AccessControl $access_control) {
34
+ $this->container = $container;
35
  $this->access_control = $access_control;
36
  foreach($this->_available_api_versions as $available_api_version) {
37
  $this->addEndpointNamespace(
143
  throw new \Exception(__('Invalid API endpoint.', 'mailpoet'));
144
  }
145
 
146
+ try {
147
+ $endpoint = $this->container->get($this->_request_endpoint_class);
148
+ } catch (ServiceNotFoundException $e) {
149
+ // Hotfix for Premium plugin which adds endpoints which are not registered in DI container
150
+ $endpoint = new $this->_request_endpoint_class();
151
+ }
152
 
153
  if(!method_exists($endpoint, $this->_request_method)) {
154
  throw new \Exception(__('Invalid API endpoint method.', 'mailpoet'));
lib/API/JSON/v1/AutomatedLatestContent.php CHANGED
@@ -10,13 +10,14 @@ use MailPoet\WP\Posts as WPPosts;
10
  if(!defined('ABSPATH')) exit;
11
 
12
  class AutomatedLatestContent extends APIEndpoint {
 
13
  public $ALC;
14
  public $permissions = array(
15
  'global' => AccessControl::PERMISSION_MANAGE_EMAILS
16
  );
17
 
18
- function __construct() {
19
- $this->ALC = new \MailPoet\Newsletter\AutomatedLatestContent();
20
  }
21
 
22
  function getPostTypes() {
@@ -43,7 +44,7 @@ class AutomatedLatestContent extends APIEndpoint {
43
  function getTerms($data = array()) {
44
  $taxonomies = (isset($data['taxonomies'])) ? $data['taxonomies'] : array();
45
  $search = (isset($data['search'])) ? $data['search'] : '';
46
- $limit = (isset($data['limit'])) ? (int)$data['limit'] : 50;
47
  $page = (isset($data['page'])) ? (int)$data['page'] : 1;
48
  $args = array(
49
  'taxonomy' => $taxonomies,
@@ -56,8 +57,9 @@ class AutomatedLatestContent extends APIEndpoint {
56
  );
57
 
58
  $args = Hooks::applyFilters('mailpoet_search_terms_args', $args);
 
59
 
60
- return $this->successResponse(WPPosts::getTerms($args));
61
  }
62
 
63
  function getPosts($data = array()) {
@@ -74,14 +76,12 @@ class AutomatedLatestContent extends APIEndpoint {
74
  }
75
 
76
  function getBulkTransformedPosts($data = array()) {
77
- $alc = new \MailPoet\Newsletter\AutomatedLatestContent();
78
-
79
  $used_posts = array();
80
  $rendered_posts = array();
81
 
82
  foreach($data['blocks'] as $block) {
83
- $posts = $alc->getPosts($block, $used_posts);
84
- $rendered_posts[] = $alc->transformPosts($block, $posts);
85
 
86
  foreach($posts as $post) {
87
  $used_posts[] = $post->ID;
@@ -90,4 +90,4 @@ class AutomatedLatestContent extends APIEndpoint {
90
 
91
  return $this->successResponse($rendered_posts);
92
  }
93
- }
10
  if(!defined('ABSPATH')) exit;
11
 
12
  class AutomatedLatestContent extends APIEndpoint {
13
+ /** @var \MailPoet\Newsletter\AutomatedLatestContent */
14
  public $ALC;
15
  public $permissions = array(
16
  'global' => AccessControl::PERMISSION_MANAGE_EMAILS
17
  );
18
 
19
+ function __construct(\MailPoet\Newsletter\AutomatedLatestContent $alc) {
20
+ $this->ALC = $alc;
21
  }
22
 
23
  function getPostTypes() {
44
  function getTerms($data = array()) {
45
  $taxonomies = (isset($data['taxonomies'])) ? $data['taxonomies'] : array();
46
  $search = (isset($data['search'])) ? $data['search'] : '';
47
+ $limit = (isset($data['limit'])) ? (int)$data['limit'] : 100;
48
  $page = (isset($data['page'])) ? (int)$data['page'] : 1;
49
  $args = array(
50
  'taxonomy' => $taxonomies,
57
  );
58
 
59
  $args = Hooks::applyFilters('mailpoet_search_terms_args', $args);
60
+ $terms = WPPosts::getTerms($args);
61
 
62
+ return $this->successResponse(array_values($terms));
63
  }
64
 
65
  function getPosts($data = array()) {
76
  }
77
 
78
  function getBulkTransformedPosts($data = array()) {
 
 
79
  $used_posts = array();
80
  $rendered_posts = array();
81
 
82
  foreach($data['blocks'] as $block) {
83
+ $posts = $this->ALC->getPosts($block, $used_posts);
84
+ $rendered_posts[] = $this->ALC->transformPosts($block, $posts);
85
 
86
  foreach($posts as $post) {
87
  $used_posts[] = $post->ID;
90
 
91
  return $this->successResponse($rendered_posts);
92
  }
93
+ }
lib/API/JSON/v1/Newsletters.php CHANGED
@@ -396,6 +396,7 @@ class Newsletters extends APIEndpoint {
396
  $newsletter
397
  ->withOptions()
398
  ->withTotalSent()
 
399
  ->withStatistics();
400
  } else if($newsletter->type === Newsletter::TYPE_NOTIFICATION) {
401
  $newsletter
396
  $newsletter
397
  ->withOptions()
398
  ->withTotalSent()
399
+ ->withScheduledToBeSent()
400
  ->withStatistics();
401
  } else if($newsletter->type === Newsletter::TYPE_NOTIFICATION) {
402
  $newsletter
lib/API/MP/v1/API.php CHANGED
@@ -15,6 +15,26 @@ use MailPoet\Tasks\Sending;
15
  if(!defined('ABSPATH')) exit;
16
 
17
  class API {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  function getSubscriberFields() {
19
  $data = array(
20
  array(
@@ -168,8 +188,7 @@ class API {
168
  // if some required default fields are missing, set their values
169
  $default_fields = Subscriber::setRequiredFieldsDefaultValues($default_fields);
170
 
171
- $validator = new RequiredCustomFieldValidator();
172
- $validator->validate($custom_fields);
173
 
174
  // add subscriber
175
  $new_subscriber = Subscriber::create();
@@ -255,8 +274,7 @@ class API {
255
  }
256
 
257
  protected function _sendConfirmationEmail(Subscriber $subscriber) {
258
- $sender = new ConfirmationEmailMailer();
259
- return $sender->sendConfirmationEmail($subscriber);
260
  }
261
 
262
  protected function _scheduleWelcomeNotification(Subscriber $subscriber, array $segments) {
@@ -274,7 +292,6 @@ class API {
274
  }
275
 
276
  private function sendSubscriberNotification(Subscriber $subscriber, array $segment_ids) {
277
- $sender = new NewSubscriberNotificationMailer();
278
- $sender->send($subscriber, Segment::whereIn('id', $segment_ids)->findMany());
279
  }
280
  }
15
  if(!defined('ABSPATH')) exit;
16
 
17
  class API {
18
+
19
+ /** @var NewSubscriberNotificationMailer */
20
+ private $new_subscribe_notification_mailer;
21
+
22
+ /** @var ConfirmationEmailMailer */
23
+ private $confirmation_email_mailer;
24
+
25
+ /** @var RequiredCustomFieldValidator */
26
+ private $required_custom_field_validator;
27
+
28
+ public function __construct(
29
+ NewSubscriberNotificationMailer $new_subscribe_notification_mailer,
30
+ ConfirmationEmailMailer $confirmation_email_mailer,
31
+ RequiredCustomFieldValidator $required_custom_field_validator
32
+ ) {
33
+ $this->new_subscribe_notification_mailer = $new_subscribe_notification_mailer;
34
+ $this->confirmation_email_mailer = $confirmation_email_mailer;
35
+ $this->required_custom_field_validator = $required_custom_field_validator;
36
+ }
37
+
38
  function getSubscriberFields() {
39
  $data = array(
40
  array(
188
  // if some required default fields are missing, set their values
189
  $default_fields = Subscriber::setRequiredFieldsDefaultValues($default_fields);
190
 
191
+ $this->required_custom_field_validator->validate($custom_fields);
 
192
 
193
  // add subscriber
194
  $new_subscriber = Subscriber::create();
274
  }
275
 
276
  protected function _sendConfirmationEmail(Subscriber $subscriber) {
277
+ return $this->confirmation_email_mailer->sendConfirmationEmail($subscriber);
 
278
  }
279
 
280
  protected function _scheduleWelcomeNotification(Subscriber $subscriber, array $segments) {
292
  }
293
 
294
  private function sendSubscriberNotification(Subscriber $subscriber, array $segment_ids) {
295
+ $this->new_subscribe_notification_mailer->send($subscriber, Segment::whereIn('id', $segment_ids)->findMany());
 
296
  }
297
  }
lib/Config/Changelog.php CHANGED
@@ -4,7 +4,7 @@ namespace MailPoet\Config;
4
 
5
  use MailPoet\Models\Setting;
6
  use MailPoet\Util\Url;
7
- use MailPoet\Wp\Hooks as WPHooks;
8
 
9
  class Changelog {
10
  function init() {
4
 
5
  use MailPoet\Models\Setting;
6
  use MailPoet\Util\Url;
7
+ use MailPoet\WP\Hooks as WPHooks;
8
 
9
  class Changelog {
10
  function init() {
lib/Config/Initializer.php CHANGED
@@ -99,6 +99,7 @@ class Initializer {
99
  function loadContainer() {
100
  $container_factory = new ContainerFactory(WP_DEBUG);
101
  $this->container = $container_factory->getContainer();
 
102
  }
103
 
104
  function checkRequirements() {
@@ -260,7 +261,7 @@ class Initializer {
260
  }
261
 
262
  function setupJSONAPI() {
263
- $json_api = API\API::JSON($this->access_control);
264
  $json_api->init();
265
  }
266
 
99
  function loadContainer() {
100
  $container_factory = new ContainerFactory(WP_DEBUG);
101
  $this->container = $container_factory->getContainer();
102
+ API\API::injectContainer($this->container);
103
  }
104
 
105
  function checkRequirements() {
261
  }
262
 
263
  function setupJSONAPI() {
264
+ $json_api = API\API::JSON();
265
  $json_api->init();
266
  }
267
 
lib/Config/MP2Migrator.php CHANGED
@@ -103,7 +103,7 @@ class MP2Migrator {
103
  $sql = "SHOW TABLES LIKE '{$table}'";
104
  $result = $wpdb->query($sql);
105
  return !empty($result);
106
- } catch (Exception $e) {
107
  // Do nothing
108
  }
109
 
103
  $sql = "SHOW TABLES LIKE '{$table}'";
104
  $result = $wpdb->query($sql);
105
  return !empty($result);
106
+ } catch (\Exception $e) {
107
  // Do nothing
108
  }
109
 
lib/Config/Menu.php CHANGED
@@ -325,7 +325,7 @@ class Menu {
325
  }
326
 
327
  function migration() {
328
- $mp2_migrator = new MP2Migrator($this->access_control);
329
  $mp2_migrator->init();
330
  $data = array(
331
  'log_file_url' => $mp2_migrator->log_file_url,
@@ -580,6 +580,7 @@ class Menu {
580
 
581
  $data['tracking_enabled'] = Setting::getValue('tracking.enabled');
582
  $data['premium_plugin_active'] = License::getLicense();
 
583
 
584
  $data['automatic_emails'] = array(
585
  array(
325
  }
326
 
327
  function migration() {
328
+ $mp2_migrator = new MP2Migrator();
329
  $mp2_migrator->init();
330
  $data = array(
331
  'log_file_url' => $mp2_migrator->log_file_url,
580
 
581
  $data['tracking_enabled'] = Setting::getValue('tracking.enabled');
582
  $data['premium_plugin_active'] = License::getLicense();
583
+ $data['is_woocommerce_active'] = class_exists('WooCommerce');
584
 
585
  $data['automatic_emails'] = array(
586
  array(
lib/Config/Populator.php CHANGED
@@ -1,11 +1,12 @@
1
  <?php
2
  namespace MailPoet\Config;
3
 
 
4
  use MailPoet\Cron\CronTrigger;
5
  use MailPoet\Mailer\MailerLog;
6
- use MailPoet\Models\Newsletter;
 
7
  use MailPoet\Models\Segment;
8
- use MailPoet\Models\SendingQueue;
9
  use MailPoet\Models\StatisticsForms;
10
  use MailPoet\Models\Subscriber;
11
  use MailPoet\Segments\WP;
@@ -23,6 +24,7 @@ class Populator {
23
  public $prefix;
24
  public $models;
25
  public $templates;
 
26
  const TEMPLATES_NAMESPACE = '\MailPoet\Config\PopulatorData\Templates\\';
27
 
28
  function __construct() {
@@ -86,9 +88,11 @@ class Populator {
86
  array_map(array($this, 'populate'), $this->models);
87
 
88
  $this->createDefaultSegments();
 
89
  $this->createDefaultSettings();
90
  $this->createMailPoetPage();
91
  $this->createSourceForSubscribers();
 
92
  }
93
 
94
  private function createMailPoetPage() {
@@ -193,13 +197,28 @@ class Populator {
193
 
194
  // Default segment
195
  if(Segment::where('type', 'default')->count() === 0) {
196
- $default_segment = Segment::create();
197
- $default_segment->hydrate(array(
198
  'name' => __('My First List', 'mailpoet'),
199
  'description' =>
200
  __('This list is automatically created when you install MailPoet.', 'mailpoet')
201
- ));
202
- $default_segment->save();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  }
204
  }
205
 
@@ -316,7 +335,7 @@ class Populator {
316
  private function rowExists($table, $columns) {
317
  global $wpdb;
318
 
319
- $conditions = array_map(function($key) use ($columns) {
320
  return $key . '=%s';
321
  }, array_keys($columns));
322
 
@@ -381,4 +400,18 @@ class Populator {
381
  ' AND `wp_user_id` IS NOT NULL'
382
  );
383
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  }
1
  <?php
2
  namespace MailPoet\Config;
3
 
4
+ use MailPoet\Config\PopulatorData\DefaultForm;
5
  use MailPoet\Cron\CronTrigger;
6
  use MailPoet\Mailer\MailerLog;
7
+ use MailPoet\Models\NewsletterTemplate;
8
+ use MailPoet\Models\Form;
9
  use MailPoet\Models\Segment;
 
10
  use MailPoet\Models\StatisticsForms;
11
  use MailPoet\Models\Subscriber;
12
  use MailPoet\Segments\WP;
24
  public $prefix;
25
  public $models;
26
  public $templates;
27
+ private $default_segment;
28
  const TEMPLATES_NAMESPACE = '\MailPoet\Config\PopulatorData\Templates\\';
29
 
30
  function __construct() {
88
  array_map(array($this, 'populate'), $this->models);
89
 
90
  $this->createDefaultSegments();
91
+ $this->createDefaultForm();
92
  $this->createDefaultSettings();
93
  $this->createMailPoetPage();
94
  $this->createSourceForSubscribers();
95
+ $this->updateNewsletterCategories();
96
  }
97
 
98
  private function createMailPoetPage() {
197
 
198
  // Default segment
199
  if(Segment::where('type', 'default')->count() === 0) {
200
+ $this->default_segment = Segment::create();
201
+ $this->default_segment->hydrate([
202
  'name' => __('My First List', 'mailpoet'),
203
  'description' =>
204
  __('This list is automatically created when you install MailPoet.', 'mailpoet')
205
+ ]);
206
+ $this->default_segment->save();
207
+ }
208
+ }
209
+
210
+ private function createDefaultForm() {
211
+ if(Form::count() === 0) {
212
+ $factory = new DefaultForm();
213
+ if(!$this->default_segment) {
214
+ $this->default_segment = Segment::where('type', 'default')->orderByAsc('id')->limit(1)->findOne();
215
+ }
216
+ Form::createOrUpdate([
217
+ 'name' => $factory->getName(),
218
+ 'body' => serialize($factory->getBody()),
219
+ 'settings' => serialize($factory->getSettings($this->default_segment)),
220
+ 'styles' => $factory->getStyles(),
221
+ ]);
222
  }
223
  }
224
 
335
  private function rowExists($table, $columns) {
336
  global $wpdb;
337
 
338
+ $conditions = array_map(function($key) {
339
  return $key . '=%s';
340
  }, array_keys($columns));
341
 
400
  ' AND `wp_user_id` IS NOT NULL'
401
  );
402
  }
403
+
404
+ private function updateNewsletterCategories() {
405
+ global $wpdb;
406
+ // perform once for versions below or equal to 3.14.0
407
+ if(version_compare(Setting::getValue('db_version', '3.14.1'), '3.14.0', '>')) {
408
+ return false;
409
+ }
410
+ $query = "UPDATE `%s` SET categories = REPLACE(REPLACE(categories, ',\"blank\"', ''), ',\"sample\"', ',\"all\"')";
411
+ $wpdb->query(sprintf(
412
+ $query,
413
+ NewsletterTemplate::$_table
414
+ ));
415
+ return true;
416
+ }
417
  }
lib/Config/PopulatorData/DefaultForm.php ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace MailPoet\Config\PopulatorData;
4
+
5
+ use MailPoet\Form\Util\Styles;
6
+ use MailPoet\Models\Segment;
7
+
8
+ class DefaultForm {
9
+
10
+ public function getName() {
11
+ return _x('A GDPR friendly form', 'default name of form (GDPR friendly) to capture emails', 'mailpoet');
12
+ }
13
+
14
+ public function getBody() {
15
+ return [
16
+ [
17
+ 'type' => 'text',
18
+ 'name' => _x('First name', 'Form label', 'mailpoet'),
19
+ 'id' => 'first_name',
20
+ 'unique' => '1',
21
+ 'static' => '0',
22
+ 'params' => ['label' => _x('First name', 'Form label', 'mailpoet')],
23
+ 'position' => '1',
24
+ ],
25
+ [
26
+ 'type' => 'text',
27
+ 'name' => _x('Email', 'Form label', 'mailpoet'),
28
+ 'id' => 'email',
29
+ 'unique' => '0',
30
+ 'static' => '1',
31
+ 'params' => ['label' => _x('Email', 'Form label', 'mailpoet'), 'required' => 'true'],
32
+ 'position' => '2',
33
+ ],
34
+ [
35
+ 'type' => 'html',
36
+ 'name' => _x('Custom text or HTML', 'Form label', 'mailpoet'),
37
+ 'id' => 'html',
38
+ 'unique' => '0',
39
+ 'static' => '0',
40
+ 'params' => [
41
+ 'text' => __('We keep your data private and share your data only with third parties that make this service possible. <a href="">Read our Privacy Policy.</a>', 'mailpoet'),
42
+ 'nl2br' => '0',
43
+ ],
44
+ 'position' => '3',
45
+ ],
46
+ [
47
+ 'type' => 'submit',
48
+ 'name' => _x('Submit', 'Form label', 'mailpoet'),
49
+ 'id' => 'submit',
50
+ 'unique' => '0',
51
+ 'static' => '1',
52
+ 'params' => ['label' => _x('Subscribe!', 'Form label', 'mailpoet')],
53
+ 'position' => '4',
54
+ ],
55
+ ];
56
+ }
57
+
58
+ public function getSettings(Segment $default_segment) {
59
+ return [
60
+ 'segments' => [$default_segment->id()],
61
+ 'on_success' => 'message',
62
+ 'success_message' => __('Check your inbox or spam folder to confirm your subscription.', 'mailpoet'),
63
+ 'success_page' => '5',
64
+ 'segments_selected_by' => 'admin',
65
+ ];
66
+ }
67
+
68
+ public function getStyles() {
69
+ return Styles::$default_styles;
70
+ }
71
+
72
+ }
lib/Config/PopulatorData/Templates/AppWelcome.php CHANGED
@@ -15,7 +15,7 @@ class AppWelcome {
15
  function get() {
16
  return array(
17
  'name' => __("App Welcome", 'mailpoet'),
18
- 'categories' => json_encode(array('welcome', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("App Welcome", 'mailpoet'),
18
+ 'categories' => json_encode(array('welcome', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Avocado.php CHANGED
@@ -15,7 +15,7 @@ class Avocado {
15
  function get() {
16
  return array(
17
  'name' => __("Avocado", 'mailpoet'),
18
- 'categories' => json_encode(array('woocommerce', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Avocado", 'mailpoet'),
18
+ 'categories' => json_encode(array('woocommerce', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Charity.php CHANGED
@@ -15,7 +15,7 @@ class Charity {
15
  function get() {
16
  return array(
17
  'name' => __("Charity", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Charity", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Coffee.php CHANGED
@@ -15,7 +15,7 @@ class Coffee {
15
  function get() {
16
  return array(
17
  'name' => __("Coffee", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Coffee", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/DogFood.php CHANGED
@@ -15,7 +15,7 @@ class DogFood {
15
  function get() {
16
  return array(
17
  'name' => __("Dog Food", 'mailpoet'),
18
- 'categories' => json_encode(array('woocommerce', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Dog Food", 'mailpoet'),
18
+ 'categories' => json_encode(array('woocommerce', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Drone.php CHANGED
@@ -15,7 +15,7 @@ class Drone {
15
  function get() {
16
  return array(
17
  'name' => __("Drone", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Drone", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Faith.php CHANGED
@@ -15,7 +15,7 @@ class Faith {
15
  function get() {
16
  return array(
17
  'name' => __("Faith", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Faith", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/FashionStore.php CHANGED
@@ -15,7 +15,7 @@ class FashionStore {
15
  function get() {
16
  return array(
17
  'name' => __("Fashion Store", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Fashion Store", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/FestivalEvent.php CHANGED
@@ -15,7 +15,7 @@ class FestivalEvent {
15
  function get() {
16
  return array(
17
  'name' => __("Festival Event", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Festival Event", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Fitness.php CHANGED
@@ -15,7 +15,7 @@ class Fitness {
15
  function get() {
16
  return array(
17
  'name' => __("Fitness", 'mailpoet'),
18
- 'categories' => json_encode(array('woocommerce', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Fitness", 'mailpoet'),
18
+ 'categories' => json_encode(array('woocommerce', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/FoodBox.php CHANGED
@@ -16,7 +16,7 @@ class FoodBox {
16
  function get() {
17
  return array(
18
  'name' => __("Welcome to FoodBox", 'mailpoet'),
19
- 'categories' => json_encode(array('standard', 'sample')),
20
  'readonly' => 1,
21
  'thumbnail' => $this->getThumbnail(),
22
  'body' => json_encode($this->getBody()),
16
  function get() {
17
  return array(
18
  'name' => __("Welcome to FoodBox", 'mailpoet'),
19
+ 'categories' => json_encode(array('standard', 'all')),
20
  'readonly' => 1,
21
  'thumbnail' => $this->getThumbnail(),
22
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/GiftWelcome.php CHANGED
@@ -15,7 +15,7 @@ class GiftWelcome {
15
  function get() {
16
  return array(
17
  'name' => __("Gift Welcome", 'mailpoet'),
18
- 'categories' => json_encode(array('welcome', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Gift Welcome", 'mailpoet'),
18
+ 'categories' => json_encode(array('welcome', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Hotels.php CHANGED
@@ -15,7 +15,7 @@ class Hotels {
15
  function get() {
16
  return array(
17
  'name' => __("Hotels", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Hotels", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/KidsClothing.php CHANGED
@@ -15,7 +15,7 @@ class KidsClothing {
15
  function get() {
16
  return array(
17
  'name' => __("Kids Clothing", 'mailpoet'),
18
- 'categories' => json_encode(array('woocommerce', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Kids Clothing", 'mailpoet'),
18
+ 'categories' => json_encode(array('woocommerce', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Minimal.php CHANGED
@@ -15,7 +15,7 @@ class Minimal {
15
  function get() {
16
  return array(
17
  'name' => __("Minimal", 'mailpoet'),
18
- 'categories' => json_encode(array('welcome', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Minimal", 'mailpoet'),
18
+ 'categories' => json_encode(array('welcome', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/ModularStyleStories.php CHANGED
@@ -15,7 +15,7 @@ class ModularStyleStories {
15
  function get() {
16
  return array(
17
  'name' => __("Modular Style Stories", 'mailpoet'),
18
- 'categories' => json_encode(array('notification', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Modular Style Stories", 'mailpoet'),
18
+ 'categories' => json_encode(array('notification', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Music.php CHANGED
@@ -15,7 +15,7 @@ class Music {
15
  function get() {
16
  return array(
17
  'name' => __("Music", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Music", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/NewsDay.php CHANGED
@@ -15,7 +15,7 @@ class NewsDay {
15
  function get() {
16
  return array(
17
  'name' => __("News Day", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("News Day", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php CHANGED
@@ -15,7 +15,7 @@ class NewsletterBlank121Column {
15
  function get() {
16
  return array(
17
  'name' => __("Newsletter: Blank 1:2:1 Column", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'blank')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Newsletter: Blank 1:2:1 Column", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php CHANGED
@@ -15,7 +15,7 @@ class NewsletterBlank12Column {
15
  function get() {
16
  return array(
17
  'name' => __("Newsletter: Blank 1:2 Column", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'blank')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Newsletter: Blank 1:2 Column", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php CHANGED
@@ -15,7 +15,7 @@ class NewsletterBlank13Column {
15
  function get() {
16
  return array(
17
  'name' => __("Newsletter: Blank 1:3 Column", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'blank')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Newsletter: Blank 1:3 Column", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php CHANGED
@@ -15,7 +15,7 @@ class NewsletterBlank1Column {
15
  function get() {
16
  return array(
17
  'name' => __("Newsletter: Blank 1 Column", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'blank')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Newsletter: Blank 1 Column", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/NotSoMedium.php CHANGED
@@ -15,7 +15,7 @@ class NotSoMedium {
15
  function get() {
16
  return array(
17
  'name' => __("One Full Post In An Email", 'mailpoet'),
18
- 'categories' => json_encode(array('notification', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("One Full Post In An Email", 'mailpoet'),
18
+ 'categories' => json_encode(array('notification', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Phone.php CHANGED
@@ -15,7 +15,7 @@ class Phone {
15
  function get() {
16
  return array(
17
  'name' => __("New Phone Purchase", 'mailpoet'),
18
- 'categories' => json_encode(array('welcome', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("New Phone Purchase", 'mailpoet'),
18
+ 'categories' => json_encode(array('welcome', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/PieceOfCake.php CHANGED
@@ -15,7 +15,7 @@ class PieceOfCake {
15
  function get() {
16
  return array(
17
  'name' => __("Piece of cake", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Piece of cake", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php CHANGED
@@ -15,7 +15,7 @@ class PostNotificationsBlank1Column {
15
  function get() {
16
  return array(
17
  'name' => __("Post Notifications: Blank 1 Column", 'mailpoet'),
18
- 'categories' => json_encode(array('notification', 'blank')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Post Notifications: Blank 1 Column", 'mailpoet'),
18
+ 'categories' => json_encode(array('notification')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/RealEstate.php CHANGED
@@ -16,7 +16,7 @@ class RealEstate {
16
  function get() {
17
  return array(
18
  'name' => __("Real Estate", 'mailpoet'),
19
- 'categories' => json_encode(['welcome', 'sample']),
20
  'readonly' => 1,
21
  'thumbnail' => $this->getThumbnail(),
22
  'body' => json_encode($this->getBody()),
16
  function get() {
17
  return array(
18
  'name' => __("Real Estate", 'mailpoet'),
19
+ 'categories' => json_encode(['welcome', 'all']),
20
  'readonly' => 1,
21
  'thumbnail' => $this->getThumbnail(),
22
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Retro.php CHANGED
@@ -15,7 +15,7 @@ class Retro {
15
  function get() {
16
  return array(
17
  'name' => __("Retro", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Retro", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/RetroComputingMagazine.php CHANGED
@@ -15,7 +15,7 @@ class RetroComputingMagazine {
15
  function get() {
16
  return array(
17
  'name' => __("Retro Computing Magazine", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Retro Computing Magazine", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/RssSimpleNews.php CHANGED
@@ -15,7 +15,7 @@ class RssSimpleNews {
15
  function get() {
16
  return array(
17
  'name' => __("Stripped RSS Style Layout", 'mailpoet'),
18
- 'categories' => json_encode(array('notification', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Stripped RSS Style Layout", 'mailpoet'),
18
+ 'categories' => json_encode(array('notification', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/ScienceWeekly.php CHANGED
@@ -15,7 +15,7 @@ class ScienceWeekly {
15
  function get() {
16
  return array(
17
  'name' => __("Science Weekly", 'mailpoet'),
18
- 'categories' => json_encode(array('notification', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Science Weekly", 'mailpoet'),
18
+ 'categories' => json_encode(array('notification', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Shoes.php CHANGED
@@ -15,7 +15,7 @@ class Shoes {
15
  function get() {
16
  return array(
17
  'name' => __("Shoes", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Shoes", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/SimpleText.php CHANGED
@@ -15,7 +15,7 @@ class SimpleText {
15
  function get() {
16
  return array(
17
  'name' => __("Simple Text", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Simple Text", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/Sunglasses.php CHANGED
@@ -16,7 +16,7 @@ class Sunglasses {
16
  function get() {
17
  return array(
18
  'name' => __("Sunglasses", 'mailpoet'),
19
- 'categories' => json_encode(array('welcome', 'sample')),
20
  'readonly' => 1,
21
  'thumbnail' => $this->getThumbnail(),
22
  'body' => json_encode($this->getBody()),
16
  function get() {
17
  return array(
18
  'name' => __("Sunglasses", 'mailpoet'),
19
+ 'categories' => json_encode(array('welcome', 'all')),
20
  'readonly' => 1,
21
  'thumbnail' => $this->getThumbnail(),
22
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/TakeAHike.php CHANGED
@@ -15,7 +15,7 @@ class TakeAHike {
15
  function get() {
16
  return array(
17
  'name' => __("Take a Hike", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Take a Hike", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php CHANGED
@@ -15,7 +15,7 @@ class WelcomeBlank12Column {
15
  function get() {
16
  return array(
17
  'name' => __("Welcome Email: Blank 1:2 Column", 'mailpoet'),
18
- 'categories' => json_encode(array('welcome', 'blank')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Welcome Email: Blank 1:2 Column", 'mailpoet'),
18
+ 'categories' => json_encode(array('welcome')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php CHANGED
@@ -15,7 +15,7 @@ class WelcomeBlank1Column {
15
  function get() {
16
  return array(
17
  'name' => __("Welcome Email: Blank 1 Column", 'mailpoet'),
18
- 'categories' => json_encode(array('welcome', 'blank')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Welcome Email: Blank 1 Column", 'mailpoet'),
18
+ 'categories' => json_encode(array('welcome')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/WideStoryLayout.php CHANGED
@@ -15,7 +15,7 @@ class WideStoryLayout {
15
  function get() {
16
  return array(
17
  'name' => __("Wide Story Layout", 'mailpoet'),
18
- 'categories' => json_encode(array('notification', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Wide Story Layout", 'mailpoet'),
18
+ 'categories' => json_encode(array('notification', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/WineCity.php CHANGED
@@ -15,7 +15,7 @@ class WineCity {
15
  function get() {
16
  return array(
17
  'name' => __("Wine City", 'mailpoet'),
18
- 'categories' => json_encode(array('woocommerce', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Wine City", 'mailpoet'),
18
+ 'categories' => json_encode(array('woocommerce', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/WorldCup.php CHANGED
@@ -15,7 +15,7 @@ class WorldCup {
15
  function get() {
16
  return array(
17
  'name' => __("World Cup", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("World Cup", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Config/PopulatorData/Templates/YogaStudio.php CHANGED
@@ -15,7 +15,7 @@ class YogaStudio {
15
  function get() {
16
  return array(
17
  'name' => __("Yoga Studio", 'mailpoet'),
18
- 'categories' => json_encode(array('standard', 'sample')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
15
  function get() {
16
  return array(
17
  'name' => __("Yoga Studio", 'mailpoet'),
18
+ 'categories' => json_encode(array('standard', 'all')),
19
  'readonly' => 1,
20
  'thumbnail' => $this->getThumbnail(),
21
  'body' => json_encode($this->getBody()),
lib/Cron/Workers/SimpleWorker.php CHANGED
@@ -12,10 +12,11 @@ if(!defined('ABSPATH')) exit;
12
  abstract class SimpleWorker {
13
  public $timer;
14
 
 
15
  const TASK_BATCH_SIZE = 5;
16
 
17
  function __construct($timer = false) {
18
- if(!defined('static::TASK_TYPE')) {
19
  throw new \Exception('Constant TASK_TYPE is not defined on subclass ' . get_class($this));
20
  }
21
  $this->timer = ($timer) ? $timer : microtime(true);
@@ -27,14 +28,15 @@ abstract class SimpleWorker {
27
  return true;
28
  }
29
 
 
 
 
30
  function process() {
31
  if(!$this->checkProcessingRequirements()) {
32
  return false;
33
  }
34
 
35
- if(is_callable(array($this, 'init'))) {
36
- $this->init();
37
- }
38
 
39
  $scheduled_tasks = self::getScheduledTasks();
40
  $running_tasks = self::getRunningTasks();
12
  abstract class SimpleWorker {
13
  public $timer;
14
 
15
+ const TASK_TYPE = null;
16
  const TASK_BATCH_SIZE = 5;
17
 
18
  function __construct($timer = false) {
19
+ if(static::TASK_TYPE === null) {
20
  throw new \Exception('Constant TASK_TYPE is not defined on subclass ' . get_class($this));
21
  }
22
  $this->timer = ($timer) ? $timer : microtime(true);
28
  return true;
29
  }
30
 
31
+ function init() {
32
+ }
33
+
34
  function process() {
35
  if(!$this->checkProcessingRequirements()) {
36
  return false;
37
  }
38
 
39
+ $this->init();
 
 
40
 
41
  $scheduled_tasks = self::getScheduledTasks();
42
  $running_tasks = self::getRunningTasks();
lib/DI/CachedContainer.php CHANGED
@@ -23,22 +23,62 @@ class CachedContainer extends Container
23
  {
24
  $this->services = array();
25
  $this->normalizedIds = array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  'mailpoet\\config\\accesscontrol' => 'MailPoet\\Config\\AccessControl',
27
  'mailpoet\\cron\\daemon' => 'MailPoet\\Cron\\Daemon',
28
  'mailpoet\\cron\\daemonhttprunner' => 'MailPoet\\Cron\\DaemonHttpRunner',
 
29
  'mailpoet\\router\\endpoints\\crondaemon' => 'MailPoet\\Router\\Endpoints\\CronDaemon',
30
  'mailpoet\\router\\endpoints\\subscription' => 'MailPoet\\Router\\Endpoints\\Subscription',
31
  'mailpoet\\router\\endpoints\\track' => 'MailPoet\\Router\\Endpoints\\Track',
32
  'mailpoet\\router\\endpoints\\viewinbrowser' => 'MailPoet\\Router\\Endpoints\\ViewInBrowser',
 
 
 
33
  );
34
  $this->methodMap = array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  'MailPoet\\Config\\AccessControl' => 'getAccessControlService',
36
  'MailPoet\\Cron\\Daemon' => 'getDaemonService',
37
  'MailPoet\\Cron\\DaemonHttpRunner' => 'getDaemonHttpRunnerService',
 
38
  'MailPoet\\Router\\Endpoints\\CronDaemon' => 'getCronDaemonService',
39
  'MailPoet\\Router\\Endpoints\\Subscription' => 'getSubscriptionService',
40
  'MailPoet\\Router\\Endpoints\\Track' => 'getTrackService',
41
  'MailPoet\\Router\\Endpoints\\ViewInBrowser' => 'getViewInBrowserService',
 
 
 
42
  );
43
 
44
  $this->aliases = array();
@@ -69,6 +109,166 @@ class CachedContainer extends Container
69
  return true;
70
  }
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  /**
73
  * Gets the public 'MailPoet\Config\AccessControl' shared autowired service.
74
  *
@@ -99,6 +299,16 @@ class CachedContainer extends Container
99
  return $this->services['MailPoet\Cron\DaemonHttpRunner'] = new \MailPoet\Cron\DaemonHttpRunner(${($_ = isset($this->services['MailPoet\Cron\Daemon']) ? $this->services['MailPoet\Cron\Daemon'] : $this->services['MailPoet\Cron\Daemon'] = new \MailPoet\Cron\Daemon()) && false ?: '_'});
100
  }
101
 
 
 
 
 
 
 
 
 
 
 
102
  /**
103
  * Gets the public 'MailPoet\Router\Endpoints\CronDaemon' shared autowired service.
104
  *
@@ -138,4 +348,34 @@ class CachedContainer extends Container
138
  {
139
  return $this->services['MailPoet\Router\Endpoints\ViewInBrowser'] = new \MailPoet\Router\Endpoints\ViewInBrowser(${($_ = isset($this->services['MailPoet\Config\AccessControl']) ? $this->services['MailPoet\Config\AccessControl'] : $this->services['MailPoet\Config\AccessControl'] = new \MailPoet\Config\AccessControl()) && false ?: '_'});
140
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  }
23
  {
24
  $this->services = array();
25
  $this->normalizedIds = array(
26
+ 'mailpoet\\api\\json\\api' => 'MailPoet\\API\\JSON\\API',
27
+ 'mailpoet\\api\\json\\v1\\automatedlatestcontent' => 'MailPoet\\API\\JSON\\v1\\AutomatedLatestContent',
28
+ 'mailpoet\\api\\json\\v1\\customfields' => 'MailPoet\\API\\JSON\\v1\\CustomFields',
29
+ 'mailpoet\\api\\json\\v1\\forms' => 'MailPoet\\API\\JSON\\v1\\Forms',
30
+ 'mailpoet\\api\\json\\v1\\importexport' => 'MailPoet\\API\\JSON\\v1\\ImportExport',
31
+ 'mailpoet\\api\\json\\v1\\mailer' => 'MailPoet\\API\\JSON\\v1\\Mailer',
32
+ 'mailpoet\\api\\json\\v1\\mp2migrator' => 'MailPoet\\API\\JSON\\v1\\MP2Migrator',
33
+ 'mailpoet\\api\\json\\v1\\newsletters' => 'MailPoet\\API\\JSON\\v1\\Newsletters',
34
+ 'mailpoet\\api\\json\\v1\\newslettertemplates' => 'MailPoet\\API\\JSON\\v1\\NewsletterTemplates',
35
+ 'mailpoet\\api\\json\\v1\\segments' => 'MailPoet\\API\\JSON\\v1\\Segments',
36
+ 'mailpoet\\api\\json\\v1\\sendingqueue' => 'MailPoet\\API\\JSON\\v1\\SendingQueue',
37
+ 'mailpoet\\api\\json\\v1\\services' => 'MailPoet\\API\\JSON\\v1\\Services',
38
+ 'mailpoet\\api\\json\\v1\\settings' => 'MailPoet\\API\\JSON\\v1\\Settings',
39
+ 'mailpoet\\api\\json\\v1\\setup' => 'MailPoet\\API\\JSON\\v1\\Setup',
40
+ 'mailpoet\\api\\json\\v1\\subscribers' => 'MailPoet\\API\\JSON\\v1\\Subscribers',
41
+ 'mailpoet\\api\\mp\\v1\\api' => 'MailPoet\\API\\MP\\v1\\API',
42
  'mailpoet\\config\\accesscontrol' => 'MailPoet\\Config\\AccessControl',
43
  'mailpoet\\cron\\daemon' => 'MailPoet\\Cron\\Daemon',
44
  'mailpoet\\cron\\daemonhttprunner' => 'MailPoet\\Cron\\DaemonHttpRunner',
45
+ 'mailpoet\\newsletter\\automatedlatestcontent' => 'MailPoet\\Newsletter\\AutomatedLatestContent',
46
  'mailpoet\\router\\endpoints\\crondaemon' => 'MailPoet\\Router\\Endpoints\\CronDaemon',
47
  'mailpoet\\router\\endpoints\\subscription' => 'MailPoet\\Router\\Endpoints\\Subscription',
48
  'mailpoet\\router\\endpoints\\track' => 'MailPoet\\Router\\Endpoints\\Track',
49
  'mailpoet\\router\\endpoints\\viewinbrowser' => 'MailPoet\\Router\\Endpoints\\ViewInBrowser',
50
+ 'mailpoet\\subscribers\\confirmationemailmailer' => 'MailPoet\\Subscribers\\ConfirmationEmailMailer',
51
+ 'mailpoet\\subscribers\\newsubscribernotificationmailer' => 'MailPoet\\Subscribers\\NewSubscriberNotificationMailer',
52
+ 'mailpoet\\subscribers\\requiredcustomfieldvalidator' => 'MailPoet\\Subscribers\\RequiredCustomFieldValidator',
53
  );
54
  $this->methodMap = array(
55
+ 'MailPoet\\API\\JSON\\API' => 'getAPIService',
56
+ 'MailPoet\\API\\JSON\\v1\\AutomatedLatestContent' => 'getAutomatedLatestContentService',
57
+ 'MailPoet\\API\\JSON\\v1\\CustomFields' => 'getCustomFieldsService',
58
+ 'MailPoet\\API\\JSON\\v1\\Forms' => 'getFormsService',
59
+ 'MailPoet\\API\\JSON\\v1\\ImportExport' => 'getImportExportService',
60
+ 'MailPoet\\API\\JSON\\v1\\MP2Migrator' => 'getMP2MigratorService',
61
+ 'MailPoet\\API\\JSON\\v1\\Mailer' => 'getMailerService',
62
+ 'MailPoet\\API\\JSON\\v1\\NewsletterTemplates' => 'getNewsletterTemplatesService',
63
+ 'MailPoet\\API\\JSON\\v1\\Newsletters' => 'getNewslettersService',
64
+ 'MailPoet\\API\\JSON\\v1\\Segments' => 'getSegmentsService',
65
+ 'MailPoet\\API\\JSON\\v1\\SendingQueue' => 'getSendingQueueService',
66
+ 'MailPoet\\API\\JSON\\v1\\Services' => 'getServicesService',
67
+ 'MailPoet\\API\\JSON\\v1\\Settings' => 'getSettingsService',
68
+ 'MailPoet\\API\\JSON\\v1\\Setup' => 'getSetupService',
69
+ 'MailPoet\\API\\JSON\\v1\\Subscribers' => 'getSubscribersService',
70
+ 'MailPoet\\API\\MP\\v1\\API' => 'getAPI2Service',
71
  'MailPoet\\Config\\AccessControl' => 'getAccessControlService',
72
  'MailPoet\\Cron\\Daemon' => 'getDaemonService',
73
  'MailPoet\\Cron\\DaemonHttpRunner' => 'getDaemonHttpRunnerService',
74
+ 'MailPoet\\Newsletter\\AutomatedLatestContent' => 'getAutomatedLatestContent2Service',
75
  'MailPoet\\Router\\Endpoints\\CronDaemon' => 'getCronDaemonService',
76
  'MailPoet\\Router\\Endpoints\\Subscription' => 'getSubscriptionService',
77
  'MailPoet\\Router\\Endpoints\\Track' => 'getTrackService',
78
  'MailPoet\\Router\\Endpoints\\ViewInBrowser' => 'getViewInBrowserService',
79
+ 'MailPoet\\Subscribers\\ConfirmationEmailMailer' => 'getConfirmationEmailMailerService',
80
+ 'MailPoet\\Subscribers\\NewSubscriberNotificationMailer' => 'getNewSubscriberNotificationMailerService',
81
+ 'MailPoet\\Subscribers\\RequiredCustomFieldValidator' => 'getRequiredCustomFieldValidatorService',
82
  );
83
 
84
  $this->aliases = array();
109
  return true;
110
  }
111
 
112
+ /**
113
+ * Gets the public 'MailPoet\API\JSON\API' shared autowired service.
114
+ *
115
+ * @return \MailPoet\API\JSON\API
116
+ */
117
+ protected function getAPIService()
118
+ {
119
+ return $this->services['MailPoet\API\JSON\API'] = new \MailPoet\API\JSON\API($this, ${($_ = isset($this->services['MailPoet\Config\AccessControl']) ? $this->services['MailPoet\Config\AccessControl'] : $this->services['MailPoet\Config\AccessControl'] = new \MailPoet\Config\AccessControl()) && false ?: '_'});
120
+ }
121
+
122
+ /**
123
+ * Gets the public 'MailPoet\API\JSON\v1\AutomatedLatestContent' shared autowired service.
124
+ *
125
+ * @return \MailPoet\API\JSON\v1\AutomatedLatestContent
126
+ */
127
+ protected function getAutomatedLatestContentService()
128
+ {
129
+ return $this->services['MailPoet\API\JSON\v1\AutomatedLatestContent'] = new \MailPoet\API\JSON\v1\AutomatedLatestContent(${($_ = isset($this->services['MailPoet\Newsletter\AutomatedLatestContent']) ? $this->services['MailPoet\Newsletter\AutomatedLatestContent'] : $this->services['MailPoet\Newsletter\AutomatedLatestContent'] = new \MailPoet\Newsletter\AutomatedLatestContent()) && false ?: '_'});
130
+ }
131
+
132
+ /**
133
+ * Gets the public 'MailPoet\API\JSON\v1\CustomFields' shared autowired service.
134
+ *
135
+ * @return \MailPoet\API\JSON\v1\CustomFields
136
+ */
137
+ protected function getCustomFieldsService()
138
+ {
139
+ return $this->services['MailPoet\API\JSON\v1\CustomFields'] = new \MailPoet\API\JSON\v1\CustomFields();
140
+ }
141
+
142
+ /**
143
+ * Gets the public 'MailPoet\API\JSON\v1\Forms' shared autowired service.
144
+ *
145
+ * @return \MailPoet\API\JSON\v1\Forms
146
+ */
147
+ protected function getFormsService()
148
+ {
149
+ return $this->services['MailPoet\API\JSON\v1\Forms'] = new \MailPoet\API\JSON\v1\Forms();
150
+ }
151
+
152
+ /**
153
+ * Gets the public 'MailPoet\API\JSON\v1\ImportExport' shared autowired service.
154
+ *
155
+ * @return \MailPoet\API\JSON\v1\ImportExport
156
+ */
157
+ protected function getImportExportService()
158
+ {
159
+ return $this->services['MailPoet\API\JSON\v1\ImportExport'] = new \MailPoet\API\JSON\v1\ImportExport();
160
+ }
161
+
162
+ /**
163
+ * Gets the public 'MailPoet\API\JSON\v1\MP2Migrator' shared autowired service.
164
+ *
165
+ * @return \MailPoet\API\JSON\v1\MP2Migrator
166
+ */
167
+ protected function getMP2MigratorService()
168
+ {
169
+ return $this->services['MailPoet\API\JSON\v1\MP2Migrator'] = new \MailPoet\API\JSON\v1\MP2Migrator();
170
+ }
171
+
172
+ /**
173
+ * Gets the public 'MailPoet\API\JSON\v1\Mailer' shared autowired service.
174
+ *
175
+ * @return \MailPoet\API\JSON\v1\Mailer
176
+ */
177
+ protected function getMailerService()
178
+ {
179
+ return $this->services['MailPoet\API\JSON\v1\Mailer'] = new \MailPoet\API\JSON\v1\Mailer();
180
+ }
181
+
182
+ /**
183
+ * Gets the public 'MailPoet\API\JSON\v1\NewsletterTemplates' shared autowired service.
184
+ *
185
+ * @return \MailPoet\API\JSON\v1\NewsletterTemplates
186
+ */
187
+ protected function getNewsletterTemplatesService()
188
+ {
189
+ return $this->services['MailPoet\API\JSON\v1\NewsletterTemplates'] = new \MailPoet\API\JSON\v1\NewsletterTemplates();
190
+ }
191
+
192
+ /**
193
+ * Gets the public 'MailPoet\API\JSON\v1\Newsletters' shared autowired service.
194
+ *
195
+ * @return \MailPoet\API\JSON\v1\Newsletters
196
+ */
197
+ protected function getNewslettersService()
198
+ {
199
+ return $this->services['MailPoet\API\JSON\v1\Newsletters'] = new \MailPoet\API\JSON\v1\Newsletters();
200
+ }
201
+
202
+ /**
203
+ * Gets the public 'MailPoet\API\JSON\v1\Segments' shared autowired service.
204
+ *
205
+ * @return \MailPoet\API\JSON\v1\Segments
206
+ */
207
+ protected function getSegmentsService()
208
+ {
209
+ return $this->services['MailPoet\API\JSON\v1\Segments'] = new \MailPoet\API\JSON\v1\Segments();
210
+ }
211
+
212
+ /**
213
+ * Gets the public 'MailPoet\API\JSON\v1\SendingQueue' shared autowired service.
214
+ *
215
+ * @return \MailPoet\API\JSON\v1\SendingQueue
216
+ */
217
+ protected function getSendingQueueService()
218
+ {
219
+ return $this->services['MailPoet\API\JSON\v1\SendingQueue'] = new \MailPoet\API\JSON\v1\SendingQueue();
220
+ }
221
+
222
+ /**
223
+ * Gets the public 'MailPoet\API\JSON\v1\Services' shared autowired service.
224
+ *
225
+ * @return \MailPoet\API\JSON\v1\Services
226
+ */
227
+ protected function getServicesService()
228
+ {
229
+ return $this->services['MailPoet\API\JSON\v1\Services'] = new \MailPoet\API\JSON\v1\Services();
230
+ }
231
+
232
+ /**
233
+ * Gets the public 'MailPoet\API\JSON\v1\Settings' shared autowired service.
234
+ *
235
+ * @return \MailPoet\API\JSON\v1\Settings
236
+ */
237
+ protected function getSettingsService()
238
+ {
239
+ return $this->services['MailPoet\API\JSON\v1\Settings'] = new \MailPoet\API\JSON\v1\Settings();
240
+ }
241
+
242
+ /**
243
+ * Gets the public 'MailPoet\API\JSON\v1\Setup' shared autowired service.
244
+ *
245
+ * @return \MailPoet\API\JSON\v1\Setup
246
+ */
247
+ protected function getSetupService()
248
+ {
249
+ return $this->services['MailPoet\API\JSON\v1\Setup'] = new \MailPoet\API\JSON\v1\Setup();
250
+ }
251
+
252
+ /**
253
+ * Gets the public 'MailPoet\API\JSON\v1\Subscribers' shared autowired service.
254
+ *
255
+ * @return \MailPoet\API\JSON\v1\Subscribers
256
+ */
257
+ protected function getSubscribersService()
258
+ {
259
+ return $this->services['MailPoet\API\JSON\v1\Subscribers'] = new \MailPoet\API\JSON\v1\Subscribers();
260
+ }
261
+
262
+ /**
263
+ * Gets the public 'MailPoet\API\MP\v1\API' shared autowired service.
264
+ *
265
+ * @return \MailPoet\API\MP\v1\API
266
+ */
267
+ protected function getAPI2Service()
268
+ {
269
+ return $this->services['MailPoet\API\MP\v1\API'] = new \MailPoet\API\MP\v1\API(${($_ = isset($this->services['MailPoet\Subscribers\NewSubscriberNotificationMailer']) ? $this->services['MailPoet\Subscribers\NewSubscriberNotificationMailer'] : $this->services['MailPoet\Subscribers\NewSubscriberNotificationMailer'] = new \MailPoet\Subscribers\NewSubscriberNotificationMailer()) && false ?: '_'}, ${($_ = isset($this->services['MailPoet\Subscribers\ConfirmationEmailMailer']) ? $this->services['MailPoet\Subscribers\ConfirmationEmailMailer'] : $this->services['MailPoet\Subscribers\ConfirmationEmailMailer'] = new \MailPoet\Subscribers\ConfirmationEmailMailer()) && false ?: '_'}, ${($_ = isset($this->services['MailPoet\Subscribers\RequiredCustomFieldValidator']) ? $this->services['MailPoet\Subscribers\RequiredCustomFieldValidator'] : $this->services['MailPoet\Subscribers\RequiredCustomFieldValidator'] = new \MailPoet\Subscribers\RequiredCustomFieldValidator()) && false ?: '_'});
270
+ }
271
+
272
  /**
273
  * Gets the public 'MailPoet\Config\AccessControl' shared autowired service.
274
  *
299
  return $this->services['MailPoet\Cron\DaemonHttpRunner'] = new \MailPoet\Cron\DaemonHttpRunner(${($_ = isset($this->services['MailPoet\Cron\Daemon']) ? $this->services['MailPoet\Cron\Daemon'] : $this->services['MailPoet\Cron\Daemon'] = new \MailPoet\Cron\Daemon()) && false ?: '_'});
300
  }
301
 
302
+ /**
303
+ * Gets the public 'MailPoet\Newsletter\AutomatedLatestContent' shared autowired service.
304
+ *
305
+ * @return \MailPoet\Newsletter\AutomatedLatestContent
306
+ */
307
+ protected function getAutomatedLatestContent2Service()
308
+ {
309
+ return $this->services['MailPoet\Newsletter\AutomatedLatestContent'] = new \MailPoet\Newsletter\AutomatedLatestContent();
310
+ }
311
+
312
  /**
313
  * Gets the public 'MailPoet\Router\Endpoints\CronDaemon' shared autowired service.
314
  *
348
  {
349
  return $this->services['MailPoet\Router\Endpoints\ViewInBrowser'] = new \MailPoet\Router\Endpoints\ViewInBrowser(${($_ = isset($this->services['MailPoet\Config\AccessControl']) ? $this->services['MailPoet\Config\AccessControl'] : $this->services['MailPoet\Config\AccessControl'] = new \MailPoet\Config\AccessControl()) && false ?: '_'});
350
  }
351
+
352
+ /**
353
+ * Gets the public 'MailPoet\Subscribers\ConfirmationEmailMailer' shared autowired service.
354
+ *
355
+ * @return \MailPoet\Subscribers\ConfirmationEmailMailer
356
+ */
357
+ protected function getConfirmationEmailMailerService()
358
+ {
359
+ return $this->services['MailPoet\Subscribers\ConfirmationEmailMailer'] = new \MailPoet\Subscribers\ConfirmationEmailMailer();
360
+ }
361
+
362
+ /**
363
+ * Gets the public 'MailPoet\Subscribers\NewSubscriberNotificationMailer' shared autowired service.
364
+ *
365
+ * @return \MailPoet\Subscribers\NewSubscriberNotificationMailer
366
+ */
367
+ protected function getNewSubscriberNotificationMailerService()
368
+ {
369
+ return $this->services['MailPoet\Subscribers\NewSubscriberNotificationMailer'] = new \MailPoet\Subscribers\NewSubscriberNotificationMailer();
370
+ }
371
+
372
+ /**
373
+ * Gets the public 'MailPoet\Subscribers\RequiredCustomFieldValidator' shared autowired service.
374
+ *
375
+ * @return \MailPoet\Subscribers\RequiredCustomFieldValidator
376
+ */
377
+ protected function getRequiredCustomFieldValidatorService()
378
+ {
379
+ return $this->services['MailPoet\Subscribers\RequiredCustomFieldValidator'] = new \MailPoet\Subscribers\RequiredCustomFieldValidator();
380
+ }
381
  }
lib/DI/ContainerFactory.php CHANGED
@@ -4,6 +4,7 @@ namespace MailPoet\DI;
4
 
5
  use MailPoet\Dependencies\Symfony\Component\DependencyInjection\ContainerBuilder;
6
  use MailPoet\Dependencies\Symfony\Component\DependencyInjection\Dumper\PhpDumper;
 
7
 
8
  class ContainerFactory {
9
 
@@ -46,13 +47,42 @@ class ContainerFactory {
46
 
47
  function createContainer() {
48
  $container = new ContainerBuilder();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  $container->autowire(\MailPoet\Config\AccessControl::class)->setPublic(true);
 
50
  $container->autowire(\MailPoet\Cron\Daemon::class)->setPublic(true);
51
  $container->autowire(\MailPoet\Cron\DaemonHttpRunner::class)->setPublic(true);
 
52
  $container->autowire(\MailPoet\Router\Endpoints\CronDaemon::class)->setPublic(true);
53
  $container->autowire(\MailPoet\Router\Endpoints\Subscription::class)->setPublic(true);
54
  $container->autowire(\MailPoet\Router\Endpoints\Track::class)->setPublic(true);
55
  $container->autowire(\MailPoet\Router\Endpoints\ViewInBrowser::class)->setPublic(true);
 
 
 
 
 
 
56
  return $container;
57
  }
58
 
4
 
5
  use MailPoet\Dependencies\Symfony\Component\DependencyInjection\ContainerBuilder;
6
  use MailPoet\Dependencies\Symfony\Component\DependencyInjection\Dumper\PhpDumper;
7
+ use MailPoet\Dependencies\Symfony\Component\DependencyInjection\Reference;
8
 
9
  class ContainerFactory {
10
 
47
 
48
  function createContainer() {
49
  $container = new ContainerBuilder();
50
+ // API
51
+ $container->autowire(\MailPoet\API\MP\v1\API::class)->setPublic(true);
52
+ $container->register(\MailPoet\API\JSON\API::class)
53
+ ->addArgument(new Reference('service_container'))
54
+ ->setAutowired(true)
55
+ ->setPublic(true);
56
+ $container->autowire(\MailPoet\API\JSON\v1\AutomatedLatestContent::class)->setPublic(true);
57
+ $container->autowire(\MailPoet\API\JSON\v1\CustomFields::class)->setPublic(true);
58
+ $container->autowire(\MailPoet\API\JSON\v1\Forms::class)->setPublic(true);
59
+ $container->autowire(\MailPoet\API\JSON\v1\ImportExport::class)->setPublic(true);
60
+ $container->autowire(\MailPoet\API\JSON\v1\Mailer::class)->setPublic(true);
61
+ $container->autowire(\MailPoet\API\JSON\v1\MP2Migrator::class)->setPublic(true);
62
+ $container->autowire(\MailPoet\API\JSON\v1\Newsletters::class)->setPublic(true);
63
+ $container->autowire(\MailPoet\API\JSON\v1\NewsletterTemplates::class)->setPublic(true);
64
+ $container->autowire(\MailPoet\API\JSON\v1\Segments::class)->setPublic(true);
65
+ $container->autowire(\MailPoet\API\JSON\v1\SendingQueue::class)->setPublic(true);
66
+ $container->autowire(\MailPoet\API\JSON\v1\Services::class)->setPublic(true);
67
+ $container->autowire(\MailPoet\API\JSON\v1\Settings::class)->setPublic(true);
68
+ $container->autowire(\MailPoet\API\JSON\v1\Setup::class)->setPublic(true);
69
+ $container->autowire(\MailPoet\API\JSON\v1\Subscribers::class)->setPublic(true);
70
+ // Config
71
  $container->autowire(\MailPoet\Config\AccessControl::class)->setPublic(true);
72
+ // Cron
73
  $container->autowire(\MailPoet\Cron\Daemon::class)->setPublic(true);
74
  $container->autowire(\MailPoet\Cron\DaemonHttpRunner::class)->setPublic(true);
75
+ // Router
76
  $container->autowire(\MailPoet\Router\Endpoints\CronDaemon::class)->setPublic(true);
77
  $container->autowire(\MailPoet\Router\Endpoints\Subscription::class)->setPublic(true);
78
  $container->autowire(\MailPoet\Router\Endpoints\Track::class)->setPublic(true);
79
  $container->autowire(\MailPoet\Router\Endpoints\ViewInBrowser::class)->setPublic(true);
80
+ // Subscribers
81
+ $container->autowire(\MailPoet\Subscribers\NewSubscriberNotificationMailer::class)->setPublic(true);
82
+ $container->autowire(\MailPoet\Subscribers\ConfirmationEmailMailer::class)->setPublic(true);
83
+ $container->autowire(\MailPoet\Subscribers\RequiredCustomFieldValidator::class)->setPublic(true);
84
+ // Newsletter
85
+ $container->autowire(\MailPoet\Newsletter\AutomatedLatestContent::class)->setPublic(true);
86
  return $container;
87
  }
88
 
lib/Form/Util/Styles.php CHANGED
@@ -58,6 +58,7 @@ class Styles {
58
  }
59
 
60
  .mailpoet_validate_success {
 
61
  color:#468847;
62
  }
63
 
@@ -88,4 +89,4 @@ EOL;
88
  }
89
  return implode(PHP_EOL, $formatted_styles);
90
  }
91
- }
58
  }
59
 
60
  .mailpoet_validate_success {
61
+ font-weight: 600;
62
  color:#468847;
63
  }
64
 
89
  }
90
  return implode(PHP_EOL, $formatted_styles);
91
  }
92
+ }
lib/Models/Newsletter.php CHANGED
@@ -514,6 +514,13 @@ class Newsletter extends Model {
514
  return $this;
515
  }
516
 
 
 
 
 
 
 
 
517
  function withStatistics() {
518
  $statistics = $this->getStatistics();
519
  $this->statistics = $statistics;
514
  return $this;
515
  }
516
 
517
+ function withScheduledToBeSent() {
518
+ $this->total_scheduled = (int)SendingQueue::findTaskByNewsletterId($this->id)
519
+ ->where('tasks.status', SendingQueue::STATUS_SCHEDULED)
520
+ ->count();
521
+ return $this;
522
+ }
523
+
524
  function withStatistics() {
525
  $statistics = $this->getStatistics();
526
  $this->statistics = $statistics;
lib/Newsletter/Renderer/Blocks/Renderer.php CHANGED
@@ -11,7 +11,7 @@ class Renderer {
11
  public $posts;
12
  public $ALC;
13
 
14
- function __construct(array $newsletter, $preview) {
15
  $this->newsletter = $newsletter;
16
  $this->posts = array();
17
  $newer_than_timestamp = false;
11
  public $posts;
12
  public $ALC;
13
 
14
+ function __construct(array $newsletter) {
15
  $this->newsletter = $newsletter;
16
  $this->posts = array();
17
  $newer_than_timestamp = false;
lib/Newsletter/Renderer/Renderer.php CHANGED
@@ -21,7 +21,7 @@ class Renderer {
21
  function __construct($newsletter, $preview = false) {
22
  $this->newsletter = (is_object($newsletter)) ? $newsletter->asArray() : $newsletter;
23
  $this->preview = $preview;
24
- $this->blocks_renderer = new Blocks\Renderer($this->newsletter, $this->preview);
25
  $this->columns_renderer = new Columns\Renderer();
26
  $this->DOM_parser = new pQuery();
27
  $this->CSS_inliner = new \MailPoet\Util\CSS();
21
  function __construct($newsletter, $preview = false) {
22
  $this->newsletter = (is_object($newsletter)) ? $newsletter->asArray() : $newsletter;
23
  $this->preview = $preview;
24
+ $this->blocks_renderer = new Blocks\Renderer($this->newsletter);
25
  $this->columns_renderer = new Columns\Renderer();
26
  $this->DOM_parser = new pQuery();
27
  $this->CSS_inliner = new \MailPoet\Util\CSS();
lib/Subscribers/ImportExport/Import/MailChimp.php CHANGED
@@ -10,7 +10,7 @@ class MailChimp {
10
  public $export_url;
11
  const API_KEY_REGEX = '/[a-zA-Z0-9]{32}-[a-zA-Z0-9]{2,4}$/';
12
 
13
- function __construct($api_key, $lists = false) {
14
  $this->api_key = $this->getAPIKey($api_key);
15
  $this->max_post_size = Helpers::getMaxPostSize('bytes');
16
  $this->data_center = $this->getDataCenter($this->api_key);
10
  public $export_url;
11
  const API_KEY_REGEX = '/[a-zA-Z0-9]{32}-[a-zA-Z0-9]{2,4}$/';
12
 
13
+ function __construct($api_key) {
14
  $this->api_key = $this->getAPIKey($api_key);
15
  $this->max_post_size = Helpers::getMaxPostSize('bytes');
16
  $this->data_center = $this->getDataCenter($this->api_key);
lib/Subscription/Form.php CHANGED
@@ -4,13 +4,12 @@ namespace MailPoet\Subscription;
4
 
5
  use MailPoet\API\API as API;
6
  use MailPoet\API\JSON\Response as APIResponse;
7
- use MailPoet\Config\AccessControl;
8
  use MailPoet\Util\Url as UrlHelper;
9
 
10
  class Form {
11
  static function onSubmit($request_data = false) {
12
  $request_data = ($request_data) ? $request_data : $_REQUEST;
13
- $api = API::JSON(new AccessControl());
14
  $api->setRequestData($request_data);
15
  $form_id = (!empty($request_data['data']['form_id'])) ? (int)$request_data['data']['form_id'] : false;
16
  $response = $api->processRoute();
@@ -32,4 +31,4 @@ class Form {
32
  );
33
  }
34
  }
35
- }
4
 
5
  use MailPoet\API\API as API;
6
  use MailPoet\API\JSON\Response as APIResponse;
 
7
  use MailPoet\Util\Url as UrlHelper;
8
 
9
  class Form {
10
  static function onSubmit($request_data = false) {
11
  $request_data = ($request_data) ? $request_data : $_REQUEST;
12
+ $api = API::JSON();
13
  $api->setRequestData($request_data);
14
  $form_id = (!empty($request_data['data']['form_id'])) ? (int)$request_data['data']['form_id'] : false;
15
  $response = $api->processRoute();
31
  );
32
  }
33
  }
34
+ }
lib/Util/Sudzy/Engine.php CHANGED
@@ -46,7 +46,7 @@ class Engine
46
  */
47
  public function addValidator($label, $function)
48
  {
49
- if (isset($this->_checks[$label])) throw \Exception();
50
  $this->setValidator($label, $function);
51
  }
52
 
46
  */
47
  public function addValidator($label, $function)
48
  {
49
+ if (isset($this->_checks[$label])) throw new \Exception();
50
  $this->setValidator($label, $function);
51
  }
52
 
lib/WP/Functions.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  namespace MailPoet\WP;
3
 
4
- use Mailpoet\Config\Env;
5
 
6
  class Functions {
7
  static function wpRemotePost() {
1
  <?php
2
  namespace MailPoet\WP;
3
 
4
+ use MailPoet\Config\Env;
5
 
6
  class Functions {
7
  static function wpRemotePost() {
mailpoet.php CHANGED
@@ -4,7 +4,7 @@ if(!defined('ABSPATH')) exit;
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (New)
7
- * Version: 3.14.0
8
  * Plugin URI: http://www.mailpoet.com
9
  * Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
10
  * Author: MailPoet
@@ -18,7 +18,7 @@ if(!defined('ABSPATH')) exit;
18
  */
19
 
20
  $mailpoet_plugin = array(
21
- 'version' => '3.14.0',
22
  'filename' => __FILE__,
23
  'path' => dirname(__FILE__),
24
  'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (New)
7
+ * Version: 3.14.1
8
  * Plugin URI: http://www.mailpoet.com
9
  * Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
10
  * Author: MailPoet
18
  */
19
 
20
  $mailpoet_plugin = array(
21
+ 'version' => '3.14.1',
22
  'filename' => __FILE__,
23
  'path' => dirname(__FILE__),
24
  'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mailpoet, wysija
3
  Tags: email marketing, newsletter, newsletter subscribers, email, welcome email, post notification, WooCommerce emails, newsletter builder
4
  Requires at least: 4.7
5
  Tested up to: 4.9
6
- Stable tag: 3.14.0
7
  License: GPLv3
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -166,6 +166,11 @@ Stop by our [support site](https://www.mailpoet.com/support).
166
 
167
  == Changelog ==
168
 
 
 
 
 
 
169
  = 3.14.0 - 2018-11-13 =
170
  * Added: readme clarified to show we do not support multisite;
171
  * Added: retina-friendly icon;
3
  Tags: email marketing, newsletter, newsletter subscribers, email, welcome email, post notification, WooCommerce emails, newsletter builder
4
  Requires at least: 4.7
5
  Tested up to: 4.9
6
+ Stable tag: 3.14.1
7
  License: GPLv3
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
166
 
167
  == Changelog ==
168
 
169
+ = 3.14.1 - 2018-11-20 =
170
+ * Added: show number of sent and scheduled welcome emails on Welcome Emails listing page;
171
+ * Improved: naming and organization of template categories;
172
+ * Fixed: limits on number of categories and tags which may be selected for ALC increased to 100. Thanks, Radwan!;
173
+
174
  = 3.14.0 - 2018-11-13 =
175
  * Added: readme clarified to show we do not support multisite;
176
  * Added: retina-friendly icon;
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitfeb04d91e46449c7f5c687d75e0b3df5::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit980fa039c1153154c9d3a74fe3060af4::getLoader();
vendor/composer/autoload_classmap.php CHANGED
@@ -73,6 +73,7 @@ return array(
73
  'MailPoet\\Config\\PersonalDataExporters' => $baseDir . '/lib/Config/PersonalDataExporters.php',
74
  'MailPoet\\Config\\PluginActivatedHook' => $baseDir . '/lib/Config/PluginActivatedHook.php',
75
  'MailPoet\\Config\\Populator' => $baseDir . '/lib/Config/Populator.php',
 
76
  'MailPoet\\Config\\PopulatorData\\Templates\\AppWelcome' => $baseDir . '/lib/Config/PopulatorData/Templates/AppWelcome.php',
77
  'MailPoet\\Config\\PopulatorData\\Templates\\Avocado' => $baseDir . '/lib/Config/PopulatorData/Templates/Avocado.php',
78
  'MailPoet\\Config\\PopulatorData\\Templates\\Charity' => $baseDir . '/lib/Config/PopulatorData/Templates/Charity.php',
73
  'MailPoet\\Config\\PersonalDataExporters' => $baseDir . '/lib/Config/PersonalDataExporters.php',
74
  'MailPoet\\Config\\PluginActivatedHook' => $baseDir . '/lib/Config/PluginActivatedHook.php',
75
  'MailPoet\\Config\\Populator' => $baseDir . '/lib/Config/Populator.php',
76
+ 'MailPoet\\Config\\PopulatorData\\DefaultForm' => $baseDir . '/lib/Config/PopulatorData/DefaultForm.php',
77
  'MailPoet\\Config\\PopulatorData\\Templates\\AppWelcome' => $baseDir . '/lib/Config/PopulatorData/Templates/AppWelcome.php',
78
  'MailPoet\\Config\\PopulatorData\\Templates\\Avocado' => $baseDir . '/lib/Config/PopulatorData/Templates/Avocado.php',
79
  'MailPoet\\Config\\PopulatorData\\Templates\\Charity' => $baseDir . '/lib/Config/PopulatorData/Templates/Charity.php',
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitfeb04d91e46449c7f5c687d75e0b3df5
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitfeb04d91e46449c7f5c687d75e0b3df5
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitfeb04d91e46449c7f5c687d75e0b3df5', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitfeb04d91e46449c7f5c687d75e0b3df5', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitfeb04d91e46449c7f5c687d75e0b3df5::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInitfeb04d91e46449c7f5c687d75e0b3df5
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInitfeb04d91e46449c7f5c687d75e0b3df5::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequirefeb04d91e46449c7f5c687d75e0b3df5($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequirefeb04d91e46449c7f5c687d75e0b3df5($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit980fa039c1153154c9d3a74fe3060af4
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit980fa039c1153154c9d3a74fe3060af4', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit980fa039c1153154c9d3a74fe3060af4', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit980fa039c1153154c9d3a74fe3060af4::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit980fa039c1153154c9d3a74fe3060af4::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire980fa039c1153154c9d3a74fe3060af4($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire980fa039c1153154c9d3a74fe3060af4($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitfeb04d91e46449c7f5c687d75e0b3df5
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
@@ -196,6 +196,7 @@ class ComposerStaticInitfeb04d91e46449c7f5c687d75e0b3df5
196
  'MailPoet\\Config\\PersonalDataExporters' => __DIR__ . '/../..' . '/lib/Config/PersonalDataExporters.php',
197
  'MailPoet\\Config\\PluginActivatedHook' => __DIR__ . '/../..' . '/lib/Config/PluginActivatedHook.php',
198
  'MailPoet\\Config\\Populator' => __DIR__ . '/../..' . '/lib/Config/Populator.php',
 
199
  'MailPoet\\Config\\PopulatorData\\Templates\\AppWelcome' => __DIR__ . '/../..' . '/lib/Config/PopulatorData/Templates/AppWelcome.php',
200
  'MailPoet\\Config\\PopulatorData\\Templates\\Avocado' => __DIR__ . '/../..' . '/lib/Config/PopulatorData/Templates/Avocado.php',
201
  'MailPoet\\Config\\PopulatorData\\Templates\\Charity' => __DIR__ . '/../..' . '/lib/Config/PopulatorData/Templates/Charity.php',
@@ -1407,11 +1408,11 @@ class ComposerStaticInitfeb04d91e46449c7f5c687d75e0b3df5
1407
  public static function getInitializer(ClassLoader $loader)
1408
  {
1409
  return \Closure::bind(function () use ($loader) {
1410
- $loader->prefixLengthsPsr4 = ComposerStaticInitfeb04d91e46449c7f5c687d75e0b3df5::$prefixLengthsPsr4;
1411
- $loader->prefixDirsPsr4 = ComposerStaticInitfeb04d91e46449c7f5c687d75e0b3df5::$prefixDirsPsr4;
1412
- $loader->fallbackDirsPsr4 = ComposerStaticInitfeb04d91e46449c7f5c687d75e0b3df5::$fallbackDirsPsr4;
1413
- $loader->prefixesPsr0 = ComposerStaticInitfeb04d91e46449c7f5c687d75e0b3df5::$prefixesPsr0;
1414
- $loader->classMap = ComposerStaticInitfeb04d91e46449c7f5c687d75e0b3df5::$classMap;
1415
 
1416
  }, null, ClassLoader::class);
1417
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit980fa039c1153154c9d3a74fe3060af4
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
196
  'MailPoet\\Config\\PersonalDataExporters' => __DIR__ . '/../..' . '/lib/Config/PersonalDataExporters.php',
197
  'MailPoet\\Config\\PluginActivatedHook' => __DIR__ . '/../..' . '/lib/Config/PluginActivatedHook.php',
198
  'MailPoet\\Config\\Populator' => __DIR__ . '/../..' . '/lib/Config/Populator.php',
199
+ 'MailPoet\\Config\\PopulatorData\\DefaultForm' => __DIR__ . '/../..' . '/lib/Config/PopulatorData/DefaultForm.php',
200
  'MailPoet\\Config\\PopulatorData\\Templates\\AppWelcome' => __DIR__ . '/../..' . '/lib/Config/PopulatorData/Templates/AppWelcome.php',
201
  'MailPoet\\Config\\PopulatorData\\Templates\\Avocado' => __DIR__ . '/../..' . '/lib/Config/PopulatorData/Templates/Avocado.php',
202
  'MailPoet\\Config\\PopulatorData\\Templates\\Charity' => __DIR__ . '/../..' . '/lib/Config/PopulatorData/Templates/Charity.php',
1408
  public static function getInitializer(ClassLoader $loader)
1409
  {
1410
  return \Closure::bind(function () use ($loader) {
1411
+ $loader->prefixLengthsPsr4 = ComposerStaticInit980fa039c1153154c9d3a74fe3060af4::$prefixLengthsPsr4;
1412
+ $loader->prefixDirsPsr4 = ComposerStaticInit980fa039c1153154c9d3a74fe3060af4::$prefixDirsPsr4;
1413
+ $loader->fallbackDirsPsr4 = ComposerStaticInit980fa039c1153154c9d3a74fe3060af4::$fallbackDirsPsr4;
1414
+ $loader->prefixesPsr0 = ComposerStaticInit980fa039c1153154c9d3a74fe3060af4::$prefixesPsr0;
1415
+ $loader->classMap = ComposerStaticInit980fa039c1153154c9d3a74fe3060af4::$classMap;
1416
 
1417
  }, null, ClassLoader::class);
1418
  }
views/newsletter/editor.html CHANGED
@@ -350,7 +350,6 @@
350
  'newsletterPreviewSent': __('Your test email has been sent!'),
351
  'templateNameMissing': __('Please add a template name'),
352
  'helpTooltipSendPreview': helpTooltipSendPreview,
353
- 'helpTooltipDesignerStyles': __('We only include fonts that will display in all email clients. We understand it can feel limiting!'),
354
  'helpTooltipDesignerSubjectLine': __("You can add MailPoet shortcodes here. For example, you can add your subscribers' first names by using this shortcode: [subscriber:firstname | default:reader]. Simply copy and paste the shortcode into the field."),
355
  'helpTooltipDesignerPreheader': __("This optional text will appear in your subscribers' inboxes, beside the subject line. Write something enticing!"),
356
  'helpTooltipDesignerFullWidth': __("This option eliminates padding around the image. It only works if the image is larger than the column size."),
350
  'newsletterPreviewSent': __('Your test email has been sent!'),
351
  'templateNameMissing': __('Please add a template name'),
352
  'helpTooltipSendPreview': helpTooltipSendPreview,
 
353
  'helpTooltipDesignerSubjectLine': __("You can add MailPoet shortcodes here. For example, you can add your subscribers' first names by using this shortcode: [subscriber:firstname | default:reader]. Simply copy and paste the shortcode into the field."),
354
  'helpTooltipDesignerPreheader': __("This optional text will appear in your subscribers' inboxes, beside the subject line. Write something enticing!"),
355
  'helpTooltipDesignerFullWidth': __("This option eliminates padding around the image. It only works if the image is larger than the column size."),
views/newsletter/templates/components/sidebar/styles.hbs CHANGED
@@ -1,7 +1,6 @@
1
  <div class="handlediv" title="<%= __('Click to toggle') %>"><br></div>
2
  <h3><%= __('Styles') %></h3>
3
  <div class="mailpoet_region_content">
4
- <span id="tooltip-designer-styles" class="tooltip-help-designer-styles"></span>
5
  <form id="mailpoet_newsletter_styles" action="" method="post" accept-charset="utf-8">
6
  <div class="mailpoet_form_field">
7
  <span>
@@ -112,4 +111,4 @@
112
  </div>
113
  <script type="text/javascript">
114
  fontsSelect('.mailpoet_font_family.mailpoet_select');
115
- </script>
1
  <div class="handlediv" title="<%= __('Click to toggle') %>"><br></div>
2
  <h3><%= __('Styles') %></h3>
3
  <div class="mailpoet_region_content">
 
4
  <form id="mailpoet_newsletter_styles" action="" method="post" accept-charset="utf-8">
5
  <div class="mailpoet_form_field">
6
  <span>
111
  </div>
112
  <script type="text/javascript">
113
  fontsSelect('.mailpoet_font_family.mailpoet_select');
114
+ </script>
views/newsletters.html CHANGED
@@ -22,6 +22,7 @@
22
  var mailpoet_date_storage_format = "Y-m-d";
23
  var mailpoet_tracking_enabled = <%= json_encode(tracking_enabled) %>;
24
  var mailpoet_premium_active = <%= json_encode(premium_plugin_active) %>;
 
25
  var mailpoet_automatic_emails = <%= json_encode(automatic_emails) %>;
26
  var mailpoet_in_app_announcements = mailpoet_settings.in_app_announcements;
27
  var mailpoet_free_welcome_emails_image = '<%= image_url('in_app_announcements/hello-illustration-for-welcome-emails.png') %>';
@@ -104,7 +105,10 @@
104
  'active': __('Active'),
105
  'inactive': __('Not Active'),
106
  'newsletterQueueCompleted': __('Sent to %$1d of %$2d'),
107
- 'sentToXSubscribers': __('Sent to %$1d subscribers'),
 
 
 
108
  'resume': __('Resume'),
109
  'pause': __('Pause'),
110
  'paused': __('Paused'),
@@ -290,8 +294,7 @@
290
  'savedTemplates': __('Your saved templates'),
291
  'templatePreview': __('Template preview'),
292
  'zoom': __('Preview'),
293
- 'blank': _x('Blank', 'Blank newsletters templates category'),
294
- 'sample': _x('Sample', 'Sample newsletters templates category'),
295
  'tabImportTitle': _x('Import', 'Importing template tab title'),
296
  'noTemplates': __('This category does not contain any template yet!'),
297
 
22
  var mailpoet_date_storage_format = "Y-m-d";
23
  var mailpoet_tracking_enabled = <%= json_encode(tracking_enabled) %>;
24
  var mailpoet_premium_active = <%= json_encode(premium_plugin_active) %>;
25
+ var mailpoet_woocommerce_active = <%= json_encode(is_woocommerce_active) %>;
26
  var mailpoet_automatic_emails = <%= json_encode(automatic_emails) %>;
27
  var mailpoet_in_app_announcements = mailpoet_settings.in_app_announcements;
28
  var mailpoet_free_welcome_emails_image = '<%= image_url('in_app_announcements/hello-illustration-for-welcome-emails.png') %>';
105
  'active': __('Active'),
106
  'inactive': __('Not Active'),
107
  'newsletterQueueCompleted': __('Sent to %$1d of %$2d'),
108
+ 'sentToXSubscribers': _x('Sent to 1 subscriber', 'inform the number of emails already sent'),
109
+ 'sentToXSubscribersPlural': _x('Sent to %$1d subscribers', 'inform the number of emails already sent; always plural'),
110
+ 'scheduledToXSubscribers': _x('1 scheduled to be sent', 'inform the number of emails planned to be sent'),
111
+ 'scheduledToXSubscribersPlural': _x('%$1d scheduled to be sent', 'inform the number of emails planned to be sent; always plural'),
112
  'resume': __('Resume'),
113
  'pause': __('Pause'),
114
  'paused': __('Paused'),
294
  'savedTemplates': __('Your saved templates'),
295
  'templatePreview': __('Template preview'),
296
  'zoom': __('Preview'),
297
+ 'allTemplates': _x('All', 'Name of a section with all email templates'),
 
298
  'tabImportTitle': _x('Import', 'Importing template tab title'),
299
  'noTemplates': __('This category does not contain any template yet!'),
300