From 9635fb536562a349df9ef8d56142dec8ca0d461f Mon Sep 17 00:00:00 2001 From: Vlad Date: Sun, 6 Nov 2016 20:06:26 -0500 Subject: [PATCH] - Replaces   with spaces in all templates --- .../Templates/FranksRoastHouseTemplate.php | 6 +++--- .../Templates/NewsletterBlank121Column.php | 10 +++++----- .../Templates/NewsletterBlank12Column.php | 8 ++++---- .../Templates/NewsletterBlank13Column.php | 10 +++++----- .../PopulatorData/Templates/NewsletterBlank1Column.php | 4 ++-- .../Templates/PostNotificationsBlank1Column.php | 4 ++-- lib/Config/PopulatorData/Templates/Restaurant.php | 2 +- lib/Config/PopulatorData/Templates/SimpleText.php | 4 ++-- lib/Config/PopulatorData/Templates/StoreDiscount.php | 4 ++-- lib/Config/PopulatorData/Templates/TravelEmail.php | 6 +++--- .../PopulatorData/Templates/WelcomeBlank12Column.php | 6 +++--- .../PopulatorData/Templates/WelcomeBlank1Column.php | 4 ++-- 12 files changed, 34 insertions(+), 34 deletions(-) diff --git a/lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php b/lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php index 1b8da1ce18..62d10e0108 100644 --- a/lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php +++ b/lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php @@ -88,7 +88,7 @@ class FranksRoastHouseTemplate { ), array( "type" => "text", - "text" => __("

Hi there [subscriber:firstname | default:coffee drinker]

\n

\n

Sit back and enjoy your favorite roast as you read this week's newsletter. 

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

Hi there [subscriber:firstname | default:coffee drinker]

\n

\n

Sit back and enjoy your favorite roast as you read this week's newsletter.

", 'mailpoet') ), array( "type" => "image", @@ -106,7 +106,7 @@ class FranksRoastHouseTemplate { ), array( "type" => "text", - "text" => __("

--- Guest Coffee Roaster: Brew Bros. ---

\n

\n

Visit our Center Avenue store to try the latest guest coffee from Brew Bros, a local coffee roaster. This young duo started only two years ago, but have quickly gained popularity through pop-up shops, local events, and collaborations with food trucks.

\n

\n
\n

Tasting notes: A rich, caramel flavor with subtle hints of molasses. The perfect wake-up morning espresso!

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

--- Guest Coffee Roaster: Brew Bros. ---

\n

\n

Visit our Center Avenue store to try the latest guest coffee from Brew Bros, a local coffee roaster. This young duo started only two years ago, but have quickly gained popularity through pop-up shops, local events, and collaborations with food trucks.

\n

\n
\n

Tasting notes: A rich, caramel flavor with subtle hints of molasses. The perfect wake-up morning espresso!

\n
", 'mailpoet') ) ) ) @@ -250,7 +250,7 @@ class FranksRoastHouseTemplate { ), array( "type" => "text", - "text" => __("

Watch out Broad Street, we're coming to you very soon! 

\n

\n

Keep an eye on your inbox, as we'll have some special offers for our email subscribers plus an exclusive launch party invite!

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

Watch out Broad Street, we're coming to you very soon!

\n

\n

Keep an eye on your inbox, as we'll have some special offers for our email subscribers plus an exclusive launch party invite!

", 'mailpoet') ), array( "type" => "text", diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php index 8621d25b3a..91da62fd38 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php @@ -52,7 +52,7 @@ class NewsletterBlank121Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -116,7 +116,7 @@ class NewsletterBlank121Column { ), array( "type" => "text", - "text" => __("

Let's Get Started!

\n

It's time to design your newsletter! On 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! On 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') ), array( "type" => "divider", @@ -158,7 +158,7 @@ class NewsletterBlank121Column { ), array( "type" => "text", - "text" => __("

In the right sidebar, you can add layout blocks to your email:

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

In the right sidebar, you can add layout blocks to your email:

\n", 'mailpoet') ) ) ), @@ -177,7 +177,7 @@ class NewsletterBlank121Column { ), array( "type" => "text", - "text" => __("

You can change a layout's background color by clicking on the settings icon on the right edge of the Designer. Simply hover over this area to see the Settings (gear) icon.

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

You can change a layout's background color by clicking on the settings icon on the right edge of the Designer. Simply hover over this area to see the Settings (gear) icon.

", 'mailpoet') ) ) ) @@ -237,7 +237,7 @@ class NewsletterBlank121Column { "blocks" => array( array( "type" => "text", - "text" => __("

Let's end with a single column. 

\n

In the right sidebar, you can add these layout blocks to your email:

\n

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

Let's end with a single column.

\n

In the right sidebar, you can add these layout blocks to your email:

\n

\n", 'mailpoet') ) ) ) diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php index d52999df98..c571ed8800 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php @@ -52,7 +52,7 @@ class NewsletterBlank12Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -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. Layout
  4. \n
  5. Styles
  6. \n
  7. Preview
  8. \n
", 'mailpoet') ), array( "type" => "divider", @@ -158,7 +158,7 @@ class NewsletterBlank12Column { ), array( "type" => "text", - "text" => __("

In the right sidebar, you can add these layout blocks to your email:

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

In the right sidebar, you can add these layout blocks to your email:

\n", 'mailpoet') ) ) ), @@ -177,7 +177,7 @@ class NewsletterBlank12Column { ), array( "type" => "text", - "text" => __("

You can change a layout's background color by clicking on the settings icon on the right edge of the Designer. Simply hover over this area to see the Settings (gear) icon.

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

You can change a layout's background color by clicking on the settings icon on the right edge of the Designer. Simply hover over this area to see the Settings (gear) icon.

", 'mailpoet') ) ) ) diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php index 6348e8be0a..5afbc052ec 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php @@ -52,7 +52,7 @@ class NewsletterBlank13Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -116,7 +116,7 @@ class NewsletterBlank13Column { ), array( "type" => "text", - "text" => __("

Let's Get Started! 

\n

\n

It's time to design your newsletter! On 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! On 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') ), array( "type" => "divider", @@ -154,11 +154,11 @@ class NewsletterBlank13Column { "blocks" => array( array( "type" => "text", - "text" => __("

This template... 

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

This template...

", 'mailpoet') ), array( "type" => "text", - "text" => __("

In the right sidebar, you can add layout blocks to your newsletter.

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

In the right sidebar, you can add layout blocks to your newsletter.

", 'mailpoet') ) ) ), @@ -173,7 +173,7 @@ class NewsletterBlank13Column { "blocks" => array( array( "type" => "text", - "text" => __("

... has a... 

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

... has a...

", 'mailpoet') ), array( "type" => "text", diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php index d957c2b4d1..8969f420d4 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php @@ -52,7 +52,7 @@ class NewsletterBlank1Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -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. Layout
  4. \n
  5. Styles
  6. \n
  7. Preview
  8. \n
", 'mailpoet') ) ) ) diff --git a/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php b/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php index 25898f3baf..a170bd98f1 100644 --- a/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php +++ b/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php @@ -52,7 +52,7 @@ class PostNotificationsBlank1Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -116,7 +116,7 @@ class PostNotificationsBlank1Column { ), array( "type" => "text", - "text" => __("

Check Out Our New Blog Posts! 

\n

\n

MailPoet can automatically send your new blog posts to your subscribers.

\n

\n

Below, you'll find three recent posts, which are displayed automatically, thanks to the Automatic Latest Content widget, which can be found on the right sidebar, under Content.

\n

\n

To edit the settings and styles of your post, simply click on a post below.

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

Check Out Our New Blog Posts!

\n

\n

MailPoet can automatically send your new blog posts to your subscribers.

\n

\n

Below, you'll find three recent posts, which are displayed automatically, thanks to the Automatic Latest Content widget, which can be found on the right sidebar, under Content.

\n

\n

To edit the settings and styles of your post, simply click on a post below.

", 'mailpoet') ), array( "type" => "divider", diff --git a/lib/Config/PopulatorData/Templates/Restaurant.php b/lib/Config/PopulatorData/Templates/Restaurant.php index 0a95943e8e..616dfef86f 100644 --- a/lib/Config/PopulatorData/Templates/Restaurant.php +++ b/lib/Config/PopulatorData/Templates/Restaurant.php @@ -332,7 +332,7 @@ class Restaurant { )) ), array( "type" => "header", - "text" => "

View this email in your web browser

", + "text" => "

View this email in your web browser

", "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/SimpleText.php b/lib/Config/PopulatorData/Templates/SimpleText.php index 94b9c17683..feb4a78d27 100644 --- a/lib/Config/PopulatorData/Templates/SimpleText.php +++ b/lib/Config/PopulatorData/Templates/SimpleText.php @@ -75,7 +75,7 @@ class SimpleText { ), array( "type" => "text", - "text" => __("

Hi [subscriber:firstname | default:subscriber],

\n

\n

In MailPoet, you can write emails in plain text, just like in a regular email. This can make your email newsletters more personal and attention-grabbing.

\n

\n

Is this too simple? You can still style your text with basic formatting, like bold or italics.

\n

\n

Finally, you can also add a call-to-action button between 2 blocks of text, like this:

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

Hi [subscriber:firstname | default:subscriber],

\n

\n

In MailPoet, you can write emails in plain text, just like in a regular email. This can make your email newsletters more personal and attention-grabbing.

\n

\n

Is this too simple? You can still style your text with basic formatting, like bold or italics.

\n

\n

Finally, you can also add a call-to-action button between 2 blocks of text, like this:

", 'mailpoet') ) ) ) @@ -131,7 +131,7 @@ class SimpleText { ), array( "type" => "text", - "text" => __("

Thanks for reading. See you soon!

\n

\n

The MailPoet Team

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

Thanks for reading. See you soon!

\n

\n

The MailPoet Team

", 'mailpoet') ), array( "type" => "footer", diff --git a/lib/Config/PopulatorData/Templates/StoreDiscount.php b/lib/Config/PopulatorData/Templates/StoreDiscount.php index 17ba34a3e9..cbfbbb63fa 100644 --- a/lib/Config/PopulatorData/Templates/StoreDiscount.php +++ b/lib/Config/PopulatorData/Templates/StoreDiscount.php @@ -70,7 +70,7 @@ class StoreDiscount { ) ), array( "type" => "text", - "text" => __("

\n

Hi [subscriber:firstname | default:reader]

\n

\n

Fancy 15% off your next order? Use this coupon on all your favourite products from our store until Wednesday. Just enter the code on the payments page and your discount will applied.

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

\n

Hi [subscriber:firstname | default:reader]

\n

\n

Fancy 15% off your next order? Use this coupon on all your favourite products from our store until Wednesday. Just enter the code on the payments page and your discount will applied.

", 'mailpoet') ), array( "type" => "spacer", "styles" => array( @@ -173,7 +173,7 @@ class StoreDiscount { ) ), array( "type" => "text", - "text" => __("

Use your discount on these great products...

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

Use your discount on these great products...

", 'mailpoet') ), array( "type" => "spacer", "styles" => array( diff --git a/lib/Config/PopulatorData/Templates/TravelEmail.php b/lib/Config/PopulatorData/Templates/TravelEmail.php index bd3501c8cc..975d575047 100644 --- a/lib/Config/PopulatorData/Templates/TravelEmail.php +++ b/lib/Config/PopulatorData/Templates/TravelEmail.php @@ -70,7 +70,7 @@ class TravelEmail { ) ), array( "type" => "text", - "text" => __("

Hi [subscriber:firstname | default:reader]!

\n

\n

Greetings from New Zealand, we're here enjoying the sights and sounds (and bad smells!) of Rotarua. Yesterday we took advantage of the local amenities and visited the hot springs! 

\n

Don't forget to stay up-to-date via twitter!

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

Hi [subscriber:firstname | default:reader]!

\n

\n

Greetings from New Zealand, we're here enjoying the sights and sounds (and bad smells!) of Rotarua. Yesterday we took advantage of the local amenities and visited the hot springs!

\n

Don't forget to stay up-to-date via twitter!

", 'mailpoet') ), array( "type" => "social", "iconSet" => "circles", @@ -414,7 +414,7 @@ class TravelEmail { ) ), array( "type" => "text", - "text" => __("

Tomorrow we're heading towards Taupo where we'll visit the 'Craters of the moon' and go prawn fishing! Hopefully the weather will stay good.

\n

\n

Keep on travellin'

\n

Jane & Steven

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

Tomorrow we're heading towards Taupo where we'll visit the 'Craters of the moon' and go prawn fishing! Hopefully the weather will stay good.

\n

\n

Keep on travellin'

\n

Jane & Steven

", 'mailpoet') )) )) ), array( @@ -446,7 +446,7 @@ class TravelEmail { ) ), array( "type" => "header", - "text" => ("Display problems? Open this email in your web browser"), + "text" => ("Display problems? Open this email in your web browser"), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php b/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php index a9a6ec794c..efe85e6fe6 100644 --- a/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php +++ b/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php @@ -52,7 +52,7 @@ class WelcomeBlank12Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -116,7 +116,7 @@ class WelcomeBlank12Column { ), array( "type" => "text", - "text" => __("

Hi, new subscriber!

\n

\n

[subscriber:firstname | default:Subscriber],

\n

\n

You recently joined our list and we'd like to give you a warm welcome!

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

Hi, new subscriber!

\n

\n

[subscriber:firstname | default:Subscriber],

\n

\n

You recently joined our list and we'd like to give you a warm welcome!

", 'mailpoet') ), array( "type" => "divider", @@ -182,7 +182,7 @@ class WelcomeBlank12Column { "blocks" => array( array( "type" => "text", - "text" => __("

What's Next?

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

What's Next?

", 'mailpoet') ), array( "type" => "text", diff --git a/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php b/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php index 36ee5f55ad..de89afa864 100644 --- a/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php +++ b/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php @@ -52,7 +52,7 @@ class WelcomeBlank1Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -116,7 +116,7 @@ class WelcomeBlank1Column { ), array( "type" => "text", - "text" => __("

Hi, new subscriber!

\n

\n

[subscriber:firstname | default:Subscriber],

\n

\n

You recently joined our list and we'd like to give you a warm welcome!

\n

\n

Want to get to know us better? Check out some of our most popular articles: 

\n
    \n
  1. The Importance of Focus When Writing
  2. \n
  3. How to Write a Great Subject Line
  4. \n
  5. Just Sit Down and Write – Advice on Motivation from Ernest Hemingway
  6. \n
", 'mailpoet') + "text" => __("

Hi, new subscriber!

\n

\n

[subscriber:firstname | default:Subscriber],

\n

\n

You recently joined our list and we'd like to give you a warm welcome!

\n

\n

Want to get to know us better? Check out some of our most popular articles:

\n
    \n
  1. The Importance of Focus When Writing
  2. \n
  3. How to Write a Great Subject Line
  4. \n
  5. Just Sit Down and Write – Advice on Motivation from Ernest Hemingway
  6. \n
", 'mailpoet') ) ) )