diff --git a/assets/js/src/newsletter_editor/components/save.js b/assets/js/src/newsletter_editor/components/save.js index de54047099..f829cf2618 100644 --- a/assets/js/src/newsletter_editor/components/save.js +++ b/assets/js/src/newsletter_editor/components/save.js @@ -169,7 +169,7 @@ define([ }, beforeSave: function() { // TODO: Add a loading animation instead - this.$('.mailpoet_autosaved_at').text('Saving...'); + this.$('.mailpoet_autosaved_at').text(MailPoet.I18n.t('saving')); }, afterSave: function(json, response) { this.validateNewsletter(json); diff --git a/lib/Config/Menu.php b/lib/Config/Menu.php index 0bef559c13..c92fa33c11 100644 --- a/lib/Config/Menu.php +++ b/lib/Config/Menu.php @@ -75,7 +75,8 @@ class Menu { add_screen_option('per_page', array( 'label' => _x( 'Number of newsletters per page', - 'newsletters per page (screen options)' + 'newsletters per page (screen options)', + 'mailpoet' ), 'option' => 'mailpoet_newsletters_per_page' )); @@ -97,7 +98,8 @@ class Menu { add_screen_option('per_page', array( 'label' => _x( 'Number of forms per page', - 'forms per page (screen options)' + 'forms per page (screen options)', + 'mailpoet' ), 'option' => 'mailpoet_forms_per_page' )); @@ -119,7 +121,8 @@ class Menu { add_screen_option('per_page', array( 'label' => _x( 'Number of subscribers per page', - 'subscribers per page (screen options)' + 'subscribers per page (screen options)', + 'mailpoet' ), 'option' => 'mailpoet_subscribers_per_page' )); @@ -142,7 +145,8 @@ class Menu { add_screen_option('per_page', array( 'label' => _x( 'Number of segments per page', - 'segments per page (screen options)' + 'segments per page (screen options)', + 'mailpoet' ), 'option' => 'mailpoet_segments_per_page' )); @@ -542,4 +546,4 @@ class Menu { $notice->displayWPNotice(); } } -} \ No newline at end of file +} diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php index 8ebdd99723..f63aa4bd25 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php @@ -116,7 +116,7 @@ class NewsletterBlank121Column { ), array( "type" => "text", - "text" => __("

Let's Get Started!

\n

It's time to design your newsletter! In the right sidebar, you'll find four menu items that will help you customize your newsletter:

\n
    \n
  1. Content
  2. \n
  3. Layout
  4. \n
  5. Styles
  6. \n
  7. Preview
  8. \n
", 'mailpoet') + "text" => __("

Let's Get Started!

\n

It's time to design your newsletter! In the right sidebar, you'll find four menu items that will help you customize your newsletter:

\n
    \n
  1. Content
  2. \n
  3. Columns
  4. \n
  5. Styles
  6. \n
  7. Preview
  8. \n
", 'mailpoet') ), array( "type" => "divider", diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php index b23bda4fd7..f7355c760c 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php @@ -116,7 +116,7 @@ class NewsletterBlank12Column { ), array( "type" => "text", - "text" => __("

Let's Get Started!

\n

\n

It's time to design your newsletter! In the right sidebar, you'll find 4 menu items that will help you customize your newsletter:

\n
    \n
  1. Content
  2. \n
  3. Layout
  4. \n
  5. Styles
  6. \n
  7. Preview
  8. \n
", 'mailpoet') + "text" => __("

Let's Get Started!

\n

\n

It's time to design your newsletter! In the right sidebar, you'll find 4 menu items that will help you customize your newsletter:

\n
    \n
  1. Content
  2. \n
  3. Columns
  4. \n
  5. Styles
  6. \n
  7. Preview
  8. \n
", 'mailpoet') ), array( "type" => "divider", diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php index 8a637ac606..622e2d87cd 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php @@ -116,7 +116,7 @@ class NewsletterBlank13Column { ), array( "type" => "text", - "text" => __("

Let's Get Started!

\n

\n

It's time to design your newsletter! In the right sidebar, you'll find four menu items that will help you customize your newsletter:

\n
    \n
  1. Content
  2. \n
  3. Layout
  4. \n
  5. Styles
  6. \n
  7. Preview
  8. \n
", 'mailpoet') + "text" => __("

Let's Get Started!

\n

\n

It's time to design your newsletter! In the right sidebar, you'll find four menu items that will help you customize your newsletter:

\n
    \n
  1. Content
  2. \n
  3. Columns
  4. \n
  5. Styles
  6. \n
  7. Preview
  8. \n
", 'mailpoet') ), array( "type" => "divider", diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php index 51bd5299df..6c5d5a0fa3 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php @@ -116,7 +116,7 @@ class NewsletterBlank1Column { ), array( "type" => "text", - "text" => __("

Let's Get Started!

\n

\n

It's time to design your newsletter! In the right sidebar, you'll find 4 menu items that will help you customize your newsletter:

\n
    \n
  1. Content
  2. \n
  3. Layout
  4. \n
  5. Styles
  6. \n
  7. Preview
  8. \n
", 'mailpoet') + "text" => __("

Let's Get Started!

\n

\n

It's time to design your newsletter! In the right sidebar, you'll find 4 menu items that will help you customize your newsletter:

\n
    \n
  1. Content
  2. \n
  3. Columns
  4. \n
  5. Styles
  6. \n
  7. Preview
  8. \n
", 'mailpoet') ) ) ) diff --git a/lib/Config/PopulatorData/Templates/StoreDiscount.php b/lib/Config/PopulatorData/Templates/StoreDiscount.php index b03e21cf77..8be0720cb9 100644 --- a/lib/Config/PopulatorData/Templates/StoreDiscount.php +++ b/lib/Config/PopulatorData/Templates/StoreDiscount.php @@ -320,7 +320,7 @@ class StoreDiscount { ) ), array( "type" => "text", - "text" => __("

Terms and Conditions:

\n", 'mailpoet') + "text" => __("

Terms and Conditions:

\n", 'mailpoet') ), array( "type" => "social", "iconSet" => "grey", diff --git a/views/form/templates/settings/field_form.hbs b/views/form/templates/settings/field_form.hbs index 17857dac23..47261f7ad1 100644 --- a/views/form/templates/settings/field_form.hbs +++ b/views/form/templates/settings/field_form.hbs @@ -13,7 +13,7 @@ id="field_type" name="type" data-parsley-required="true" - data-parsley-required-message="<%= __('Please specify a type') %>" + data-parsley-required-message="<%= __('Please specify a type.') %>" >