diff --git a/.gitignore b/.gitignore index 4153eded95..bf68ac318b 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ tests/javascript/testBundles assets/css/*.css assets/js/*.js .vagrant +lang \ No newline at end of file diff --git a/build.sh b/build.sh index 23710c6cd1..e3dc4b6b5d 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,8 @@ #!/bin/sh +# Translations (npm install & composer install need to be run before) +./do makepot + plugin_name='mailpoet' # Remove previous build. @@ -16,9 +19,6 @@ npm install # Production libraries. ./composer.phar install --no-dev -# Translations -./do makepot - # Copy release folders. cp -Rf lang $plugin_name cp -RfL assets $plugin_name diff --git a/lang/mailpoet.pot b/lang/mailpoet.pot deleted file mode 100644 index 2e7d88aabc..0000000000 --- a/lang/mailpoet.pot +++ /dev/null @@ -1,4160 +0,0 @@ -# Copyright (C) 2016 -# This file is distributed under the same license as the package. -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: http://support.mailpoet.com/\n" -"POT-Creation-Date: 2016-08-03 10:34:44+00:00\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n" -"Last-Translator: MailPoet i18n " -"(https://www.transifex.com/organization/wysija)\n" -"Language-Team: MailPoet i18n " -"\n" -"X-Generator: grunt-wp-i18n 0.5.2\n" -"X-Poedit-KeywordsList: " -"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_" -"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n" -"Language: en_US\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-Country: United States\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-Basepath: ../\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-Bookmarks: \n" -"X-Textdomain-Support: yes\n" - -#: lib/API/API.php:35 -msgid "Invalid API endpoint." -msgstr "" - -#: lib/API/API.php:46 -msgid "Invalid API action." -msgstr "" - -#: lib/Config/Hooks.php:141 -msgid "MailPoet Newsletter" -msgstr "" - -#: lib/Config/Menu.php:50 lib/Config/Menu.php:51 views/newsletters.html:23 -#: views/newsletters.html:25 -msgid "Newsletters" -msgstr "" - -#: lib/Config/Menu.php:70 lib/Config/Menu.php:71 views/forms.html:16 -msgid "Forms" -msgstr "" - -#: lib/Config/Menu.php:89 lib/Config/Menu.php:90 -#: views/subscribers/subscribers.html:17 -msgid "Subscribers" -msgstr "" - -#: lib/Config/Menu.php:108 lib/Config/Menu.php:109 views/forms.html:43 -#: views/newsletters.html:63 views/newsletters.html:148 views/segments.html:13 -#: views/subscribers/subscribers.html:60 -msgid "Lists" -msgstr "" - -#: lib/Config/Menu.php:128 lib/Config/Menu.php:129 views/form/editor.html:37 -#: views/newsletters.html:64 views/settings.html:6 -msgid "Settings" -msgstr "" - -#: lib/Config/Menu.php:136 lib/Config/Menu.php:137 -#: views/subscribers/importExport/import.html:7 -#: views/subscribers/subscribers.html:88 -msgid "Import" -msgstr "" - -#: lib/Config/Menu.php:145 lib/Config/Menu.php:146 -#: views/subscribers/importExport/export.html:6 -#: views/subscribers/importExport/export.html:96 -#: views/subscribers/subscribers.html:89 -msgid "Export" -msgstr "" - -#: lib/Config/Menu.php:154 lib/Config/Menu.php:155 -msgid "Welcome" -msgstr "" - -#: lib/Config/Menu.php:163 lib/Config/Menu.php:164 views/segments.html:42 -msgid "Update" -msgstr "" - -#: lib/Config/Menu.php:172 lib/Config/Menu.php:173 -msgid "Form Editor" -msgstr "" - -#: lib/Config/Menu.php:181 lib/Newsletter/Shortcodes/ShortcodesHelper.php:32 -#: views/newsletter/templates/components/sidebar/styles.hbs:74 -#: views/newsletters.html:104 -msgid "Newsletter" -msgstr "" - -#: lib/Config/Menu.php:182 -msgid "Newsletter Editor" -msgstr "" - -#: lib/Config/Menu.php:190 lib/Config/Menu.php:191 -msgid "Cron" -msgstr "" - -#: lib/Config/Menu.php:346 -msgid "In any WordPress role" -msgstr "" - -#: lib/Config/Menu.php:419 -msgid "MailPoet" -msgstr "" - -#: lib/Config/Populator.php:119 -msgid "My First List" -msgstr "" - -#: lib/Config/Populator.php:121 -msgid "This list is automatically created when you install MailPoet" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:16 -msgid "Frank's Roast House" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:17 -msgid "" -"Think of this as your sandbox. Play around with this example newsletter to " -"see what MailPoet can do for you." -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:49 -msgid "" -"Open this email in your " -"web browser." -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:70 -msgid "Frank's Café" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:91 -msgid "" -"

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

\n" -"

\n" -"

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

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:97 -msgid "coffee-grain-3-1329675-1599x941" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:109 -msgid "" -"

--- 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" -"
" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:135 -msgid "

Sandwich Competition

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:153 -msgid "" -"

Have an idea for the Next Great Sandwich? Tell us! We're offering free " -"lunch for a month if you can invent an awesome new sandwich for our " -"menu.

\n" -"

\n" -"

\n" -"

Simply tweet your ideas to @franksroasthouse and use " -"#sandwichcomp and we'll let you know if you're a winner.

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:178 -msgid "

Follow Us

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:235 -msgid "

New Store Opening!

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:241 -msgid "map-v2" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:253 -msgid "" -"

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!

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:257 -msgid "" -"

New and Improved Hours!

\n" -"

\n" -"

Frank's is now open even later, so you can get your caffeine fix all day " -"(and night) long! Here's our new opening hours:

\n" -"

\n" -"" -msgstr "" - -#: lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php:283 -msgid "" -"

Unsubscribe | Manage subscription
12345 " -"MailPoet Drive, EmailVille, 76543

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:16 -msgid "Newsletter: Blank 1:2:1 Column" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:17 -msgid "A blank Newsletter template with a 1:2:1 column layout." -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:55 -#: lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php:55 -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:55 -#: lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php:55 -#: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:55 -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:55 -#: lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php:55 -msgid "" -"Display problems? Open this email in your web " -"browser" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:107 -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:107 -#: lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php:107 -#: lib/Config/PopulatorData/Templates/SimpleText.php:66 -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:107 -#: lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php:107 -msgid "Fake logo" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:119 -msgid "" -"

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" -"
" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:157 -#: lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php:157 -msgid "

This template has...

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:161 -msgid "" -"

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

\n" -"" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:176 -#: lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php:176 -msgid "

... a 2-column layout.

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:180 -msgid "" -"

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.

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:240 -msgid "" -"

Let's " -"end with a single column. 

\n" -"

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

\n" -"

\n" -"" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php:314 -#: lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php:254 -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:277 -#: lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php:193 -#: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:301 -#: lib/Config/PopulatorData/Templates/SimpleText.php:138 -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:284 -#: lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php:193 -msgid "" -"

Unsubscribe | Manage your subscription
Add your postal address here!

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php:16 -msgid "Newsletter: Blank 1:2 Column" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php:17 -msgid "A blank Newsletter template with a 1:2 column layout." -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php:107 -msgid "Fake Logo" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php:119 -msgid "" -"

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" -"
" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php:161 -msgid "" -"

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

\n" -"" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php:180 -msgid "" -"

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.

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:16 -msgid "Newsletter: Blank 1:3 Column" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:17 -msgid "A blank Newsletter template with a 1:3 column layout." -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:119 -msgid "" -"

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" -"
" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:157 -msgid "

This template... 

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:161 -msgid "" -"

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

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:176 -msgid "

... has a... 

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:180 -msgid "" -"

You have the choice of:

\n" -"" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:195 -msgid "

3-column layout.

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php:199 -msgid "

You can add as many layout blocks as you want!

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php:16 -msgid "Newsletter: Blank 1 Column" -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php:17 -msgid "A blank Newsletter template with a 1 column layout." -msgstr "" - -#: lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php:119 -msgid "" -"

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" -"
" -msgstr "" - -#: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:16 -msgid "Post Notifications: Blank 1 Column" -msgstr "" - -#: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:17 -msgid "A blank Post Notifications template with a 1 column layout." -msgstr "" - -#: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:119 -msgid "" -"

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.

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:177 -#: views/newsletter/editor.html:950 views/newsletter/editor.html:1074 -msgid "Author:" -msgstr "" - -#: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:179 -#: views/newsletter/editor.html:952 views/newsletter/editor.html:1076 -msgid "Categories:" -msgstr "" - -#: lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php:184 -msgid "Read the post" -msgstr "" - -#: lib/Config/PopulatorData/Templates/SimpleText.php:16 -msgid "Simple Text" -msgstr "" - -#: lib/Config/PopulatorData/Templates/SimpleText.php:17 -msgid "A simple plain text template - just like a regular email." -msgstr "" - -#: lib/Config/PopulatorData/Templates/SimpleText.php:78 -msgid "" -"

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:

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/SimpleText.php:113 -msgid "It's time to take action!" -msgstr "" - -#: lib/Config/PopulatorData/Templates/SimpleText.php:134 -msgid "" -"

Thanks for reading. See you soon!

\n" -"

\n" -"

The MailPoet Team

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:16 -msgid "Welcome Email: Blank 1:2 Column" -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:17 -msgid "A blank Welcome Email template with a 1:2 column layout." -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:119 -msgid "" -"

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!

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:166 -msgid "

Our Most Popular Posts

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:170 -msgid "" -"" -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:185 -msgid "

What's Next?

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:189 -msgid "" -"

Add a single button to your newsletter in order to have one clear " -"call-to-action, which will increase your click rates.

" -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php:193 -msgid "Read up!" -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php:16 -msgid "Welcome Email: Blank 1 Column" -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php:17 -msgid "A blank Welcome Email template with a 1 column layout." -msgstr "" - -#: lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php:119 -msgid "" -"

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" -"
" -msgstr "" - -#: lib/Config/Shortcodes.php:84 -msgid "Oops! There are no newsletters to display." -msgstr "" - -#: lib/Config/Shortcodes.php:119 -msgid "Preview in a new tab" -msgstr "" - -#: lib/Cron/CronHelper.php:70 -msgid "Site URL is unreachable." -msgstr "" - -#: lib/Cron/CronHelper.php:76 -msgid "Maximum execution time has been reached." -msgstr "" - -#: lib/Cron/Daemon.php:23 -msgid "Invalid or missing Cron data." -msgstr "" - -#: lib/Cron/Daemon.php:34 -msgid "Daemon does not exist." -msgstr "" - -#: lib/Cron/Daemon.php:39 -msgid "Invalid or missing token." -msgstr "" - -#: lib/Cron/Supervisor.php:58 -msgid "Daemon failed to run." -msgstr "" - -#: lib/Cron/Supervisor.php:75 -msgid "Daemon is currently %s." -msgstr "" - -#: lib/Cron/Workers/SendingQueue/Tasks/Mailer.php:46 lib/Mailer/Mailer.php:95 -msgid "Mailer is not configured" -msgstr "" - -#: lib/Cron/Workers/SendingQueue/Tasks/Mailer.php:93 -msgid "Sending frequency limit has been reached" -msgstr "" - -#: lib/Form/Block/Base.php:10 -msgid "Please specify a valid email address" -msgstr "" - -#: lib/Form/Block/Base.php:18 lib/Router/Subscribers.php:82 -#: views/form/editor.html:55 views/newsletters.html:151 -msgid "Please select a list" -msgstr "" - -#: lib/Form/Block/Base.php:28 -msgid "Please specify a valid phone number" -msgstr "" - -#: lib/Form/Block/Base.php:37 -msgid "Please select at least one option" -msgstr "" - -#: lib/Form/Block/Date.php:71 lib/Form/Block/Date.php:185 -#: views/form/templates/blocks/date_days.hbs:3 views/settings/bounce.html:252 -#: views/subscribers/subscribers.html:86 -msgid "Day" -msgstr "" - -#: lib/Form/Block/Date.php:77 lib/Form/Block/Date.php:129 -#: views/form/templates/blocks/date_months.hbs:3 -#: views/subscribers/subscribers.html:85 -msgid "Month" -msgstr "" - -#: lib/Form/Block/Date.php:83 lib/Form/Block/Date.php:97 -#: lib/Form/Block/Date.php:159 -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:74 -#: views/form/templates/blocks/date_years.hbs:5 -#: views/subscribers/subscribers.html:84 -msgid "Year" -msgstr "" - -#: lib/Form/Block/Date.php:94 -msgid "Year, month, day" -msgstr "" - -#: lib/Form/Block/Date.php:95 -msgid "Year, month" -msgstr "" - -#: lib/Form/Block/Date.php:96 -msgid "Month (January, February,...)" -msgstr "" - -#: lib/Form/Block/Date.php:110 views/newsletters.html:173 -#: views/subscribers/importExport/import.html:55 -msgid "January" -msgstr "" - -#: lib/Form/Block/Date.php:110 views/newsletters.html:174 -#: views/subscribers/importExport/import.html:56 -msgid "February" -msgstr "" - -#: lib/Form/Block/Date.php:110 views/newsletters.html:175 -#: views/subscribers/importExport/import.html:57 -msgid "March" -msgstr "" - -#: lib/Form/Block/Date.php:110 views/newsletters.html:176 -#: views/subscribers/importExport/import.html:58 -msgid "April" -msgstr "" - -#: lib/Form/Block/Date.php:111 views/newsletters.html:177 -#: views/newsletters.html:189 views/subscribers/importExport/import.html:59 -msgid "May" -msgstr "" - -#: lib/Form/Block/Date.php:111 views/newsletters.html:178 -#: views/subscribers/importExport/import.html:60 -msgid "June" -msgstr "" - -#: lib/Form/Block/Date.php:111 views/newsletters.html:179 -#: views/subscribers/importExport/import.html:61 -msgid "July" -msgstr "" - -#: lib/Form/Block/Date.php:111 views/newsletters.html:180 -#: views/subscribers/importExport/import.html:62 -msgid "August" -msgstr "" - -#: lib/Form/Block/Date.php:111 views/newsletters.html:181 -#: views/subscribers/importExport/import.html:63 -msgid "September" -msgstr "" - -#: lib/Form/Block/Date.php:112 views/newsletters.html:182 -#: views/subscribers/importExport/import.html:64 -msgid "October" -msgstr "" - -#: lib/Form/Block/Date.php:112 views/newsletters.html:183 -#: views/subscribers/importExport/import.html:65 -msgid "November" -msgstr "" - -#: lib/Form/Block/Date.php:112 views/newsletters.html:184 -#: views/subscribers/importExport/import.html:66 -msgid "December" -msgstr "" - -#: lib/Form/Widget.php:18 -msgid "MailPoet Form" -msgstr "" - -#: lib/Form/Widget.php:20 -msgid "Add a newsletter subscription form" -msgstr "" - -#: lib/Form/Widget.php:43 -msgid "Subscribe to Our Newsletter" -msgstr "" - -#: lib/Form/Widget.php:58 -msgid "Title:" -msgstr "" - -#: lib/Form/Widget.php:78 -msgid "Create a new form" -msgstr "" - -#: lib/Mailer/Mailer.php:87 -msgid "Mailing method does not exist" -msgstr "" - -#: lib/Mailer/Mailer.php:104 -msgid "Sender name and email are not configured" -msgstr "" - -#: lib/Models/CustomField.php:12 lib/Models/Form.php:13 -#: lib/Models/NewsletterOptionField.php:12 lib/Models/NewsletterTemplate.php:13 -#: lib/Models/Segment.php:13 lib/Models/Setting.php:20 -#: views/form/templates/settings/field_form.hbs:52 -#: views/subscribers/importExport/import/step2.html:137 -#: views/subscribers/importExport/import/step2.html:195 -msgid "Please specify a name" -msgstr "" - -#: lib/Models/CustomField.php:15 lib/Models/Newsletter.php:27 -#: views/form/templates/settings/field_form.hbs:16 -msgid "Please specify a type" -msgstr "" - -#: lib/Models/Form.php:50 lib/Models/Newsletter.php:407 -#: lib/Models/Segment.php:122 lib/Models/Subscriber.php:277 -msgid "All" -msgstr "" - -#: lib/Models/Form.php:55 lib/Models/Newsletter.php:477 -#: lib/Models/Segment.php:127 lib/Models/Subscriber.php:297 views/forms.html:55 -#: views/newsletters.html:75 views/segments.html:49 -#: views/subscribers/subscribers.html:34 -msgid "Trash" -msgstr "" - -#: lib/Models/Model.php:51 views/subscribers/importExport/import/step2.html:140 -msgid "Another record already exists. Please specify a different \"%1$s\"." -msgstr "" - -#: lib/Models/Newsletter.php:308 lib/Models/Subscriber.php:215 -#: lib/Subscribers/ImportExport/Export/Export.php:175 -msgid "All Lists" -msgstr "" - -#: lib/Models/Newsletter.php:419 -#: views/newsletter/templates/blocks/posts/settingsSelection.hbs:12 -msgid "Draft" -msgstr "" - -#: lib/Models/Newsletter.php:427 -#: views/newsletter/templates/blocks/posts/settingsSelection.hbs:11 -msgid "Scheduled" -msgstr "" - -#: lib/Models/Newsletter.php:435 -msgid "Sending" -msgstr "" - -#: lib/Models/Newsletter.php:443 -msgid "Sent" -msgstr "" - -#: lib/Models/Newsletter.php:457 views/newsletters.html:82 -msgid "Active" -msgstr "" - -#: lib/Models/Newsletter.php:465 -msgid "Not active" -msgstr "" - -#: lib/Models/NewsletterOptionField.php:15 -msgid "Please specify a newsletter type" -msgstr "" - -#: lib/Models/NewsletterTemplate.php:16 -msgid "The template body cannot be empty" -msgstr "" - -#: lib/Models/Segment.php:103 views/subscribers/subscribers.html:80 -msgid "WordPress Users" -msgstr "" - -#: lib/Models/Segment.php:105 -msgid "This lists containts all of your WordPress users" -msgstr "" - -#: lib/Models/Segment.php:179 -msgid "Not in a List" -msgstr "" - -#: lib/Models/Setting.php:43 -msgid "Confirm your subscription to %1$s" -msgstr "" - -#: lib/Models/Setting.php:44 -msgid "" -"Hello!\n" -"\n" -"Hurray! You've subscribed to our site.\n" -"\n" -"Please confirm your subscription to the list(s): [lists_to_confirm] by " -"clicking the link below: \n" -"\n" -"[activation_link]Click here to confirm your subscription.[/activation_link]\n" -"\n" -"Thank you,\n" -"\n" -"The Team" -msgstr "" - -#: lib/Models/Subscriber.php:21 -msgid "Please enter your email address" -msgstr "" - -#: lib/Models/Subscriber.php:22 -msgid "Your email address is invalid!" -msgstr "" - -#: lib/Models/Subscriber.php:221 -msgid "Subscribers without a list (%s)" -msgstr "" - -#: lib/Models/Subscriber.php:282 lib/Subscription/Pages.php:279 -#: views/segments.html:30 views/subscribers/subscribers.html:51 -msgid "Subscribed" -msgstr "" - -#: lib/Models/Subscriber.php:287 views/segments.html:31 -#: views/subscribers/subscribers.html:50 -msgid "Unconfirmed" -msgstr "" - -#: lib/Models/Subscriber.php:292 lib/Subscription/Pages.php:287 -#: views/segments.html:32 views/subscribers/subscribers.html:52 -msgid "Unsubscribed" -msgstr "" - -#: lib/Newsletter/Editor/PostContentManager.php:80 -msgid "Click here to view media." -msgstr "" - -#: lib/Newsletter/Shortcodes/Categories/Link.php:27 -#: views/newsletter/editor.html:1030 -msgid "Unsubscribe" -msgstr "" - -#: lib/Newsletter/Shortcodes/Categories/Link.php:46 -#: views/newsletter/editor.html:1030 -msgid "Manage subscription" -msgstr "" - -#: lib/Newsletter/Shortcodes/Categories/Link.php:63 -msgid "View in your browser" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:10 -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:95 -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:96 -#: views/subscribers/subscribers.html:58 -msgid "Subscriber" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:12 -msgid "First Name" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:16 -msgid "Last Name" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:20 -msgid "Email Address" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:24 -msgid "WordPress User Display Name" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:28 -msgid "Total Number of Subscribers" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:34 -msgid "Newsletter Subject" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:38 views/newsletters.html:27 -#: views/newsletters.html:110 -msgid "Post Notifications" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:40 -msgid "Total Number of Posts or Pages" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:44 -msgid "Most Recent Post Title" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:48 -msgid "Issue Number" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:52 -#: views/form/templates/settings/field_form.hbs:41 -#: views/subscribers/importExport/import/step2.html:182 -msgid "Date" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:54 -msgid "Current day of the month number" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:58 -msgid "Current day of the month in ordinal form, i.e. 2nd, 3rd, 4th, etc." -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:62 -msgid "Full name of current day" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:66 -msgid "Current month number" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:70 -msgid "Full name of current month" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:78 -#: views/newsletter/templates/blocks/footer/settings.hbs:22 -#: views/newsletter/templates/blocks/header/settings.hbs:22 -#: views/newsletter/templates/components/sidebar/styles.hbs:68 -msgid "Links" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:80 -msgid "Unsubscribe link" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:84 -msgid "Edit subscription page link" -msgstr "" - -#: lib/Newsletter/Shortcodes/ShortcodesHelper.php:88 -msgid "View in browser link" -msgstr "" - -#: lib/Router/Forms.php:51 lib/Router/Forms.php:131 -msgid "New form" -msgstr "" - -#: lib/Router/Forms.php:55 lib/Router/Forms.php:59 -#: lib/Subscribers/ImportExport/ImportExportFactory.php:32 -#: views/newsletter/editor.html:913 views/newsletter/editor.html:914 -msgid "Email" -msgstr "" - -#: lib/Router/Forms.php:65 -msgid "Submit" -msgstr "" - -#: lib/Router/Forms.php:69 -msgid "Subscribe!" -msgstr "" - -#: lib/Router/Forms.php:75 -msgid "Check your inbox or spam folder to confirm your subscription." -msgstr "" - -#: lib/Router/Forms.php:233 lib/Router/Newsletters.php:154 -#: lib/Router/Segments.php:93 -msgid "Copy of %s" -msgstr "" - -#: lib/Router/Newsletters.php:168 -msgid "Newsletter data is missing" -msgstr "" - -#: lib/Router/Newsletters.php:176 -msgid "Newsletter could not be read" -msgstr "" - -#: lib/Router/Newsletters.php:204 -msgid "Please specify receiver information." -msgstr "" - -#: lib/Router/SendingQueue.php:36 -msgid "This newsletter does not exist" -msgstr "" - -#: lib/Router/SendingQueue.php:54 -msgid "Your Welcome Email has been activated" -msgstr "" - -#: lib/Router/SendingQueue.php:55 -msgid "Your Post Notification has been activated" -msgstr "" - -#: lib/Router/SendingQueue.php:72 -msgid "This newsletter is already being sent" -msgstr "" - -#: lib/Router/SendingQueue.php:96 -msgid "The newsletter has been scheduled" -msgstr "" - -#: lib/Router/SendingQueue.php:109 -msgid "There are no subscribers in that list!" -msgstr "" - -#: lib/Router/SendingQueue.php:124 -msgid "The newsletter is being sent..." -msgstr "" - -#: lib/Router/Subscribers.php:72 -msgid "This form does not exist" -msgstr "" - -#: lib/Settings/Pages.php:12 lib/Settings/Pages.php:13 -#: lib/Settings/Pages.php:37 lib/Subscription/Pages.php:84 -msgid "MailPoet Page" -msgstr "" - -#: lib/Subscribers/ImportExport/Export/Export.php:49 -msgid "Couldn't save export file on the server" -msgstr "" - -#: lib/Subscribers/ImportExport/Export/Export.php:52 -msgid "Export requires a ZIP extension to be installed on the host" -msgstr "" - -#: lib/Subscribers/ImportExport/Export/Export.php:87 views/segments.html:29 -msgid "List" -msgstr "" - -#: lib/Subscribers/ImportExport/Export/Export.php:208 -msgid "Not In Segment" -msgstr "" - -#: lib/Subscribers/ImportExport/Import/MailChimp.php:135 -msgid "Invalid API Key." -msgstr "" - -#: lib/Subscribers/ImportExport/Import/MailChimp.php:138 -msgid "Could not connect to your MailChimp account" -msgstr "" - -#: lib/Subscribers/ImportExport/Import/MailChimp.php:141 -msgid "The selected lists do not have matching columns (headers)" -msgstr "" - -#: lib/Subscribers/ImportExport/Import/MailChimp.php:144 -msgid "" -"The information received from MailChimp is too large for processing. Please " -"limit the number of lists!" -msgstr "" - -#: lib/Subscribers/ImportExport/Import/MailChimp.php:147 -msgid "Did not find any active subscribers." -msgstr "" - -#: lib/Subscribers/ImportExport/Import/MailChimp.php:150 -msgid "Did not find any valid lists" -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:20 -msgid "Not In List" -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:33 -#: lib/Subscription/Pages.php:256 views/form/editor.html:227 -#: views/form/editor.html:230 -msgid "First name" -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:34 -#: lib/Subscription/Pages.php:265 views/form/editor.html:236 -#: views/form/editor.html:239 -msgid "Last name" -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:35 -#: lib/Subscription/Pages.php:275 views/newsletters.html:61 -#: views/subscribers/subscribers.html:49 views/subscribers/subscribers.html:59 -msgid "Status" -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:73 -msgid "Ignore field..." -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:77 -msgid "Create new field..." -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:83 -msgid "Select all..." -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:87 -msgid "Deselect all..." -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:92 -msgid "Actions" -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:96 -msgid "System fields" -msgstr "" - -#: lib/Subscribers/ImportExport/ImportExportFactory.php:102 -#: views/subscribers/importExport/import.html:51 -msgid "User fields" -msgstr "" - -#: lib/Subscription/Comment.php:23 -msgid "Yes, please add me to your mailing list" -msgstr "" - -#: lib/Subscription/Pages.php:80 -msgid "Hmmm... we don't have a record of you" -msgstr "" - -#: lib/Subscription/Pages.php:110 -msgid "" -"Your email address doesn't appear in our lists anymore. Sign up again or " -"contact us if this appears to be a mistake." -msgstr "" - -#: lib/Subscription/Pages.php:154 lib/Subscription/Pages.php:166 -msgid "You have subscribed to: %s" -msgstr "" - -#: lib/Subscription/Pages.php:163 -msgid "You are now subscribed!" -msgstr "" - -#: lib/Subscription/Pages.php:176 lib/Subscription/Pages.php:377 -msgid "Manage your subscription" -msgstr "" - -#: lib/Subscription/Pages.php:182 -msgid "You are now unsubscribed" -msgstr "" - -#: lib/Subscription/Pages.php:189 -msgid "Yup, we've added you to our email list. You'll hear from us shortly." -msgstr "" - -#: lib/Subscription/Pages.php:306 -msgid "Your lists" -msgstr "" - -#: lib/Subscription/Pages.php:314 views/form/editor.html:29 -#: views/form/editor.html:386 views/newsletter/templates/components/save.hbs:3 -#: views/segments.html:54 views/subscribers/subscribers.html:90 -msgid "Save" -msgstr "" - -#: lib/Subscription/Pages.php:341 -msgid "[link]Edit your profile[/link] to update your email." -msgstr "" - -#: lib/Subscription/Pages.php:347 -msgid "[link]Log in to your account[/link] to update your email." -msgstr "" - -#: lib/Subscription/Pages.php:351 -msgid "" -"Need to change your email address? Unsubscribe here, then simply sign up " -"again." -msgstr "" - -#: lib/Subscription/Pages.php:365 -msgid "Accidentally unsubscribed?" -msgstr "" - -#: lib/Subscription/Registration.php:11 -msgid "Yes, please add me to your mailing list." -msgstr "" - -#: lib/Twig/Functions.php:79 views/settings/mta.html:988 -msgid "every minute" -msgstr "" - -#: lib/Twig/Functions.php:80 views/settings/mta.html:989 -msgid "every %1$d minutes" -msgstr "" - -#: lib/Twig/Functions.php:81 views/settings/mta.html:990 -msgid "every hour" -msgstr "" - -#: lib/Twig/Functions.php:82 views/settings/mta.html:991 -msgid "every %1$d hours" -msgstr "" - -#: lib/WP/Notice.php:22 -msgid "MailPoet Error:" -msgstr "" - -#: views/cron.html:9 -msgid "Cron daemon error" -msgstr "" - -#: views/cron.html:10 -msgid "Loading daemon status..." -msgstr "" - -#: views/cron.html:11 -msgid "Cron daemon is running." -msgstr "" - -#: views/cron.html:12 -msgid "Stop" -msgstr "" - -#: views/cron.html:13 -msgid "Start" -msgstr "" - -#: views/cron.html:14 -msgid "Cron is %$1s" -msgstr "" - -#: views/form/editor.html:5 -msgid "Form" -msgstr "" - -#: views/form/editor.html:6 views/segments.html:65 -#: views/subscribers/subscribers.html:91 -msgid "Back" -msgstr "" - -#: views/form/editor.html:11 -msgid "Click here to change the name" -msgstr "" - -#: views/form/editor.html:50 -msgid "This form adds the subscribers to these lists:" -msgstr "" - -#: views/form/editor.html:57 -msgid "Please select a list." -msgstr "" - -#: views/form/editor.html:69 -msgid "After submit..." -msgstr "" - -#: views/form/editor.html:78 -msgid "Show message" -msgstr "" - -#: views/form/editor.html:89 -msgid "Go to Page" -msgstr "" - -#: views/form/editor.html:96 -msgid "Check your inbox to confirm your subscription." -msgstr "" - -#: views/form/editor.html:126 -msgid "Form Placement" -msgstr "" - -#: views/form/editor.html:131 -msgid "Add this form to your sidebar or footer on the [link]Widgets page[/link]." -msgstr "" - -#: views/form/editor.html:140 -msgid "Copy and paste this [link]shortcode[/link] on to a post or page." -msgstr "" - -#: views/form/editor.html:149 -msgid "%sHTML%s" -msgstr "" - -#: views/form/editor.html:170 -msgid "Fields" -msgstr "" - -#: views/form/editor.html:176 -msgid "Add New Field" -msgstr "" - -#: views/form/editor.html:185 -#: views/newsletter/templates/blocks/social/settings.hbs:3 -#: views/newsletter/templates/components/sidebar/styles.hbs:2 -msgid "Styles" -msgstr "" - -#: views/form/editor.html:195 -#: views/newsletter/templates/components/sidebar/preview.hbs:2 -#: views/newsletters.html:99 views/settings/basics.html:242 -#: views/settings/basics.html:299 views/settings/signup.html:177 -msgid "Preview" -msgstr "" - -#: views/form/editor.html:220 -#: views/newsletter/templates/blocks/divider/widget.hbs:4 -msgid "Divider" -msgstr "" - -#: views/form/editor.html:245 -msgid "List selection" -msgstr "" - -#: views/form/editor.html:248 -#: views/subscribers/importExport/import/step1.html:91 -msgid "Select list(s" -msgstr "" - -#: views/form/editor.html:254 -msgid "Random text or HTML" -msgstr "" - -#: views/form/editor.html:257 -msgid "" -"Subscribe to our newsletter and join [mailpoet_subscribers_count] other " -"subscribers." -msgstr "" - -#: views/form/editor.html:404 -msgid "Edit name" -msgstr "" - -#: views/form/editor.html:417 -msgid "The form name was successfully updated!" -msgstr "" - -#: views/form/editor.html:457 -msgid "Form preview" -msgstr "" - -#: views/form/editor.html:497 -msgid "An error occurred. Please reload the page and try again." -msgstr "" - -#: views/form/editor.html:508 -msgid "Saved! The changes are now active in your widget." -msgstr "" - -#: views/form/editor.html:510 -msgid "Saved! Add this form to %1$sa widget%2$s." -msgstr "" - -#: views/form/editor.html:568 -msgid "Add new field" -msgstr "" - -#: views/form/editor.html:586 views/form/templates/toolbar/fields.hbs:14 -msgid "Edit field" -msgstr "" - -#: views/form/editor.html:601 -msgid "This field will be deleted for all your subscribers. Are you sure?" -msgstr "" - -#: views/form/editor.html:619 -msgid "Removed custom field “\"+name+\"“" -msgstr "" - -#: views/form/iframe.html:15 -msgid "MailPoet Subscription Form" -msgstr "" - -#: views/form/templates/blocks/container.hbs:10 -msgid "Edit display" -msgstr "" - -#: views/form/templates/blocks/segment.hbs:2 -#: views/subscribers/importExport/import.html:48 -msgid "Please select at least one list" -msgstr "" - -#: views/form/templates/preview.hbs:4 -msgid "This is a success message" -msgstr "" - -#: views/form/templates/preview.hbs:5 -msgid "This is an error message" -msgstr "" - -#: views/form/templates/settings/date_default.hbs:2 -msgid "Preselect today's date:" -msgstr "" - -#: views/form/templates/settings/date_default.hbs:11 -#: views/form/templates/settings/label_within.hbs:5 -#: views/form/templates/settings/required.hbs:9 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:124 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:281 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:79 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:221 -#: views/settings/advanced.html:90 views/settings/advanced.html:130 -#: views/settings/basics.html:115 views/settings/basics.html:179 -#: views/settings/bounce.html:190 views/settings/mta.html:563 -#: views/settings/signup.html:34 views/subscribers/importExport/export.html:33 -#: views/subscribers/importExport/import/step2.html:66 -msgid "Yes" -msgstr "" - -#: views/form/templates/settings/date_default.hbs:20 -#: views/form/templates/settings/label_within.hbs:8 -#: views/form/templates/settings/required.hbs:17 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:130 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:183 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:209 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:287 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:85 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:139 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:165 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:227 -#: views/settings/advanced.html:101 views/settings/advanced.html:141 -#: views/settings/bounce.html:148 views/settings/bounce.html:179 -#: views/settings/mta.html:526 views/settings/mta.html:574 -#: views/settings/signup.html:46 views/subscribers/importExport/export.html:38 -#: views/subscribers/importExport/import/step2.html:70 -msgid "No" -msgstr "" - -#: views/form/templates/settings/date_formats.hbs:9 -msgid "Order" -msgstr "" - -#: views/form/templates/settings/date_types.hbs:2 -msgid "Type of date" -msgstr "" - -#: views/form/templates/settings/field.hbs:19 -msgid "Number of lines:" -msgstr "" - -#: views/form/templates/settings/field.hbs:24 -msgid "1 line" -msgid_plural "%d lines" -msgstr[0] "" -msgstr[1] "" - -#: views/form/templates/settings/field.hbs:61 -msgid "Automatically add paragraphs" -msgstr "" - -#: views/form/templates/settings/field_form.hbs:11 -msgid "Select a field type:" -msgstr "" - -#: views/form/templates/settings/field_form.hbs:21 -#: views/subscribers/importExport/import/step2.html:167 -msgid "Text Input" -msgstr "" - -#: views/form/templates/settings/field_form.hbs:25 -#: views/subscribers/importExport/import/step2.html:170 -msgid "Text Area" -msgstr "" - -#: views/form/templates/settings/field_form.hbs:29 -#: views/subscribers/importExport/import/step2.html:173 -msgid "Radio buttons" -msgstr "" - -#: views/form/templates/settings/field_form.hbs:33 -#: views/subscribers/importExport/import/step2.html:176 -msgid "Checkbox" -msgstr "" - -#: views/form/templates/settings/field_form.hbs:37 views/newsletters.html:98 -#: views/subscribers/importExport/export.html:52 -#: views/subscribers/importExport/export.html:63 -#: views/subscribers/importExport/import/step1.html:95 -#: views/subscribers/importExport/import/step2.html:41 -#: views/subscribers/importExport/import/step2.html:179 -#: views/subscribers/importExport/import.html:37 -msgid "Select" -msgstr "" - -#: views/form/templates/settings/field_form.hbs:46 -msgid "Field name:" -msgstr "" - -#: views/form/templates/settings/field_form.hbs:60 -#: views/form/templates/settings/submit.hbs:2 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:299 -#: views/newsletter/templates/blocks/button/settings.hbs:117 -#: views/newsletter/templates/blocks/container/settings.hbs:14 -#: views/newsletter/templates/blocks/divider/settings.hbs:37 -#: views/newsletter/templates/blocks/footer/settings.hbs:59 -#: views/newsletter/templates/blocks/header/settings.hbs:59 -#: views/newsletter/templates/blocks/image/settings.hbs:40 -#: views/newsletter/templates/blocks/social/settings.hbs:6 -#: views/newsletter/templates/blocks/spacer/settings.hbs:10 -#: views/subscribers/importExport/import/step2.html:151 -#: views/subscribers/importExport/import/step2.html:204 -msgid "Done" -msgstr "" - -#: views/form/templates/settings/field_form.hbs:93 -msgid "Updated custom field “\"+data.name+\"“" -msgstr "" - -#: views/form/templates/settings/field_form.hbs:97 -msgid "Added custom field “\"+data.name+\"“" -msgstr "" - -#: views/form/templates/settings/label.hbs:2 -msgid "Label:" -msgstr "" - -#: views/form/templates/settings/label_within.hbs:2 -msgid "Display label within input:" -msgstr "" - -#: views/form/templates/settings/required.hbs:2 -msgid "Is this field mandatory?" -msgstr "" - -#: views/form/templates/settings/segment_selection.hbs:4 -msgid "Select the segment that you want to add:" -msgstr "" - -#: views/form/templates/settings/segment_selection.hbs:8 -msgid "Add" -msgstr "" - -#: views/form/templates/settings/segment_selection_item.hbs:10 -#: views/form/templates/settings/values_item.hbs:20 -msgid "Remove" -msgstr "" - -#: views/form/templates/settings/segment_selection_item.hbs:11 -msgid "Move" -msgstr "" - -#: views/form/templates/settings/validate.hbs:2 -msgid "Validate for:" -msgstr "" - -#: views/form/templates/settings/validate.hbs:6 -msgid "Nothing" -msgstr "" - -#: views/form/templates/settings/validate.hbs:11 -msgid "Numbers only" -msgstr "" - -#: views/form/templates/settings/validate.hbs:16 -msgid "Alphanumerical" -msgstr "" - -#: views/form/templates/settings/validate.hbs:21 -msgid "Phone number" -msgstr "" - -#: views/form/templates/settings/values.hbs:4 -msgid "Add item" -msgstr "" - -#: views/form/templates/toolbar/fields.hbs:20 -msgid "Delete field" -msgstr "" - -#: views/forms.html:17 views/newsletters.html:29 views/segments.html:14 -#: views/subscribers/subscribers.html:18 -msgid "Search" -msgstr "" - -#: views/forms.html:18 -msgid "Loading forms..." -msgstr "" - -#: views/forms.html:19 -msgid "No forms found" -msgstr "" - -#: views/forms.html:20 -msgid "All forms on this page are selected" -msgstr "" - -#: views/forms.html:21 -msgid "All %d forms are selected" -msgstr "" - -#: views/forms.html:22 -msgid "Select all forms on all pages" -msgstr "" - -#: views/forms.html:23 views/newsletters.html:35 views/segments.html:20 -#: views/subscribers/subscribers.html:24 -msgid "Clear selection" -msgstr "" - -#: views/forms.html:24 -msgid "%d forms permanently deleted" -msgstr "" - -#: views/forms.html:25 views/newsletters.html:37 views/segments.html:22 -#: views/subscribers/subscribers.html:26 -msgid "Select bulk action" -msgstr "" - -#: views/forms.html:26 views/newsletters.html:38 views/segments.html:23 -#: views/subscribers/subscribers.html:27 -msgid "Bulk Actions" -msgstr "" - -#: views/forms.html:27 views/newsletters.html:39 views/segments.html:24 -#: views/subscribers/subscribers.html:28 -msgid "Apply" -msgstr "" - -#: views/forms.html:28 views/newsletters.html:40 -#: views/subscribers/subscribers.html:29 -msgid "Filter" -msgstr "" - -#: views/forms.html:29 views/newsletters.html:41 views/segments.html:50 -#: views/subscribers/subscribers.html:30 -msgid "Empty Trash" -msgstr "" - -#: views/forms.html:30 views/newsletters.html:42 views/segments.html:51 -#: views/subscribers/subscribers.html:31 -msgid "Select All" -msgstr "" - -#: views/forms.html:31 views/newsletters.html:43 views/segments.html:52 -#: views/subscribers/subscribers.html:33 -msgid "Restore" -msgstr "" - -#: views/forms.html:32 views/newsletters.html:44 -#: views/subscribers/subscribers.html:35 -msgid "Delete Permanently" -msgstr "" - -#: views/forms.html:34 views/newsletters.html:47 views/segments.html:56 -#: views/subscribers/subscribers.html:38 -msgid "Previous page" -msgstr "" - -#: views/forms.html:35 views/newsletters.html:48 views/segments.html:57 -#: views/subscribers/subscribers.html:39 -msgid "First page" -msgstr "" - -#: views/forms.html:36 views/newsletters.html:49 views/segments.html:58 -#: views/subscribers/subscribers.html:40 -msgid "Next page" -msgstr "" - -#: views/forms.html:37 views/newsletters.html:50 views/segments.html:59 -#: views/subscribers/subscribers.html:41 -msgid "Last page" -msgstr "" - -#: views/forms.html:38 views/subscribers/subscribers.html:42 -msgid "Current Page" -msgstr "" - -#: views/forms.html:39 views/newsletters.html:52 views/segments.html:61 -#: views/subscribers/subscribers.html:43 -msgid "of" -msgstr "" - -#: views/forms.html:40 views/newsletters.html:53 views/segments.html:62 -#: views/subscribers/subscribers.html:44 -msgid "%$1d item(s" -msgstr "" - -#: views/forms.html:42 views/segments.html:25 -#: views/subscribers/importExport/import/step2.html:133 -msgid "Name" -msgstr "" - -#: views/forms.html:44 -msgid "Signups" -msgstr "" - -#: views/forms.html:45 -msgid "Created On" -msgstr "" - -#: views/forms.html:46 -msgid "1 form was moved to the trash" -msgstr "" - -#: views/forms.html:47 -msgid "%$1d forms were moved to the trash" -msgstr "" - -#: views/forms.html:48 -msgid "1 form was permanently deleted" -msgstr "" - -#: views/forms.html:49 -msgid "%$1d forms were permanently deleted" -msgstr "" - -#: views/forms.html:50 -msgid "1 form has been restored from the trash" -msgstr "" - -#: views/forms.html:51 -msgid "%$1d forms have been restored from the trash" -msgstr "" - -#: views/forms.html:52 views/newsletters.html:76 views/segments.html:48 -#: views/subscribers/subscribers.html:32 -msgid "Edit" -msgstr "" - -#: views/forms.html:53 views/newsletters.html:77 views/segments.html:40 -msgid "Duplicate" -msgstr "" - -#: views/forms.html:54 -msgid "Form \"%$1s\" has been duplicated" -msgstr "" - -#: views/forms.html:56 views/newsletters.html:88 views/segments.html:47 -#: views/subscribers/subscribers.html:87 -msgid "Add New" -msgstr "" - -#: views/index.html:5 -msgid " %sSetup%s MailPoet and start sending." -msgstr "" - -#: views/layout.html:63 -msgid "" -"Want to give feedback to the MailPoet team? Contact us here. Please provide " -"as much information as possible!" -msgstr "" - -#: views/newsletter/editor.html:226 views/newsletters.html:55 -msgid "Select type" -msgstr "" - -#: views/newsletter/editor.html:226 views/newsletters.html:56 -msgid "Template" -msgstr "" - -#: views/newsletter/editor.html:226 views/newsletters.html:57 -msgid "Designer" -msgstr "" - -#: views/newsletter/editor.html:226 views/newsletters.html:58 -msgid "Send" -msgstr "" - -#: views/newsletter/editor.html:255 -msgid "Insert/edit link" -msgstr "" - -#: views/newsletter/editor.html:262 -msgid "Type" -msgstr "" - -#: views/newsletter/editor.html:264 -msgid "Link to a web page" -msgstr "" - -#: views/newsletter/editor.html:265 -msgid "Browser version" -msgstr "" - -#: views/newsletter/editor.html:266 -msgid "Unsubcribe page" -msgstr "" - -#: views/newsletter/editor.html:267 -msgid "Manage your subscription page" -msgstr "" - -#: views/newsletter/editor.html:272 views/newsletter/editor.html:889 -#: views/newsletter/editor.html:894 views/newsletter/editor.html:899 -#: views/newsletter/editor.html:904 views/newsletter/editor.html:909 -#: views/newsletter/editor.html:919 views/newsletter/editor.html:924 -#: views/newsletter/editor.html:929 views/newsletter/editor.html:934 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:237 -#: views/newsletter/templates/blocks/button/settings.hbs:14 -#: views/newsletter/templates/blocks/image/settings.hbs:4 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:193 -msgid "Link" -msgstr "" - -#: views/newsletter/editor.html:275 -msgid "Title" -msgstr "" - -#: views/newsletter/editor.html:278 -msgid "Open link in a new window/tab" -msgstr "" - -#: views/newsletter/editor.html:284 -msgid "Search your content" -msgstr "" - -#: views/newsletter/editor.html:296 -msgid "No search term specified. Showing recent items." -msgstr "" - -#: views/newsletter/editor.html:306 -msgid "Add Link" -msgstr "" - -#: views/newsletter/editor.html:309 -#: views/newsletter/templates/blocks/base/toolsGeneric.hbs:5 -#: views/subscribers/importExport/import/step2.html:153 -#: views/subscribers/importExport/import/step2.html:206 -msgid "Cancel" -msgstr "" - -#: views/newsletter/editor.html:318 -msgid "Failed to fetch available posts" -msgstr "" - -#: views/newsletter/editor.html:319 -msgid "Failed to fetch rendered posts" -msgstr "" - -#: views/newsletter/editor.html:320 -msgid "Select a shortcode" -msgstr "" - -#: views/newsletter/editor.html:321 -msgid "" -"All newsletters must include an \"Unsubscribe\" link. Add a footer widget " -"to your newsletter to continue" -msgstr "" - -#: views/newsletter/editor.html:322 -msgid "Enter an email address to send the preview newsletter to" -msgstr "" - -#: views/newsletter/editor.html:323 -msgid "Preview failed. Please check console log" -msgstr "" - -#: views/newsletter/editor.html:324 -msgid "Your test email has been sent!" -msgstr "" - -#: views/newsletter/editor.html:325 -msgid "" -"Attempt to send a newsletter preview email failed. Please verify that your " -"sending method is configured correctly and try again" -msgstr "" - -#: views/newsletter/editor.html:326 -msgid "Please add a template name" -msgstr "" - -#: views/newsletter/editor.html:327 -msgid "Please add a template description" -msgstr "" - -#: views/newsletter/editor.html:328 -msgid "Template has been saved." -msgstr "" - -#: views/newsletter/editor.html:329 -msgid "Template has not been saved" -msgstr "" - -#: views/newsletter/editor.html:330 -msgid "Categories & tags" -msgstr "" - -#: views/newsletter/editor.html:331 -msgid "There is no content to display" -msgstr "" - -#: views/newsletter/editor.html:908 -msgid "Website" -msgstr "" - -#: views/newsletter/editor.html:933 -msgid "Custom" -msgstr "" - -#: views/newsletter/editor.html:956 views/newsletter/editor.html:1080 -msgid "Read more" -msgstr "" - -#: views/newsletter/editor.html:992 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:243 -#: views/newsletter/templates/blocks/button/settings.hbs:1 -#: views/newsletter/templates/blocks/button/widget.hbs:4 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:199 -msgid "Button" -msgstr "" - -#: views/newsletter/editor.html:1030 -msgid "Add your postal address here!" -msgstr "" - -#: views/newsletter/editor.html:1052 -msgid "An image of..." -msgstr "" - -#: views/newsletter/editor.html:1127 -msgid "Facebook" -msgstr "" - -#: views/newsletter/editor.html:1138 -msgid "Twitter" -msgstr "" - -#: views/newsletter/editor.html:1151 -msgid "Edit this to insert text" -msgstr "" - -#: views/newsletter/editor.html:1154 -msgid "Display problems?" -msgstr "" - -#: views/newsletter/editor.html:1155 -msgid "Open this email in your web browser" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:1 -#: views/newsletter/templates/blocks/posts/settings.hbs:1 -msgid "Post selection" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:4 -msgid "Show:" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:8 -#: views/newsletter/templates/blocks/posts/settingsSelection.hbs:6 -#: views/newsletter/templates/blocks/posts/widget.hbs:4 -msgid "Posts" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:9 -#: views/newsletter/templates/blocks/posts/settingsSelection.hbs:7 -msgid "Pages" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:10 -#: views/newsletter/templates/blocks/posts/settingsSelection.hbs:8 -msgid "MailPoet pages" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:26 -msgid "Include" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:32 -msgid "Exclude" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:41 -#: views/newsletter/templates/blocks/posts/settings.hbs:7 -msgid "Display options" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:45 -msgid "Hide display options" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:52 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:5 -msgid "Excerpt" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:58 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:11 -msgid "Full post" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:64 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:17 -msgid "Title only" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:70 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:25 -msgid "Title Format" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:74 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:29 -#: views/newsletter/templates/components/sidebar/styles.hbs:33 -msgid "Heading 1" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:80 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:35 -#: views/newsletter/templates/components/sidebar/styles.hbs:48 -msgid "Heading 2" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:86 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:41 -#: views/newsletter/templates/components/sidebar/styles.hbs:63 -msgid "Heading 3" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:92 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:47 -msgid "Show as list" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:98 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:53 -msgid "Title Alignment" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:102 -#: views/newsletter/templates/blocks/button/settings.hbs:27 -#: views/newsletter/templates/blocks/footer/settings.hbs:41 -#: views/newsletter/templates/blocks/header/settings.hbs:41 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:57 -msgid "Left" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:108 -#: views/newsletter/templates/blocks/button/settings.hbs:33 -#: views/newsletter/templates/blocks/footer/settings.hbs:47 -#: views/newsletter/templates/blocks/header/settings.hbs:47 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:63 -msgid "Center" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:114 -#: views/newsletter/templates/blocks/button/settings.hbs:39 -#: views/newsletter/templates/blocks/footer/settings.hbs:53 -#: views/newsletter/templates/blocks/header/settings.hbs:53 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:69 -msgid "Right" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:120 -msgid "Title as links" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:138 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:95 -msgid "Featured image position" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:142 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:99 -msgid "Below title" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:148 -msgid "Above title" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:154 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:111 -msgid "None" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:161 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:117 -msgid "Image width" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:165 -#: views/newsletter/templates/blocks/image/settings.hbs:30 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:121 -msgid "Full width" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:171 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:127 -msgid "Padded" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:179 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:135 -msgid "Show author" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:189 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:215 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:145 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:171 -msgid "Above text" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:195 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:221 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:151 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:177 -msgid "Below text" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:198 -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:224 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:154 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:180 -msgid "Preceded by:" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:205 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:161 -msgid "Show categories" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:233 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:189 -msgid "Read more\" text" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:252 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:208 -msgid "Design a button" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:260 -msgid "Sort by" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:264 -msgid "Newest" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:270 -msgid "Oldest" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:277 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:217 -msgid "Show divider between posts" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/settings.hbs:291 -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:231 -msgid "Select divider" -msgstr "" - -#: views/newsletter/templates/blocks/automatedLatestContent/widget.hbs:4 -msgid "Automatic Latest Content" -msgstr "" - -#: views/newsletter/templates/blocks/base/toolsGeneric.hbs:1 -msgid "Switch editing layer" -msgstr "" - -#: views/newsletter/templates/blocks/base/toolsGeneric.hbs:3 -msgid "Edit settings" -msgstr "" - -#: views/newsletter/templates/blocks/base/toolsGeneric.hbs:5 -#: views/newsletters.html:97 -msgid "Delete" -msgstr "" - -#: views/newsletter/templates/blocks/base/toolsGeneric.hbs:5 -msgid "Confirm deletion" -msgstr "" - -#: views/newsletter/templates/blocks/base/toolsGeneric.hbs:5 -msgid "Cancel deletion" -msgstr "" - -#: views/newsletter/templates/blocks/base/toolsGeneric.hbs:5 -msgid "Drag to move" -msgstr "" - -#: views/newsletter/templates/blocks/button/settings.hbs:4 -msgid "Label" -msgstr "" - -#: views/newsletter/templates/blocks/button/settings.hbs:23 -msgid "Alignment" -msgstr "" - -#: views/newsletter/templates/blocks/button/settings.hbs:57 -#: views/newsletter/templates/blocks/footer/settings.hbs:16 -#: views/newsletter/templates/blocks/header/settings.hbs:16 -#: views/newsletter/templates/blocks/social/settingsIcon.hbs:55 -#: views/newsletter/templates/blocks/text/settings.hbs:1 -#: views/newsletter/templates/blocks/text/settings.hbs:2 -#: views/newsletter/templates/blocks/text/widget.hbs:4 -#: views/newsletter/templates/components/sidebar/styles.hbs:18 -msgid "Text" -msgstr "" - -#: views/newsletter/templates/blocks/button/settings.hbs:63 -msgid "Bold" -msgstr "" - -#: views/newsletter/templates/blocks/button/settings.hbs:71 -#: views/newsletter/templates/blocks/container/settings.hbs:7 -#: views/newsletter/templates/blocks/divider/settings.hbs:28 -#: views/newsletter/templates/blocks/footer/settings.hbs:34 -#: views/newsletter/templates/blocks/header/settings.hbs:34 -#: views/newsletter/templates/blocks/spacer/settings.hbs:6 -#: views/newsletter/templates/components/sidebar/styles.hbs:79 -msgid "Background" -msgstr "" - -#: views/newsletter/templates/blocks/button/settings.hbs:77 -msgid "Border" -msgstr "" - -#: views/newsletter/templates/blocks/button/settings.hbs:85 -msgid "Rounded corners" -msgstr "" - -#: views/newsletter/templates/blocks/button/settings.hbs:94 -msgid "Width" -msgstr "" - -#: views/newsletter/templates/blocks/button/settings.hbs:103 -msgid "Height" -msgstr "" - -#: views/newsletter/templates/blocks/button/settings.hbs:112 -msgid "Apply styles to all buttons" -msgstr "" - -#: views/newsletter/templates/blocks/container/emptyBlock.hbs:1 -msgid "Drop layout here!" -msgstr "" - -#: views/newsletter/templates/blocks/container/emptyBlock.hbs:1 -msgid "Drop content here!" -msgstr "" - -#: views/newsletter/templates/blocks/container/oneColumnLayoutWidget.hbs:4 -msgid "1 column" -msgstr "" - -#: views/newsletter/templates/blocks/container/settings.hbs:1 -#: views/newsletter/templates/components/sidebar/layout.hbs:2 -msgid "Layout" -msgstr "" - -#: views/newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs:4 -msgid "3 columns" -msgstr "" - -#: views/newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs:4 -msgid "2 columns" -msgstr "" - -#: views/newsletter/templates/blocks/divider/settings.hbs:1 -msgid "Dividers" -msgstr "" - -#: views/newsletter/templates/blocks/divider/settings.hbs:15 -msgid "Divider height" -msgstr "" - -#: views/newsletter/templates/blocks/divider/settings.hbs:22 -msgid "Divider color" -msgstr "" - -#: views/newsletter/templates/blocks/divider/settings.hbs:32 -msgid "Apply to all dividers" -msgstr "" - -#: views/newsletter/templates/blocks/footer/settings.hbs:1 -#: views/newsletter/templates/blocks/footer/widget.hbs:4 -msgid "Footer" -msgstr "" - -#: views/newsletter/templates/blocks/footer/settings.hbs:25 -#: views/newsletter/templates/blocks/header/settings.hbs:25 -#: views/newsletter/templates/components/sidebar/styles.hbs:68 -msgid "Underline" -msgstr "" - -#: views/newsletter/templates/blocks/header/settings.hbs:1 -#: views/newsletter/templates/blocks/header/widget.hbs:4 -msgid "Header" -msgstr "" - -#: views/newsletter/templates/blocks/image/settings.hbs:1 -#: views/newsletter/templates/blocks/image/widget.hbs:4 -#: views/newsletter/templates/blocks/social/settingsIcon.hbs:27 -msgid "Image" -msgstr "" - -#: views/newsletter/templates/blocks/image/settings.hbs:4 -msgid "Optional" -msgstr "" - -#: views/newsletter/templates/blocks/image/settings.hbs:12 -msgid "Address" -msgstr "" - -#: views/newsletter/templates/blocks/image/settings.hbs:20 -msgid "Alternative text" -msgstr "" - -#: views/newsletter/templates/blocks/image/settings.hbs:36 -msgid "Select another image" -msgstr "" - -#: views/newsletter/templates/blocks/posts/settings.hbs:6 -msgid "Back to selection" -msgstr "" - -#: views/newsletter/templates/blocks/posts/settings.hbs:9 -msgid "Insert selected" -msgstr "" - -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:75 -msgid "Make the post title into a link" -msgstr "" - -#: views/newsletter/templates/blocks/posts/settingsDisplayOptions.hbs:105 -msgid "Above block" -msgstr "" - -#: views/newsletter/templates/blocks/posts/settingsSelection.hbs:3 -msgid "Search..." -msgstr "" - -#: views/newsletter/templates/blocks/posts/settingsSelection.hbs:10 -msgid "Published" -msgstr "" - -#: views/newsletter/templates/blocks/posts/settingsSelection.hbs:13 -msgid "Pending Review" -msgstr "" - -#: views/newsletter/templates/blocks/posts/settingsSelection.hbs:14 -msgid "Private" -msgstr "" - -#: views/newsletter/templates/blocks/posts/settingsSelectionEmpty.hbs:1 -msgid "No posts available" -msgstr "" - -#: views/newsletter/templates/blocks/social/settings.hbs:1 -msgid "Select icons" -msgstr "" - -#: views/newsletter/templates/blocks/social/settingsIconSelector.hbs:2 -msgid "Add another social network" -msgstr "" - -#: views/newsletter/templates/blocks/social/widget.hbs:2 -msgid "Social" -msgstr "" - -#: views/newsletter/templates/blocks/spacer/settings.hbs:1 -#: views/newsletter/templates/blocks/spacer/widget.hbs:4 -msgid "Spacer" -msgstr "" - -#: views/newsletter/templates/components/heading.hbs:6 -msgid "Click here to change the subject!" -msgstr "" - -#: views/newsletter/templates/components/heading.hbs:13 -msgid "Write your preheader here (for subscribers that use Outlook" -msgstr "" - -#: views/newsletter/templates/components/save.hbs:5 views/newsletters.html:134 -#: views/newsletters.html:211 -msgid "Next" -msgstr "" - -#: views/newsletter/templates/components/save.hbs:7 -msgid "Autosaved" -msgstr "" - -#: views/newsletter/templates/components/save.hbs:10 -#: views/newsletter/templates/components/save.hbs:15 -#: views/newsletter/templates/components/save.hbs:18 -msgid "Save as template" -msgstr "" - -#: views/newsletter/templates/components/save.hbs:11 -msgid "Export as template" -msgstr "" - -#: views/newsletter/templates/components/save.hbs:16 -msgid "Insert template name" -msgstr "" - -#: views/newsletter/templates/components/save.hbs:17 -msgid "Insert template description" -msgstr "" - -#: views/newsletter/templates/components/save.hbs:21 -#: views/newsletter/templates/components/save.hbs:24 -msgid "Export template" -msgstr "" - -#: views/newsletter/templates/components/save.hbs:22 -msgid "Template name" -msgstr "" - -#: views/newsletter/templates/components/save.hbs:23 -msgid "Template description" -msgstr "" - -#: views/newsletter/templates/components/sidebar/content.hbs:2 -msgid "Content" -msgstr "" - -#: views/newsletter/templates/components/sidebar/preview.hbs:6 -msgid "Send preview to" -msgstr "" - -#: views/newsletter/templates/components/sidebar/preview.hbs:12 -msgid "Send preview" -msgstr "" - -#: views/newsletter/templates/components/sidebar/preview.hbs:17 -msgid "View in browser" -msgstr "" - -#: views/newsletter/templates/components/sidebar/styles.hbs:1 -msgid "Click to toggle" -msgstr "" - -#: views/newsletters.html:26 -msgid "Welcome Emails" -msgstr "" - -#: views/newsletters.html:30 -msgid "Loading newsletters..." -msgstr "" - -#: views/newsletters.html:31 -msgid "Nothing here yet! But" -msgstr "" - -#: views/newsletters.html:32 -msgid "All newsletters on this page are selected" -msgstr "" - -#: views/newsletters.html:33 -msgid "All %d newsletters are selected" -msgstr "" - -#: views/newsletters.html:34 -msgid "Select all newsletters on all pages" -msgstr "" - -#: views/newsletters.html:36 -msgid "%d newsletters were permanently deleted" -msgstr "" - -#: views/newsletters.html:45 views/subscribers/importExport/import.html:47 -#: views/subscribers/subscribers.html:36 -msgid "Show more details" -msgstr "" - -#: views/newsletters.html:51 views/segments.html:60 -msgid "Current page" -msgstr "" - -#: views/newsletters.html:60 -msgid "Subject" -msgstr "" - -#: views/newsletters.html:62 -msgid "Opened" -msgstr "" - -#: views/newsletters.html:65 -msgid "History" -msgstr "" - -#: views/newsletters.html:66 -msgid "View history" -msgstr "" - -#: views/newsletters.html:67 views/segments.html:33 -msgid "Created on" -msgstr "" - -#: views/newsletters.html:68 views/subscribers/subscribers.html:62 -msgid "Last modified on" -msgstr "" - -#: views/newsletters.html:69 -msgid "1 newsletter was moved to the trash" -msgstr "" - -#: views/newsletters.html:70 -msgid "%$1d newsletters were moved to the trash" -msgstr "" - -#: views/newsletters.html:71 -msgid "1 newsletter was permanently deleted" -msgstr "" - -#: views/newsletters.html:72 -msgid "%$1d newsletters were permanently deleted" -msgstr "" - -#: views/newsletters.html:73 -msgid "1 newsletter has been recovered from the trash" -msgstr "" - -#: views/newsletters.html:74 -msgid "%$1d newsletters have been recovered from the trash" -msgstr "" - -#: views/newsletters.html:78 -msgid "Newsletter \"%$1s\" has been duplicated" -msgstr "" - -#: views/newsletters.html:79 -msgid "Not sent yet" -msgstr "" - -#: views/newsletters.html:80 -msgid "Scheduled for" -msgstr "" - -#: views/newsletters.html:81 -msgid "Schedule it" -msgstr "" - -#: views/newsletters.html:83 -msgid "Not Active" -msgstr "" - -#: views/newsletters.html:84 -msgid "Sent to %$1d of %$2d" -msgstr "" - -#: views/newsletters.html:85 -msgid "Sent to %$1d subscribers" -msgstr "" - -#: views/newsletters.html:86 -msgid "Resume" -msgstr "" - -#: views/newsletters.html:87 -msgid "Pause" -msgstr "" - -#: views/newsletters.html:90 -msgid "This template file appears to be damaged. Please try another one." -msgstr "" - -#: views/newsletters.html:91 -msgid "Import a template" -msgstr "" - -#: views/newsletters.html:92 -msgid "Select a .json file to upload" -msgstr "" - -#: views/newsletters.html:93 -msgid "Upload" -msgstr "" - -#: views/newsletters.html:94 -msgid "MailPoet's Guide" -msgstr "" - -#: views/newsletters.html:95 -msgid "This is the standard template that comes with MailPoet" -msgstr "" - -#: views/newsletters.html:96 -msgid "You are about to delete the template named \"%$1s" -msgstr "" - -#: views/newsletters.html:100 -msgid "Select a template" -msgstr "" - -#: views/newsletters.html:102 -msgid "Draft newsletter" -msgstr "" - -#: views/newsletters.html:103 -msgid "Pick a type of campaign" -msgstr "" - -#: views/newsletters.html:105 -msgid "Send a newsletter with images" -msgstr "" - -#: views/newsletters.html:106 -msgid "Create" -msgstr "" - -#: views/newsletters.html:107 -msgid "Welcome Email" -msgstr "" - -#: views/newsletters.html:108 -msgid "Send an email to new users" -msgstr "" - -#: views/newsletters.html:109 -msgid "Set up" -msgstr "" - -#: views/newsletters.html:111 -msgid "Automatically send posts immediately" -msgstr "" - -#: views/newsletters.html:112 -msgid "Select a frequency" -msgstr "" - -#: views/newsletters.html:113 -msgid "Insert [newsletter:total] to show number of posts" -msgstr "" - -#: views/newsletters.html:114 views/settings/mta.html:629 -msgid "Activate" -msgstr "" - -#: views/newsletters.html:115 -msgid "Send this Welcome Email when..." -msgstr "" - -#: views/newsletters.html:117 -msgid "Once a day at..." -msgstr "" - -#: views/newsletters.html:118 -msgid "Weekly on..." -msgstr "" - -#: views/newsletters.html:119 -msgid "Monthly on the..." -msgstr "" - -#: views/newsletters.html:120 -msgid "Monthly every..." -msgstr "" - -#: views/newsletters.html:121 -msgid "Immediately." -msgstr "" - -#: views/newsletters.html:122 -msgid "Sunday" -msgstr "" - -#: views/newsletters.html:123 -msgid "Monday" -msgstr "" - -#: views/newsletters.html:124 -msgid "Tuesday" -msgstr "" - -#: views/newsletters.html:125 -msgid "Wednesday" -msgstr "" - -#: views/newsletters.html:126 -msgid "Thursday" -msgstr "" - -#: views/newsletters.html:127 -msgid "Friday" -msgstr "" - -#: views/newsletters.html:128 -msgid "Saturday" -msgstr "" - -#: views/newsletters.html:129 -msgid "1st" -msgstr "" - -#: views/newsletters.html:130 -msgid "2nd" -msgstr "" - -#: views/newsletters.html:131 -msgid "3rd" -msgstr "" - -#: views/newsletters.html:132 -msgid "%$1dth" -msgstr "" - -#: views/newsletters.html:133 -msgid "last" -msgstr "" - -#: views/newsletters.html:136 -msgid "When is this Welcome Email sent?" -msgstr "" - -#: views/newsletters.html:138 -msgid "When someone subscribes to the list..." -msgstr "" - -#: views/newsletters.html:139 -msgid "When a new WordPress user is added to your site..." -msgstr "" - -#: views/newsletters.html:140 -msgid "immediately" -msgstr "" - -#: views/newsletters.html:141 -msgid "hour(s" -msgstr "" - -#: views/newsletters.html:142 -msgid "day(s" -msgstr "" - -#: views/newsletters.html:143 -msgid "week(s" -msgstr "" - -#: views/newsletters.html:145 -msgid "Subject line" -msgstr "" - -#: views/newsletters.html:146 -msgid "" -"Be creative! It's the first thing that your subscribers see. Tempt them to " -"open your email." -msgstr "" - -#: views/newsletters.html:147 -msgid "Please specify a subject" -msgstr "" - -#: views/newsletters.html:149 -msgid "Your email newsletter(s" -msgstr "" - -#: views/newsletters.html:150 views/subscribers/subscribers.html:53 -msgid "Select a list" -msgstr "" - -#: views/newsletters.html:152 -msgid "Sender" -msgstr "" - -#: views/newsletters.html:153 -msgid "Your name and email." -msgstr "" - -#: views/newsletters.html:154 views/newsletters.html:158 -msgid "John Doe" -msgstr "" - -#: views/newsletters.html:155 views/newsletters.html:159 -msgid "john.doe@email.com" -msgstr "" - -#: views/newsletters.html:156 views/settings/basics.html:29 -#: views/settings/signup.html:85 -msgid "Reply-to" -msgstr "" - -#: views/newsletters.html:157 -msgid "When your subscribers reply to your newsletter" -msgstr "" - -#: views/newsletters.html:160 -msgid "Newsletter was updated successfully!" -msgstr "" - -#: views/newsletters.html:161 -msgid "Newsletter was added successfully!" -msgstr "" - -#: views/newsletters.html:162 -msgid "" -"An error occurred while trying to send. Please check your " -"settings" -msgstr "" - -#: views/newsletters.html:163 -msgid "Final step: last details" -msgstr "" - -#: views/newsletters.html:164 -msgid "Save as draft and close" -msgstr "" - -#: views/newsletters.html:165 -msgid "or simply" -msgstr "" - -#: views/newsletters.html:166 -msgid "go back to the Design page" -msgstr "" - -#: views/newsletters.html:167 -msgid "Your website’s time is" -msgstr "" - -#: views/newsletters.html:168 -msgid "Please enter the scheduled date" -msgstr "" - -#: views/newsletters.html:169 -msgid "Schedule" -msgstr "" - -#: views/newsletters.html:171 -msgid "Close" -msgstr "" - -#: views/newsletters.html:172 -msgid "Today" -msgstr "" - -#: views/newsletters.html:185 -msgid "Jan" -msgstr "" - -#: views/newsletters.html:186 -msgid "Feb" -msgstr "" - -#: views/newsletters.html:187 -msgid "Mar" -msgstr "" - -#: views/newsletters.html:188 -msgid "Apr" -msgstr "" - -#: views/newsletters.html:190 -msgid "Jun" -msgstr "" - -#: views/newsletters.html:191 -msgid "Jul" -msgstr "" - -#: views/newsletters.html:192 -msgid "Aug" -msgstr "" - -#: views/newsletters.html:193 -msgid "Sep" -msgstr "" - -#: views/newsletters.html:194 -msgid "Oct" -msgstr "" - -#: views/newsletters.html:195 -msgid "Nov" -msgstr "" - -#: views/newsletters.html:196 -msgid "Dec" -msgstr "" - -#: views/newsletters.html:197 -msgid "Sun" -msgstr "" - -#: views/newsletters.html:198 -msgid "Mon" -msgstr "" - -#: views/newsletters.html:199 -msgid "Tue" -msgstr "" - -#: views/newsletters.html:200 -msgid "Wed" -msgstr "" - -#: views/newsletters.html:201 -msgid "Thu" -msgstr "" - -#: views/newsletters.html:202 -msgid "Fri" -msgstr "" - -#: views/newsletters.html:203 -msgid "Sat" -msgstr "" - -#: views/newsletters.html:204 views/newsletters.html:210 -msgid "S" -msgstr "" - -#: views/newsletters.html:205 -msgid "M" -msgstr "" - -#: views/newsletters.html:206 views/newsletters.html:208 -msgid "T" -msgstr "" - -#: views/newsletters.html:207 -msgid "W" -msgstr "" - -#: views/newsletters.html:209 -msgid "F" -msgstr "" - -#: views/newsletters.html:212 -msgid "Previous" -msgstr "" - -#: views/newsletters.html:214 -msgid "Your Welcome Email is now activated!" -msgstr "" - -#: views/newsletters.html:215 -msgid "Your Welcome Email could not be activated" -msgstr "" - -#: views/newsletters.html:216 -msgid "Your post notification is now active!" -msgstr "" - -#: views/newsletters.html:217 -msgid "Your post notification could not be activated" -msgstr "" - -#: views/newsletters.html:219 -msgid "This newsletter is sent when someone subscribes to the list: \"%$1s" -msgstr "" - -#: views/newsletters.html:220 -msgid "This newsletter is sent when a new WordPress user is added to your site" -msgstr "" - -#: views/newsletters.html:221 -msgid "" -"This newsletter is sent when a new WordPress user with the role \"%$1s\" is " -"added to your site" -msgstr "" - -#: views/newsletters.html:222 -msgid "%$1d hour(s" -msgstr "" - -#: views/newsletters.html:223 -msgid "%$1d day(s" -msgstr "" - -#: views/newsletters.html:224 -msgid "%$1d week(s" -msgstr "" - -#: views/newsletters.html:226 -msgid "Send daily at %$1s" -msgstr "" - -#: views/newsletters.html:227 -msgid "Send weekly on %$1s at %$2s" -msgstr "" - -#: views/newsletters.html:228 -msgid "Send monthly on the %$1s at %$2s" -msgstr "" - -#: views/newsletters.html:229 -msgid "Send every %$1s %$2s of the month at %$3s" -msgstr "" - -#: views/newsletters.html:230 -msgid "Send immediately" -msgstr "" - -#: views/newsletters.html:231 -msgid "if there's new content to %$1s." -msgstr "" - -#: views/newsletters.html:232 -msgid "You need to select a list to send to." -msgstr "" - -#: views/newsletters.html:234 -msgid "Back to Post notifications" -msgstr "" - -#: views/newsletters.html:235 -msgid "Sent on" -msgstr "" - -#: views/segments.html:15 -msgid "Loading lists..." -msgstr "" - -#: views/segments.html:16 -msgid "No lists found" -msgstr "" - -#: views/segments.html:17 -msgid "All lists on this page are selected" -msgstr "" - -#: views/segments.html:18 -msgid "All %d lists are selected" -msgstr "" - -#: views/segments.html:19 -msgid "Select all lists on all pages" -msgstr "" - -#: views/segments.html:21 -msgid "%d lists were permanently deleted" -msgstr "" - -#: views/segments.html:26 views/subscribers/importExport/import/step2.html:143 -msgid "Description" -msgstr "" - -#: views/segments.html:27 -msgid "List successfully updated!" -msgstr "" - -#: views/segments.html:28 -msgid "List successfully added!" -msgstr "" - -#: views/segments.html:34 -msgid "1 list was moved to the trash" -msgstr "" - -#: views/segments.html:35 -msgid "%$1d lists were moved to the trash" -msgstr "" - -#: views/segments.html:36 -msgid "1 list was permanently deleted" -msgstr "" - -#: views/segments.html:37 -msgid "%$1d list were permanently deleted" -msgstr "" - -#: views/segments.html:38 -msgid "1 list has been restored from the trash" -msgstr "" - -#: views/segments.html:39 -msgid "%$1d lists have been restored from the trash" -msgstr "" - -#: views/segments.html:41 -msgid "List \"%$1s\" has been duplicated" -msgstr "" - -#: views/segments.html:43 -msgid "Force Sync" -msgstr "" - -#: views/segments.html:44 -msgid "Read More" -msgstr "" - -#: views/segments.html:45 -msgid "List \"%$1s\" has been synchronized" -msgstr "" - -#: views/segments.html:46 -msgid "View Subscribers" -msgstr "" - -#: views/segments.html:53 -msgid "Delete permanently" -msgstr "" - -#: views/segments.html:64 -msgid "This text box is for your own use and is never shown to your subscribers" -msgstr "" - -#: views/settings/advanced.html:7 -msgid "Bounce email address" -msgstr "" - -#: views/settings/advanced.html:10 -msgid "Your bounced emails will be sent to this address" -msgstr "" - -#: views/settings/advanced.html:28 -msgid "Newsletter task scheduler" -msgstr "" - -#: views/settings/advanced.html:31 -msgid "Select what will activate your newsletter queue." -msgstr "" - -#: views/settings/advanced.html:34 views/settings/advanced.html:117 -msgid "Read more." -msgstr "" - -#: views/settings/advanced.html:47 -msgid "Visitors to your website (recommended" -msgstr "" - -#: views/settings/advanced.html:59 -msgid "MailPoet's own script. Doesn't work with [link]these hosts[/link]." -msgstr "" - -#: views/settings/advanced.html:74 -msgid "Open and click tracking" -msgstr "" - -#: views/settings/advanced.html:77 -msgid "Enable or disable open and click tracking." -msgstr "" - -#: views/settings/advanced.html:110 -msgid "Share anonymous data" -msgstr "" - -#: views/settings/advanced.html:113 -msgid "" -"Share anonymous data and help us improve the plugin. We appreciate your " -"help!" -msgstr "" - -#: views/settings/advanced.html:149 -msgid "Reinstall from scratch" -msgstr "" - -#: views/settings/advanced.html:151 -msgid "" -"Want to start from the beginning? This will completely delete MailPoet and " -"reinstall it from scratch. Remember: you will lose all of your data!" -msgstr "" - -#: views/settings/advanced.html:159 -msgid "Reinstall now..." -msgstr "" - -#: views/settings/advanced.html:171 -msgid "" -"Are you sure? All of your MailPoet data will be permanently erased " -"(newsletters" -msgstr "" - -#: views/settings/advanced.html:182 -msgid "MailPoet could not be reinstalled. You may need to remove it manually first." -msgstr "" - -#: views/settings/basics.html:6 -msgid "Default sender" -msgstr "" - -#: views/settings/basics.html:9 -msgid "These email addresses will be selected by default for each new email" -msgstr "" - -#: views/settings/basics.html:15 views/settings/signup.html:59 -msgid "From" -msgstr "" - -#: views/settings/basics.html:20 views/settings/basics.html:34 -#: views/settings/signup.html:69 views/settings/signup.html:95 -msgid "Your name" -msgstr "" - -#: views/settings/basics.html:47 -msgid "Email notifications" -msgstr "" - -#: views/settings/basics.html:50 -msgid "" -"These email addresses will receive notifications (separate each address " -"with a comma" -msgstr "" - -#: views/settings/basics.html:68 -msgid "When someone subscribes" -msgstr "" - -#: views/settings/basics.html:78 -msgid "When someone unsubscribes" -msgstr "" - -#: views/settings/basics.html:88 -msgid "Subscribe in comments" -msgstr "" - -#: views/settings/basics.html:91 -msgid "Visitors that comment on a post can subscribe to your list via a checkbox" -msgstr "" - -#: views/settings/basics.html:120 views/settings/basics.html:184 -msgid "Users will be subscribed to these lists:" -msgstr "" - -#: views/settings/basics.html:126 views/settings/basics.html:190 -msgid "Choose a list" -msgstr "" - -#: views/settings/basics.html:148 -msgid "Subscribe in registration form" -msgstr "" - -#: views/settings/basics.html:151 -msgid "" -"Allow users who register as a WordPress user on your website to subscribe " -"to a MailPoet list (in addition to the \"WordPress Users\" list" -msgstr "" - -#: views/settings/basics.html:206 -msgid "Registration is disabled on this site" -msgstr "" - -#: views/settings/basics.html:215 -msgid "Manage Subscription page" -msgstr "" - -#: views/settings/basics.html:218 -msgid "When your subscribers click the \"Manage your subscription\" link" -msgstr "" - -#: views/settings/basics.html:241 views/settings/basics.html:298 -#: views/settings/signup.html:176 -msgid "Preview page" -msgstr "" - -#: views/settings/basics.html:245 -msgid "Subscribers can choose from these lists:" -msgstr "" - -#: views/settings/basics.html:251 views/settings/basics.html:329 -#: views/settings/basics.html:365 -msgid "Leave this field empty to display all lists" -msgstr "" - -#: views/settings/basics.html:270 -msgid "Unsubscribe page" -msgstr "" - -#: views/settings/basics.html:273 -msgid "When your subscribers click the \"Unsubscribe\" link" -msgstr "" - -#: views/settings/basics.html:275 -msgid "" -"Use this shortcode on your website\\'s WordPress pages: [mailpoet_manage " -"text=\"Manage your subscription\"]" -msgstr "" - -#: views/settings/basics.html:307 -msgid "Archive page shortcode" -msgstr "" - -#: views/settings/basics.html:310 -msgid "Paste this shortcode on a page to display a list of past newsletters" -msgstr "" - -#: views/settings/basics.html:343 -msgid "Shortcode to Display Total Number of Subscribers" -msgstr "" - -#: views/settings/basics.html:346 -msgid "" -"Paste this shortcode on a post or page to display the total number of " -"confirmed subscribers" -msgstr "" - -#: views/settings/bounce.html:1 -msgid "How Does This Work?" -msgstr "" - -#: views/settings/bounce.html:4 -msgid "Create an email account dedicated solely to handling bounced emails." -msgstr "" - -#: views/settings/bounce.html:7 -msgid "Fill out the form below so that we can connect to it." -msgstr "" - -#: views/settings/bounce.html:10 -msgid "Sit back" -msgstr "" - -#: views/settings/bounce.html:16 -msgid "Need help? Check out %1$sour guide%2$s on how to fill out this form." -msgstr "" - -#: views/settings/bounce.html:32 -msgid "Hostname" -msgstr "" - -#: views/settings/bounce.html:50 views/settings/mta.html:487 -msgid "Login" -msgstr "" - -#: views/settings/bounce.html:67 views/settings/mta.html:504 -msgid "Password" -msgstr "" - -#: views/settings/bounce.html:84 -msgid "Connection method" -msgstr "" - -#: views/settings/bounce.html:110 -msgid "POP3 without IMAP extension" -msgstr "" - -#: views/settings/bounce.html:125 -msgid "Port" -msgstr "" - -#: views/settings/bounce.html:143 -msgid "Secure connection" -msgstr "" - -#: views/settings/bounce.html:167 -msgid "Self-signed certificate" -msgstr "" - -#: views/settings/bounce.html:198 -msgid "Activate bounce and check every..." -msgstr "" - -#: views/settings/bounce.html:222 -msgid "15 minutes" -msgstr "" - -#: views/settings/bounce.html:228 -msgid "30 minutes" -msgstr "" - -#: views/settings/bounce.html:234 -msgid "1 hour" -msgstr "" - -#: views/settings/bounce.html:240 -msgid "2 hours" -msgstr "" - -#: views/settings/bounce.html:246 -msgid "Twice daily" -msgstr "" - -#: views/settings/bounce.html:266 -msgid "Is it working? Try to connect" -msgstr "" - -#: views/settings/mta.html:58 -msgid "Currently in Closed Beta" -msgstr "" - -#: views/settings/mta.html:60 -msgid "" -"[link]Sign up to our newsletter[/link] to get our latest news on our " -"sending service plus other useful tips and tricks." -msgstr "" - -#: views/settings/mta.html:70 views/settings/mta.html:92 -#: views/settings/mta.html:114 -msgid "Activated" -msgstr "" - -#: views/settings/mta.html:76 views/settings/mta.html:98 -#: views/settings/mta.html:120 -msgid "Configure" -msgstr "" - -#: views/settings/mta.html:83 -msgid "Your web host / web server" -msgstr "" - -#: views/settings/mta.html:86 -msgid "Free" -msgstr "" - -#: views/settings/mta.html:88 -msgid "" -"Web hosts generally have a bad reputation as a sender. Your newsletter will " -"probably be considered spam" -msgstr "" - -#: views/settings/mta.html:105 -msgid "Third-party" -msgstr "" - -#: views/settings/mta.html:108 -msgid "Currently the best solution" -msgstr "" - -#: views/settings/mta.html:110 -msgid "Send with an external email provider. This is usually not free" -msgstr "" - -#: views/settings/mta.html:132 -msgid "Already have a key?" -msgstr "" - -#: views/settings/mta.html:138 -msgid "Your key" -msgstr "" - -#: views/settings/mta.html:165 views/settings/mta.html:298 -msgid "Sending frequency" -msgstr "" - -#: views/settings/mta.html:176 -msgid "Safe default values" -msgstr "" - -#: views/settings/mta.html:184 -msgid "I'll set my own frequency" -msgstr "" - -#: views/settings/mta.html:189 -msgid "Input your host's recommended sending frequency" -msgstr "" - -#: views/settings/mta.html:222 views/settings/mta.html:315 -msgid "emails" -msgstr "" - -#: views/settings/mta.html:239 views/settings/mta.html:332 -msgid "recommended" -msgstr "" - -#: views/settings/mta.html:248 -msgid "" -"Warning! Sending more than the recommended amount of " -"emails? You may break the terms of your web host or provider!" -msgstr "" - -#: views/settings/mta.html:250 -msgid "" -"Please ask your host for the maximum number of emails you are allowed to " -"send per day" -msgstr "" - -#: views/settings/mta.html:266 -msgid "Provider" -msgstr "" - -#: views/settings/mta.html:276 -msgid "Custom SMTP" -msgstr "" - -#: views/settings/mta.html:279 -msgid "Select your provider" -msgstr "" - -#: views/settings/mta.html:345 -msgid "SMTP Hostname" -msgstr "" - -#: views/settings/mta.html:348 views/settings/mta.html:452 -msgid "e.g.:smtp.mydomain.com" -msgstr "" - -#: views/settings/mta.html:364 -msgid "SMTP Port" -msgstr "" - -#: views/settings/mta.html:385 -msgid "Region" -msgstr "" - -#: views/settings/mta.html:407 -msgid "Access Key" -msgstr "" - -#: views/settings/mta.html:428 -msgid "Secret Key" -msgstr "" - -#: views/settings/mta.html:449 -msgid "Domain" -msgstr "" - -#: views/settings/mta.html:469 -msgid "API Key" -msgstr "" - -#: views/settings/mta.html:521 -msgid "Secure Connection" -msgstr "" - -#: views/settings/mta.html:546 -msgid "Authentication" -msgstr "" - -#: views/settings/mta.html:549 -msgid "" -"Leave this option set to Yes. Only a tiny portion of SMTP services prefer " -"Authentication to be turned off" -msgstr "" - -#: views/settings/mta.html:588 -msgid "SPF Signature (Highly recommended!" -msgstr "" - -#: views/settings/mta.html:591 -msgid "" -"Improves your delivery rate by verifying that you're allowed to send emails " -"from your domain" -msgstr "" - -#: views/settings/mta.html:596 -msgid "" -"SPF is set up in your DNS. Read your host's support documentation for more " -"information" -msgstr "" - -#: views/settings/mta.html:604 -msgid "Test the sending method" -msgstr "" - -#: views/settings/mta.html:618 -msgid "Send a test email" -msgstr "" - -#: views/settings/mta.html:634 -msgid "or Cancel" -msgstr "" - -#: views/settings/mta.html:691 -msgid "This is a Sending Method Test" -msgstr "" - -#: views/settings/mta.html:693 -msgid "Yup" -msgstr "" - -#: views/settings/mta.html:706 -msgid "The email has been sent! Check your inbox." -msgstr "" - -#: views/settings/mta.html:712 -msgid "The email could not be sent: " -msgstr "" - -#: views/settings/mta.html:719 -msgid "The email could not be sent. Please contact your host to fix this issue." -msgstr "" - -#: views/settings/mta.html:724 -msgid "The email could not be sent. Please check your settings." -msgstr "" - -#: views/settings/mta.html:764 -msgid "You have selected an invalid sending method." -msgstr "" - -#: views/settings/mta.html:772 -msgid "You need to specify a MailPoet account key" -msgstr "" - -#: views/settings/signup.html:7 -msgid "Enable signup confirmation" -msgstr "" - -#: views/settings/signup.html:10 -msgid "If you enable this option" -msgstr "" - -#: views/settings/signup.html:11 -msgid "Read more about Double Opt-in confirmation." -msgstr "" - -#: views/settings/signup.html:19 -msgid "Signup confirmation is mandatory when using the MailPoet Sending Service." -msgstr "" - -#: views/settings/signup.html:111 -msgid "Email subject" -msgstr "" - -#: views/settings/signup.html:130 -msgid "Email content" -msgstr "" - -#: views/settings/signup.html:133 -msgid "" -"Don't forget to include:

[activation_link]Confirm your " -"subscription.[/activation_link].

Optional: [lists_to_confirm]." -msgstr "" - -#: views/settings/signup.html:151 -msgid "Confirmation page" -msgstr "" - -#: views/settings/signup.html:154 -msgid "When subscribers click on the activation link" -msgstr "" - -#: views/settings/signup.html:195 -msgid "" -"Subscribers will need to activate their subscription via email in order to " -"receive your newsletters. This is highly recommended!" -msgstr "" - -#: views/settings/signup.html:197 -msgid "" -"Unconfirmed subscribers will receive your newsletters from without needing " -"to activate their subscriptions. This is not recommended!" -msgstr "" - -#: views/settings/templates/sending_frequency.hbs:4 -msgid "%1$s emails" -msgstr "" - -#: views/settings/templates/sending_frequency.hbs:11 -msgid "That's %1$s emails per day" -msgstr "" - -#: views/settings/templates/sending_frequency.hbs:20 -msgid "" -"That's %1$s emails per second. We highly recommend to send 1 email " -"per second" -msgstr "" - -#: views/settings.html:18 -msgid "Basics" -msgstr "" - -#: views/settings.html:19 -msgid "Signup Confirmation" -msgstr "" - -#: views/settings.html:20 -msgid "Send With..." -msgstr "" - -#: views/settings.html:21 -msgid "Advanced" -msgstr "" - -#: views/settings.html:83 -msgid "Settings saved" -msgstr "" - -#: views/settings.html:88 -msgid "Settings could not be saved" -msgstr "" - -#: views/settings.html:95 -msgid "An error occurred. Please check the settings." -msgstr "" - -#: views/subscribers/importExport/export.html:7 -#: views/subscribers/importExport/import.html:8 -msgid "Back to Subscribers" -msgstr "" - -#: views/subscribers/importExport/export.html:11 -msgid "Yikes! Couldn't find any subscribers" -msgstr "" - -#: views/subscribers/importExport/export.html:27 -msgid "Export confirmed subscribers only" -msgstr "" - -#: views/subscribers/importExport/export.html:48 -msgid "Pick a list" -msgstr "" - -#: views/subscribers/importExport/export.html:59 -msgid "List of fields to export" -msgstr "" - -#: views/subscribers/importExport/export.html:69 -msgid "Group subscribers by list" -msgstr "" - -#: views/subscribers/importExport/export.html:78 -msgid "Format" -msgstr "" - -#: views/subscribers/importExport/export.html:84 -msgid "CSV file" -msgstr "" - -#: views/subscribers/importExport/export.html:89 -msgid "Excel file" -msgstr "" - -#: views/subscribers/importExport/export.html:124 -#: views/subscribers/importExport/import.html:36 -msgid "Server error:" -msgstr "" - -#: views/subscribers/importExport/export.html:125 -msgid "%1$s subscribers were exported. Get the exported file [link]here[/link]." -msgstr "" - -#: views/subscribers/importExport/import/step1.html:8 -msgid "How would you like to import subscribers?" -msgstr "" - -#: views/subscribers/importExport/import/step1.html:13 -msgid "Paste the data into a text box" -msgstr "" - -#: views/subscribers/importExport/import/step1.html:15 -#: views/subscribers/importExport/import/step1.html:55 -msgid "Upload a file" -msgstr "" - -#: views/subscribers/importExport/import/step1.html:17 -msgid "Import from MailChimp" -msgstr "" - -#: views/subscribers/importExport/import/step1.html:31 -msgid "Copy and paste your subscribers from Excel/Spreadsheets" -msgstr "" - -#: views/subscribers/importExport/import/step1.html:79 -msgid "Enter you MailChimp API key" -msgstr "" - -#: views/subscribers/importExport/import/step1.html:84 -msgid "Verify" -msgstr "" - -#: views/subscribers/importExport/import/step1.html:116 -msgid "[link]Read more on support.mailpoet.com[/link]" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:8 -msgid "Show more details." -msgstr "" - -#: views/subscribers/importExport/import/step2.html:36 -msgid "Pick one or more list(s" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:37 -msgid "Pick the list that you want to import these subscribers to." -msgstr "" - -#: views/subscribers/importExport/import/step2.html:42 -msgid "Create a new list" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:48 -msgid "To add subscribers to a mailing segment" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:60 -msgid "Update existing subscribers' information" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:77 -msgid "Previous step" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:80 -msgid "Next step" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:90 -msgid "Match data" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:163 -msgid "Field type" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:187 -msgid "Please select a type" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:191 -msgid "Field name" -msgstr "" - -#: views/subscribers/importExport/import/step2.html:198 -msgid "This name is already taken" -msgstr "" - -#: views/subscribers/importExport/import/step3.html:11 -msgid "Import again" -msgstr "" - -#: views/subscribers/importExport/import/step3.html:14 -msgid "View subscribers" -msgstr "" - -#: views/subscribers/importExport/import/step3.html:28 -msgid "No new subscribers were found/added" -msgstr "" - -#: views/subscribers/importExport/import/step3.html:31 -msgid "Note: Imported subscribers will not receive any Welcome Emails" -msgstr "" - -#: views/subscribers/importExport/import.html:1 -msgid "This file needs to be formatted in a CSV style (comma-separated-values." -msgstr "" - -#: views/subscribers/importExport/import.html:35 -msgid "No active lists found" -msgstr "" - -#: views/subscribers/importExport/import.html:39 -msgid "Only comma-separated (CSV" -msgstr "" - -#: views/subscribers/importExport/import.html:40 -msgid "" -"Your CSV is over %s and is too big to process. Please split the file into " -"two or more sections." -msgstr "" - -#: views/subscribers/importExport/import.html:41 -msgid "" -"Your data could not be processed. Please make sure it is in the correct " -"format." -msgstr "" - -#: views/subscribers/importExport/import.html:42 -msgid "" -"No valid records were found. This file needs to be formatted in a CSV style " -"(comma-separated." -msgstr "" - -#: views/subscribers/importExport/import.html:43 -msgid "%1$s records had issues and were skipped" -msgstr "" - -#: views/subscribers/importExport/import.html:44 -msgid "%1$s emails are not valid : %2$s" -msgstr "" - -#: views/subscribers/importExport/import.html:45 -msgid "%1$s emails appear more than once in your file : %2$s" -msgstr "" - -#: views/subscribers/importExport/import.html:46 -msgid "Hide details" -msgstr "" - -#: views/subscribers/importExport/import.html:49 -#: views/subscribers/importExport/import.html:50 -msgid "Add new list" -msgstr "" - -#: views/subscribers/importExport/import.html:52 -msgid "The selected value is already matched to another field" -msgstr "" - -#: views/subscribers/importExport/import.html:53 -msgid "Confirm that this field corresponds to the selected field" -msgstr "" - -#: views/subscribers/importExport/import.html:54 -msgid "One of the fields contains an invalid email. Please fix it before continuing" -msgstr "" - -#: views/subscribers/importExport/import.html:67 -msgid "" -"Do not match as a 'date field' if most of the rows for that field return " -"the same error" -msgstr "" - -#: views/subscribers/importExport/import.html:68 -msgid "Date cannot be empty" -msgstr "" - -#: views/subscribers/importExport/import.html:69 -msgid "Verify that the date in blue matches the original date" -msgstr "" - -#: views/subscribers/importExport/import.html:70 -msgid "PM" -msgstr "" - -#: views/subscribers/importExport/import.html:71 -msgid "AM" -msgstr "" - -#: views/subscribers/importExport/import.html:72 -msgid "Error matching date" -msgstr "" - -#: views/subscribers/importExport/import.html:73 -msgid "One of the fields contains an invalid date. Please fix it before continuing" -msgstr "" - -#: views/subscribers/importExport/import.html:74 -msgid "Error adding a new list:" -msgstr "" - -#: views/subscribers/importExport/import.html:75 -msgid "One of the fields contains an invalid email. Please fix before continuing" -msgstr "" - -#: views/subscribers/importExport/import.html:76 -msgid "Custom field could not be created" -msgstr "" - -#: views/subscribers/importExport/import.html:77 -msgid "%1$s subscribers added to %2$s." -msgstr "" - -#: views/subscribers/importExport/import.html:78 -msgid "%1$s existing subscribers were updated and added to %2$s" -msgstr "" - -#: views/subscribers/subscribers.html:19 -msgid "Loading subscribers..." -msgstr "" - -#: views/subscribers/subscribers.html:20 -msgid "No subscribers were found" -msgstr "" - -#: views/subscribers/subscribers.html:21 -msgid "All subscribers on this page are selected" -msgstr "" - -#: views/subscribers/subscribers.html:22 -msgid "All %d subscribers are selected" -msgstr "" - -#: views/subscribers/subscribers.html:23 -msgid "Select all subscribers on all pages" -msgstr "" - -#: views/subscribers/subscribers.html:25 -msgid "%d subscribers were permanently deleted" -msgstr "" - -#: views/subscribers/subscribers.html:46 -msgid "E-mail" -msgstr "" - -#: views/subscribers/subscribers.html:47 -msgid "Firstname" -msgstr "" - -#: views/subscribers/subscribers.html:48 -msgid "Lastname" -msgstr "" - -#: views/subscribers/subscribers.html:54 -msgid "Unsubscribed on %$1s" -msgstr "" - -#: views/subscribers/subscribers.html:55 -msgid "Subscriber was updated successfully!" -msgstr "" - -#: views/subscribers/subscribers.html:56 -msgid "Subscriber was added successfully!" -msgstr "" - -#: views/subscribers/subscribers.html:61 -msgid "Subscribed on" -msgstr "" - -#: views/subscribers/subscribers.html:63 -msgid "1 subscriber was moved to the trash" -msgstr "" - -#: views/subscribers/subscribers.html:64 -msgid "%$1d subscribers were moved to the trash" -msgstr "" - -#: views/subscribers/subscribers.html:65 -msgid "1 subscriber was permanently deleted" -msgstr "" - -#: views/subscribers/subscribers.html:66 -msgid "%$1d subscribers were permanently deleted" -msgstr "" - -#: views/subscribers/subscribers.html:67 -msgid "1 subscriber has been restored from the trash" -msgstr "" - -#: views/subscribers/subscribers.html:68 -msgid "%$1d subscribers have been restored from the trash" -msgstr "" - -#: views/subscribers/subscribers.html:69 -msgid "Move to list..." -msgstr "" - -#: views/subscribers/subscribers.html:70 -msgid "%$1d subscribers were moved to list %$2s" -msgstr "" - -#: views/subscribers/subscribers.html:71 -msgid "Add to list..." -msgstr "" - -#: views/subscribers/subscribers.html:72 -msgid "%$1d subscribers were added to list %$2s" -msgstr "" - -#: views/subscribers/subscribers.html:73 -msgid "Remove from list..." -msgstr "" - -#: views/subscribers/subscribers.html:74 -msgid "%$1d subscribers were removed from list %$2s" -msgstr "" - -#: views/subscribers/subscribers.html:75 -msgid "Remove from all lists" -msgstr "" - -#: views/subscribers/subscribers.html:76 -msgid "%$1d subscribers were removed from all lists" -msgstr "" - -#: views/subscribers/subscribers.html:77 -msgid "Resend confirmation email" -msgstr "" - -#: views/subscribers/subscribers.html:78 -msgid "%$1d confirmation emails have been sent" -msgstr "" - -#: views/subscribers/subscribers.html:79 -msgid "Lists to which the subscriber was subscribed" -msgstr "" - -#: views/subscribers/subscribers.html:81 -msgid "" -"This subscriber is a registered WordPress user. [link]Edit his " -"profile[/link] to change his/her email." -msgstr "" - -#: views/subscribers/subscribers.html:82 -msgid "Tip:" -msgstr "" - -#: views/subscribers/subscribers.html:83 -msgid "Need to add new fields" -msgstr "" - -#: views/update.html:5 -msgid "What's new?" -msgstr "" - -#: views/welcome.html:80 -msgid "Welcome to MailPoet" -msgstr "" - -#: views/welcome.html:80 -msgid "BETA" -msgstr "" - -#: lib/Config/Menu.php:60 -msgctxt "newsletters per page (screen options)" -msgid "Number of newsletters per page" -msgstr "" - -#: lib/Config/Menu.php:79 -msgctxt "forms per page (screen options)" -msgid "Number of forms per page" -msgstr "" - -#: lib/Config/Menu.php:98 -msgctxt "subscribers per page (screen options)" -msgid "Number of subscribers per page" -msgstr "" - -#: lib/Config/Menu.php:118 -msgctxt "segments per page (screen options)" -msgid "Number of segments per page" -msgstr "" \ No newline at end of file diff --git a/lib/API/API.php b/lib/API/API.php index 741da9d1aa..a0d30faa52 100644 --- a/lib/API/API.php +++ b/lib/API/API.php @@ -30,7 +30,7 @@ class API { if($this->checkToken() === false) { $error_response = new ErrorResponse( array( - Error::UNAUTHORIZED => __('You need to specify a valid API token.') + Error::UNAUTHORIZED => __('You need to specify a valid API token.', 'mailpoet') ), array(), Response::STATUS_UNAUTHORIZED @@ -41,7 +41,7 @@ class API { if($this->checkPermissions() === false) { $error_response = new ErrorResponse( array( - Error::FORBIDDEN => __('You do not have the required permissions.') + Error::FORBIDDEN => __('You do not have the required permissions.', 'mailpoet') ), array(), Response::STATUS_FORBIDDEN @@ -56,7 +56,7 @@ class API { if($this->checkToken() === false) { $error_response = new ErrorResponse( array( - Error::UNAUTHORIZED => __('You need to specify a valid API token.') + Error::UNAUTHORIZED => __('You need to specify a valid API token.', 'mailpoet') ), array(), Response::STATUS_UNAUTHORIZED diff --git a/lib/API/Endpoint.php b/lib/API/Endpoint.php index 874514f6ea..a1196f53ca 100644 --- a/lib/API/Endpoint.php +++ b/lib/API/Endpoint.php @@ -16,7 +16,7 @@ abstract class Endpoint { ) { if(empty($errors)) { $errors = array( - Error::UNKNOWN => __('An unknown error occurred.') + Error::UNKNOWN => __('An unknown error occurred.', 'mailpoet') ); } return new ErrorResponse($errors, $meta, $status); @@ -25,7 +25,7 @@ abstract class Endpoint { function badRequest($errors = array(), $meta = array()) { if(empty($errors)) { $errors = array( - Error::BAD_REQUEST => __('Invalid request parameters.') + Error::BAD_REQUEST => __('Invalid request parameters.', 'mailpoet') ); } return new ErrorResponse($errors, $meta, Response::STATUS_BAD_REQUEST); diff --git a/lib/API/Endpoints/CustomFields.php b/lib/API/Endpoints/CustomFields.php index 6fd6c14dfc..72ca32deff 100644 --- a/lib/API/Endpoints/CustomFields.php +++ b/lib/API/Endpoints/CustomFields.php @@ -21,7 +21,7 @@ class CustomFields extends APIEndpoint { $custom_field = CustomField::findOne($id); if($custom_field === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This custom field does not exist.') + APIError::NOT_FOUND => __('This custom field does not exist.', 'mailpoet') )); } else { $custom_field->delete(); @@ -48,7 +48,7 @@ class CustomFields extends APIEndpoint { $custom_field = CustomField::findOne($id); if($custom_field === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This custom field does not exist.') + APIError::NOT_FOUND => __('This custom field does not exist.', 'mailpoet') )); } else { return $this->successResponse($custom_field->asArray()); diff --git a/lib/API/Endpoints/Forms.php b/lib/API/Endpoints/Forms.php index 24f0835f3b..74c53044bf 100644 --- a/lib/API/Endpoints/Forms.php +++ b/lib/API/Endpoints/Forms.php @@ -17,7 +17,7 @@ class Forms extends APIEndpoint { $form = Form::findOne($id); if($form === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This form does not exist.') + APIError::NOT_FOUND => __('This form does not exist.', 'mailpoet') )); } else { return $this->successResponse($form->asArray()); @@ -57,31 +57,31 @@ class Forms extends APIEndpoint { function create() { // create new form $form_data = array( - 'name' => __('New form'), + 'name' => __('New form', 'mailpoet'), 'body' => array( array( 'id' => 'email', - 'name' => __('Email'), + 'name' => __('Email', 'mailpoet'), 'type' => 'text', 'static' => true, 'params' => array( - 'label' => __('Email'), + 'label' => __('Email', 'mailpoet'), 'required' => true ) ), array( 'id' => 'submit', - 'name' => __('Submit'), + 'name' => __('Submit', 'mailpoet'), 'type' => 'submit', 'static' => true, 'params' => array( - 'label' => __('Subscribe!') + 'label' => __('Subscribe!', 'mailpoet') ) ) ), 'settings' => array( 'on_success' => 'message', - 'success_message' => __('Check your inbox or spam folder to confirm your subscription.'), + 'success_message' => __('Check your inbox or spam folder to confirm your subscription.', 'mailpoet'), 'segments' => null, 'segments_selected_by' => 'admin' ) @@ -124,7 +124,7 @@ class Forms extends APIEndpoint { $form = Form::findOne($id); if($form === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This form does not exist.') + APIError::NOT_FOUND => __('This form does not exist.', 'mailpoet') )); } else { $exports = Util\Export::getAll($form->asArray()); @@ -136,7 +136,7 @@ class Forms extends APIEndpoint { $id = (isset($data['id']) ? (int)$data['id'] : false); $form_id = (isset($data['id']) ? (int)$data['id'] : 0); - $name = (isset($data['name']) ? $data['name'] : __('New form')); + $name = (isset($data['name']) ? $data['name'] : __('New form', 'mailpoet')); $body = (isset($data['body']) ? $data['body'] : array()); $settings = (isset($data['settings']) ? $data['settings'] : array()); $styles = (isset($data['styles']) ? $data['styles'] : ''); @@ -206,7 +206,7 @@ class Forms extends APIEndpoint { $form = Form::findOne($id); if($form === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This form does not exist.') + APIError::NOT_FOUND => __('This form does not exist.', 'mailpoet') )); } else { $form->restore(); @@ -222,7 +222,7 @@ class Forms extends APIEndpoint { $form = Form::findOne($id); if($form === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This form does not exist.') + APIError::NOT_FOUND => __('This form does not exist.', 'mailpoet') )); } else { $form->trash(); @@ -238,7 +238,7 @@ class Forms extends APIEndpoint { $form = Form::findOne($id); if($form === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This form does not exist.') + APIError::NOT_FOUND => __('This form does not exist.', 'mailpoet') )); } else { $form->delete(); @@ -252,11 +252,11 @@ class Forms extends APIEndpoint { if($form === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This form does not exist.') + APIError::NOT_FOUND => __('This form does not exist.', 'mailpoet') )); } else { $data = array( - 'name' => sprintf(__('Copy of %s'), $form->name) + 'name' => sprintf(__('Copy of %s', 'mailpoet'), $form->name) ); $duplicate = $form->duplicate($data); $errors = $duplicate->getErrors(); diff --git a/lib/API/Endpoints/Mailer.php b/lib/API/Endpoints/Mailer.php index 2b71688c05..a920a4e4f2 100644 --- a/lib/API/Endpoints/Mailer.php +++ b/lib/API/Endpoints/Mailer.php @@ -22,7 +22,7 @@ class Mailer extends APIEndpoint { if($result === false) { return $this->errorResponse(array( - APIError::BAD_REQUEST => __("The email could not be sent. Please check your settings.") + APIError::BAD_REQUEST => __("The email could not be sent. Please check your settings.", 'mailpoet') )); } else { return $this->successResponse(null); diff --git a/lib/API/Endpoints/NewsletterTemplates.php b/lib/API/Endpoints/NewsletterTemplates.php index ec9b1faa83..556eea3328 100644 --- a/lib/API/Endpoints/NewsletterTemplates.php +++ b/lib/API/Endpoints/NewsletterTemplates.php @@ -13,7 +13,7 @@ class NewsletterTemplates extends APIEndpoint { $template = NewsletterTemplate::findOne($id); if($template === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This template does not exist.') + APIError::NOT_FOUND => __('This template does not exist.', 'mailpoet') )); } else { return $this->successResponse( @@ -49,7 +49,7 @@ class NewsletterTemplates extends APIEndpoint { $template = NewsletterTemplate::findOne($id); if($template === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This template does not exist.') + APIError::NOT_FOUND => __('This template does not exist.', 'mailpoet') )); } else { $template->delete(); diff --git a/lib/API/Endpoints/Newsletters.php b/lib/API/Endpoints/Newsletters.php index c9bf6af1d1..1aa234a146 100644 --- a/lib/API/Endpoints/Newsletters.php +++ b/lib/API/Endpoints/Newsletters.php @@ -27,7 +27,7 @@ class Newsletters extends APIEndpoint { $newsletter = Newsletter::findOne($id); if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } else { return $this->successResponse( @@ -101,7 +101,7 @@ class Newsletters extends APIEndpoint { if(!$status) { return $this->badRequest(array( - APIError::BAD_REQUEST => __('You need to specify a status.') + APIError::BAD_REQUEST => __('You need to specify a status.', 'mailpoet') )); } @@ -110,7 +110,7 @@ class Newsletters extends APIEndpoint { if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } @@ -131,7 +131,7 @@ class Newsletters extends APIEndpoint { $newsletter = Newsletter::findOne($id); if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } else { $newsletter->restore(); @@ -147,7 +147,7 @@ class Newsletters extends APIEndpoint { $newsletter = Newsletter::findOne($id); if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } else { $newsletter->trash(); @@ -163,7 +163,7 @@ class Newsletters extends APIEndpoint { $newsletter = Newsletter::findOne($id); if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } else { $newsletter->delete(); @@ -177,11 +177,11 @@ class Newsletters extends APIEndpoint { if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } else { $data = array( - 'subject' => sprintf(__('Copy of %s'), $newsletter->subject) + 'subject' => sprintf(__('Copy of %s', 'mailpoet'), $newsletter->subject) ); $duplicate = $newsletter->duplicate($data); $errors = $duplicate->getErrors(); @@ -200,7 +200,7 @@ class Newsletters extends APIEndpoint { function showPreview($data = array()) { if(empty($data['body'])) { return $this->badRequest(array( - APIError::BAD_REQUEST => __('Newsletter data is missing.') + APIError::BAD_REQUEST => __('Newsletter data is missing.', 'mailpoet') )); } @@ -209,7 +209,7 @@ class Newsletters extends APIEndpoint { if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } else { $newsletter->body = $data['body']; @@ -229,7 +229,7 @@ class Newsletters extends APIEndpoint { function sendPreview($data = array()) { if(empty($data['subscriber'])) { return $this->badRequest(array( - APIError::BAD_REQUEST => __('Please specify receiver information.') + APIError::BAD_REQUEST => __('Please specify receiver information.', 'mailpoet') )); } @@ -238,7 +238,7 @@ class Newsletters extends APIEndpoint { if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } else { $newsletter = $newsletter->asArray(); diff --git a/lib/API/Endpoints/Segments.php b/lib/API/Endpoints/Segments.php index 4d655d8946..5e541c85a3 100644 --- a/lib/API/Endpoints/Segments.php +++ b/lib/API/Endpoints/Segments.php @@ -17,7 +17,7 @@ class Segments extends APIEndpoint { $segment = Segment::findOne($id); if($segment === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This list does not exist.') + APIError::NOT_FOUND => __('This list does not exist.', 'mailpoet') )); } else { return $this->successResponse($segment->asArray()); @@ -68,7 +68,7 @@ class Segments extends APIEndpoint { $segment = Segment::findOne($id); if($segment === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This list does not exist.') + APIError::NOT_FOUND => __('This list does not exist.', 'mailpoet') )); } else { $segment->restore(); @@ -84,7 +84,7 @@ class Segments extends APIEndpoint { $segment = Segment::findOne($id); if($segment === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This list does not exist.') + APIError::NOT_FOUND => __('This list does not exist.', 'mailpoet') )); } else { $segment->trash(); @@ -100,7 +100,7 @@ class Segments extends APIEndpoint { $segment = Segment::findOne($id); if($segment === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This list does not exist.') + APIError::NOT_FOUND => __('This list does not exist.', 'mailpoet') )); } else { $segment->delete(); @@ -114,11 +114,11 @@ class Segments extends APIEndpoint { if($segment === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This list does not exist.') + APIError::NOT_FOUND => __('This list does not exist.', 'mailpoet') )); } else { $data = array( - 'name' => sprintf(__('Copy of %s'), $segment->name) + 'name' => sprintf(__('Copy of %s', 'mailpoet'), $segment->name) ); $duplicate = $segment->duplicate($data); $errors = $duplicate->getErrors(); diff --git a/lib/API/Endpoints/SendingQueue.php b/lib/API/Endpoints/SendingQueue.php index ab98374162..6239fc13ef 100644 --- a/lib/API/Endpoints/SendingQueue.php +++ b/lib/API/Endpoints/SendingQueue.php @@ -29,7 +29,7 @@ class SendingQueue extends APIEndpoint { if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } @@ -49,7 +49,7 @@ class SendingQueue extends APIEndpoint { if(!empty($queue)) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter is already being sent.') + APIError::NOT_FOUND => __('This newsletter is already being sent.', 'mailpoet') )); } @@ -83,7 +83,7 @@ class SendingQueue extends APIEndpoint { $subscribers = array_unique($subscribers); if(!count($subscribers)) { return $this->errorResponse(array( - APIError::UNKNOWN => __('There are no subscribers in that list!') + APIError::UNKNOWN => __('There are no subscribers in that list!', 'mailpoet') )); } $queue->status = null; @@ -119,14 +119,14 @@ class SendingQueue extends APIEndpoint { if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } else { $queue = $newsletter->getQueue(); if($queue === false) { return $this->errorResponse(array( - APIError::UNKNOWN => __('This newsletter has not been sent yet.') + APIError::UNKNOWN => __('This newsletter has not been sent yet.', 'mailpoet') )); } else { $queue->pause(); @@ -145,14 +145,14 @@ class SendingQueue extends APIEndpoint { $newsletter = Newsletter::findOne($newsletter_id); if($newsletter === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This newsletter does not exist.') + APIError::NOT_FOUND => __('This newsletter does not exist.', 'mailpoet') )); } else { $queue = $newsletter->getQueue(); if($queue === false) { return $this->errorResponse(array( - APIError::UNKNOWN => __('This newsletter has not been sent yet.') + APIError::UNKNOWN => __('This newsletter has not been sent yet.', 'mailpoet') )); } else { $queue->resume(); diff --git a/lib/API/Endpoints/Settings.php b/lib/API/Endpoints/Settings.php index 582819e644..46a6a635db 100644 --- a/lib/API/Endpoints/Settings.php +++ b/lib/API/Endpoints/Settings.php @@ -15,7 +15,7 @@ class Settings extends APIEndpoint { if(empty($settings)) { return $this->badRequest(array( APIError::BAD_REQUEST => - __("You have not specified any settings to be saved.") + __("You have not specified any settings to be saved.", 'mailpoet') )); } else { foreach($settings as $name => $value) { diff --git a/lib/API/Endpoints/Subscribers.php b/lib/API/Endpoints/Subscribers.php index dcd44bc077..e205cc4a89 100644 --- a/lib/API/Endpoints/Subscribers.php +++ b/lib/API/Endpoints/Subscribers.php @@ -20,7 +20,7 @@ class Subscribers extends APIEndpoint { $subscriber = Subscriber::findOne($id); if($subscriber === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This subscriber does not exist.') + APIError::NOT_FOUND => __('This subscriber does not exist.', 'mailpoet') )); } else { return $this->successResponse( @@ -67,7 +67,7 @@ class Subscribers extends APIEndpoint { if(empty($segment_ids)) { return $this->badRequest(array( - APIError::BAD_REQUEST => __('Please select a list') + APIError::BAD_REQUEST => __('Please select a list', 'mailpoet') )); } @@ -118,7 +118,7 @@ class Subscribers extends APIEndpoint { $subscriber = Subscriber::findOne($id); if($subscriber === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This subscriber does not exist.') + APIError::NOT_FOUND => __('This subscriber does not exist.', 'mailpoet') )); } else { $subscriber->restore(); @@ -134,7 +134,7 @@ class Subscribers extends APIEndpoint { $subscriber = Subscriber::findOne($id); if($subscriber === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This subscriber does not exist.') + APIError::NOT_FOUND => __('This subscriber does not exist.', 'mailpoet') )); } else { $subscriber->trash(); @@ -150,7 +150,7 @@ class Subscribers extends APIEndpoint { $subscriber = Subscriber::findOne($id); if($subscriber === false) { return $this->errorResponse(array( - APIError::NOT_FOUND => __('This subscriber does not exist.') + APIError::NOT_FOUND => __('This subscriber does not exist.', 'mailpoet') )); } else { $subscriber->delete(); diff --git a/lib/Config/Hooks.php b/lib/Config/Hooks.php index daf09043be..d6ddeaa889 100644 --- a/lib/Config/Hooks.php +++ b/lib/Config/Hooks.php @@ -148,7 +148,7 @@ class Hooks { function appendImageSize($sizes) { return array_merge($sizes, array( - 'mailpoet_newsletter_max' => __('MailPoet Newsletter') + 'mailpoet_newsletter_max' => __('MailPoet Newsletter', 'mailpoet') )); } diff --git a/lib/Config/Localizer.php b/lib/Config/Localizer.php index 2ae3a75ea0..b66484e7e4 100644 --- a/lib/Config/Localizer.php +++ b/lib/Config/Localizer.php @@ -25,8 +25,6 @@ class Localizer { $language_path = Env::$languages_path . '/' - . Env::$plugin_name - . '-' . $this->locale() . '.mo'; load_textdomain(Env::$plugin_name, $language_path); diff --git a/lib/Config/Menu.php b/lib/Config/Menu.php index f2dc0164ed..7ba53a9a7e 100644 --- a/lib/Config/Menu.php +++ b/lib/Config/Menu.php @@ -59,8 +59,8 @@ class Menu { $newsletters_page = add_submenu_page( $main_page_slug, - $this->setPageTitle(__('Newsletters')), - __('Newsletters'), + $this->setPageTitle(__('Newsletters', 'mailpoet')), + __('Newsletters', 'mailpoet'), 'manage_options', $main_page_slug, array($this, 'newsletters') @@ -79,8 +79,8 @@ class Menu { $forms_page = add_submenu_page( $main_page_slug, - $this->setPageTitle(__('Forms')), - __('Forms'), + $this->setPageTitle(__('Forms', 'mailpoet')), + __('Forms', 'mailpoet'), 'manage_options', 'mailpoet-forms', array($this, 'forms') @@ -98,8 +98,8 @@ class Menu { $subscribers_page = add_submenu_page( $main_page_slug, - $this->setPageTitle(__('Subscribers')), - __('Subscribers'), + $this->setPageTitle(__('Subscribers', 'mailpoet')), + __('Subscribers', 'mailpoet'), 'manage_options', 'mailpoet-subscribers', array($this, 'subscribers') @@ -117,8 +117,8 @@ class Menu { $segments_page = add_submenu_page( $main_page_slug, - $this->setPageTitle(__('Lists')), - __('Lists'), + $this->setPageTitle(__('Lists', 'mailpoet')), + __('Lists', 'mailpoet'), 'manage_options', 'mailpoet-segments', array($this, 'segments') @@ -137,16 +137,16 @@ class Menu { add_submenu_page( $main_page_slug, - $this->setPageTitle( __('Settings')), - __('Settings'), + $this->setPageTitle( __('Settings', 'mailpoet')), + __('Settings', 'mailpoet'), 'manage_options', 'mailpoet-settings', array($this, 'settings') ); add_submenu_page( 'admin.php?page=mailpoet-subscribers', - $this->setPageTitle( __('Import')), - __('Import'), + $this->setPageTitle( __('Import', 'mailpoet')), + __('Import', 'mailpoet'), 'manage_options', 'mailpoet-import', array($this, 'import') @@ -154,8 +154,8 @@ class Menu { add_submenu_page( true, - $this->setPageTitle(__('Export')), - __('Export'), + $this->setPageTitle(__('Export', 'mailpoet')), + __('Export', 'mailpoet'), 'manage_options', 'mailpoet-export', array($this, 'export') @@ -163,8 +163,8 @@ class Menu { add_submenu_page( true, - $this->setPageTitle(__('Welcome')), - __('Welcome'), + $this->setPageTitle(__('Welcome', 'mailpoet')), + __('Welcome', 'mailpoet'), 'manage_options', 'mailpoet-welcome', array($this, 'welcome') @@ -172,8 +172,8 @@ class Menu { add_submenu_page( true, - $this->setPageTitle(__('Update')), - __('Update'), + $this->setPageTitle(__('Update', 'mailpoet')), + __('Update', 'mailpoet'), 'manage_options', 'mailpoet-update', array($this, 'update') @@ -181,8 +181,8 @@ class Menu { add_submenu_page( true, - $this->setPageTitle(__('Form Editor')), - __('Form Editor'), + $this->setPageTitle(__('Form Editor', 'mailpoet')), + __('Form Editor', 'mailpoet'), 'manage_options', 'mailpoet-form-editor', array($this, 'formEditor') @@ -190,8 +190,8 @@ class Menu { add_submenu_page( true, - $this->setPageTitle(__('Newsletter')), - __('Newsletter Editor'), + $this->setPageTitle(__('Newsletter', 'mailpoet')), + __('Newsletter Editor', 'mailpoet'), 'manage_options', 'mailpoet-newsletter-editor', array($this, 'newletterEditor') @@ -355,7 +355,7 @@ class Menu { $data['segments'] = Segment::getSegmentsWithSubscriberCount($type = false); $data['settings'] = Setting::getAll(); $data['roles'] = $wp_roles->get_names(); - $data['roles']['mailpoet_all'] = __('In any WordPress role'); + $data['roles']['mailpoet_all'] = __('In any WordPress role', 'mailpoet'); $date_time = new DateTime(); $data['current_date'] = $date_time->getCurrentDate(DateTime::DEFAULT_DATE_FORMAT); @@ -430,7 +430,7 @@ class Menu { function setPageTitle($title) { return sprintf( '%s - %s', - __('MailPoet'), + __('MailPoet', 'mailpoet'), $title ); } diff --git a/lib/Config/Populator.php b/lib/Config/Populator.php index 6272f479c3..639af11e98 100644 --- a/lib/Config/Populator.php +++ b/lib/Config/Populator.php @@ -131,9 +131,9 @@ class Populator { if(Segment::where('type', 'default')->count() === 0) { $default_segment = Segment::create(); $default_segment->hydrate(array( - 'name' => __('My First List'), + 'name' => __('My First List', 'mailpoet'), 'description' => - __('This list is automatically created when you install MailPoet') + __('This list is automatically created when you install MailPoet', 'mailpoet') )); $default_segment->save(); } diff --git a/lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php b/lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php index 71a57afd49..1b8da1ce18 100644 --- a/lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php +++ b/lib/Config/PopulatorData/Templates/FranksRoastHouseTemplate.php @@ -13,8 +13,8 @@ class FranksRoastHouseTemplate { function get() { return array( - 'name' => __("Frank's Roast House"), - 'description' => __("Think of this as your sandbox. Play around with this example newsletter to see what MailPoet can do for you."), + 'name' => __("Frank's Roast House", 'mailpoet'), + 'description' => __("Think of this as your sandbox. Play around with this example newsletter to see what MailPoet can do for you.", 'mailpoet'), 'readonly' => 0, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -46,7 +46,7 @@ class FranksRoastHouseTemplate { "blocks" => array( array( "type" => "header", - "text" => __("Open this email in your web browser."), + "text" => __("Open this email in your web browser.", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "#ccc6c6" @@ -67,7 +67,7 @@ class FranksRoastHouseTemplate { "type" => "image", "link" => "http://www.example.com", "src" => $this->template_image_url . "/header-v2.jpg", - "alt" => __("Frank's Café"), + "alt" => __("Frank's Café", 'mailpoet'), "fullWidth" => true, "width" => "600px", "height" => "220px", @@ -88,13 +88,13 @@ 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. 

") + "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", "link" => "http://example.org", "src" => $this->template_image_url . "/coffee-grain.jpg", - "alt" => __("coffee-grain-3-1329675-1599x941"), + "alt" => __('Coffee grain', 'mailpoet'), "fullWidth" => false, "width" => "1599px", "height" => "777px", @@ -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
") + "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') ) ) ) @@ -132,13 +132,13 @@ class FranksRoastHouseTemplate { "blocks" => array( array( "type" => "text", - "text" => __("

Sandwich Competition

") + "text" => __("

Sandwich Competition

", 'mailpoet') ), array( "type" => "image", "link" => "http://example.org", "src" => $this->template_image_url . "/sandwich.jpg", - "alt" => "sandwich", + "alt" => __('Sandwich', 'mailpoet'), "fullWidth" => false, "width" => "640px", "height" => "344px", @@ -150,7 +150,7 @@ class FranksRoastHouseTemplate { ), array( "type" => "text", - "text" => __("

Have an idea for the Next Great Sandwich? Tell us! We're offering free lunch for a month if you can invent an awesome new sandwich for our menu.

\n

\n

\n

Simply tweet your ideas to @franksroasthouse and use #sandwichcomp and we'll let you know if you're a winner.

") + "text" => __("

Have an idea for the Next Great Sandwich? Tell us! We're offering free lunch for a month if you can invent an awesome new sandwich for our menu.

\n

\n

\n

Simply tweet your ideas to @franksroasthouse and use #sandwichcomp and we'll let you know if you're a winner.

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

Follow Us

") + "text" => __("

Follow Us

", 'mailpoet') ), array( "type" => "social", @@ -232,13 +232,13 @@ class FranksRoastHouseTemplate { "blocks" => array( array( "type" => "text", - "text" => __("

New Store Opening!

") + "text" => __("

New Store Opening!

", 'mailpoet') ), array( "type" => "image", "link" => "http://example.org", "src" => $this->template_image_url . "/map-v2.jpg", - "alt" => __("map-v2"), + "alt" => __('Map', 'mailpoet'), "fullWidth" => false, "width" => "636px", "height" => "342px", @@ -250,11 +250,11 @@ 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!

") + "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", - "text" => __("

New and Improved Hours!

\n

\n

Frank's is now open even later, so you can get your caffeine fix all day (and night) long! Here's our new opening hours:

\n

\n") + "text" => __("

New and Improved Hours!

\n

\n

Frank's is now open even later, so you can get your caffeine fix all day (and night) long! Here's our new opening hours:

\n

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

Unsubscribe | Manage subscription
12345 MailPoet Drive, EmailVille, 76543

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

Unsubscribe | Manage subscription
12345 MailPoet Drive, EmailVille, 76543

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "#a9a7a7" diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php index e0123c4b96..8621d25b3a 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank121Column.php @@ -13,8 +13,8 @@ class NewsletterBlank121Column { function get() { return array( - 'name' => __("Newsletter: Blank 1:2:1 Column"), - 'description' => __("A blank Newsletter template with a 1:2:1 column layout."), + 'name' => __("Newsletter: Blank 1:2:1 Column", 'mailpoet'), + 'description' => __("A blank Newsletter template with a 1:2:1 column layout.", 'mailpoet'), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -52,7 +52,7 @@ class NewsletterBlank121Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser"), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -104,7 +104,7 @@ class NewsletterBlank121Column { "type" => "image", "link" => "", "src" => $this->template_image_url . "/fake-logo.png", - "alt" => __("Fake logo"), + "alt" => __("Fake logo", 'mailpoet'), "fullWidth" => false, "width" => "598px", "height" => "71px", @@ -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
") + "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", @@ -154,11 +154,11 @@ class NewsletterBlank121Column { "blocks" => array( array( "type" => "text", - "text" => __("

This template has...

") + "text" => __("

This template has...

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

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

\n") + "text" => __("

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

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

... a 2-column layout.

") + "text" => __("

... a 2-column layout.

", 'mailpoet') ), 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.

") + "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") + "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') ) ) ) @@ -311,7 +311,7 @@ class NewsletterBlank121Column { ), array( "type" => "footer", - "text" => __("

Unsubscribe | Manage your subscription
Add your postal address here!

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

Unsubscribe | Manage your subscription
Add your postal address here!

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php index 3be19f6294..d52999df98 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank12Column.php @@ -13,8 +13,8 @@ class NewsletterBlank12Column { function get() { return array( - 'name' => __("Newsletter: Blank 1:2 Column"), - 'description' => __("A blank Newsletter template with a 1:2 column layout."), + 'name' => __("Newsletter: Blank 1:2 Column", 'mailpoet'), + 'description' => __("A blank Newsletter template with a 1:2 column layout.", 'mailpoet'), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -52,7 +52,7 @@ class NewsletterBlank12Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser"), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -104,7 +104,7 @@ class NewsletterBlank12Column { "type" => "image", "link" => "", "src" => $this->template_image_url . "/fake-logo.png", - "alt" => __("Fake Logo"), + "alt" => __("Fake Logo", 'mailpoet'), "fullWidth" => false, "width" => "598px", "height" => "71px", @@ -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
") + "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", @@ -154,11 +154,11 @@ class NewsletterBlank12Column { "blocks" => array( array( "type" => "text", - "text" => __("

This template has...

") + "text" => __("

This template has...

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

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

\n") + "text" => __("

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

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

... a 2-column layout.

") + "text" => __("

... a 2-column layout.

", 'mailpoet') ), 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.

") + "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') ) ) ) @@ -251,7 +251,7 @@ class NewsletterBlank12Column { ), array( "type" => "footer", - "text" => __("

Unsubscribe | Manage your subscription
Add your postal address here!

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

Unsubscribe | Manage your subscription
Add your postal address here!

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php index ae8c34019e..6348e8be0a 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank13Column.php @@ -13,8 +13,8 @@ class NewsletterBlank13Column { function get() { return array( - 'name' => __("Newsletter: Blank 1:3 Column"), - 'description' => __("A blank Newsletter template with a 1:3 column layout."), + 'name' => __("Newsletter: Blank 1:3 Column", 'mailpoet'), + 'description' => __("A blank Newsletter template with a 1:3 column layout.", 'mailpoet'), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -52,7 +52,7 @@ class NewsletterBlank13Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser"), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -104,7 +104,7 @@ class NewsletterBlank13Column { "type" => "image", "link" => "", "src" => $this->template_image_url . "/fake-logo.png", - "alt" => __("Fake logo"), + "alt" => __("Fake logo", 'mailpoet'), "fullWidth" => false, "width" => "598px", "height" => "71px", @@ -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
") + "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... 

") + "text" => __("

This template... 

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

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

") + "text" => __("

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

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

... has a... 

") + "text" => __("

... has a... 

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

You have the choice of:

\n") + "text" => __("

You have the choice of:

\n", 'mailpoet') ) ) ), @@ -192,11 +192,11 @@ class NewsletterBlank13Column { "blocks" => array( array( "type" => "text", - "text" => __("

3-column layout.

") + "text" => __("

3-column layout.

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

You can add as many layout blocks as you want!

") + "text" => __("

You can add as many layout blocks as you want!

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

Unsubscribe | Manage your subscription
Add your postal address here!

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

Unsubscribe | Manage your subscription
Add your postal address here!

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php b/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php index a5407242e3..d957c2b4d1 100644 --- a/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php +++ b/lib/Config/PopulatorData/Templates/NewsletterBlank1Column.php @@ -13,8 +13,8 @@ class NewsletterBlank1Column { function get() { return array( - 'name' => __("Newsletter: Blank 1 Column"), - 'description' => __("A blank Newsletter template with a 1 column layout."), + 'name' => __("Newsletter: Blank 1 Column", 'mailpoet'), + 'description' => __("A blank Newsletter template with a 1 column layout.", 'mailpoet'), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -52,7 +52,7 @@ class NewsletterBlank1Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser"), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -104,7 +104,7 @@ class NewsletterBlank1Column { "type" => "image", "link" => "", "src" => $this->template_image_url . "/fake-logo.png", - "alt" => __("Fake logo"), + "alt" => __("Fake logo", 'mailpoet'), "fullWidth" => false, "width" => "598px", "height" => "71px", @@ -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
") + "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') ) ) ) @@ -190,7 +190,7 @@ class NewsletterBlank1Column { ), array( "type" => "footer", - "text" => __("

Unsubscribe | Manage your subscription
Add your postal address here!

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

Unsubscribe | Manage your subscription
Add your postal address here!

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php b/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php index ed1c21cf4d..25898f3baf 100644 --- a/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php +++ b/lib/Config/PopulatorData/Templates/PostNotificationsBlank1Column.php @@ -13,8 +13,8 @@ class PostNotificationsBlank1Column { function get() { return array( - 'name' => __("Post Notifications: Blank 1 Column"), - 'description' => __("A blank Post Notifications template with a 1 column layout."), + 'name' => __("Post Notifications: Blank 1 Column", 'mailpoet'), + 'description' => __("A blank Post Notifications template with a 1 column layout.", 'mailpoet'), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -52,7 +52,7 @@ class PostNotificationsBlank1Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser"), + "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.

") + "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", @@ -174,14 +174,14 @@ class PostNotificationsBlank1Column { "imageFullWidth" => false, "featuredImagePosition" => "belowTitle", "showAuthor" => "no", - "authorPrecededBy" => __("Author:"), + "authorPrecededBy" => __("Author:", 'mailpoet'), "showCategories" => "no", - "categoriesPrecededBy" => __("Categories:"), + "categoriesPrecededBy" => __("Categories:", 'mailpoet'), "readMoreType" => "button", "readMoreText" => "Read more", "readMoreButton" => array( "type" => "button", - "text" => __("Read the post"), + "text" => __("Read the post", 'mailpoet'), "url" => "[postLink]", "styles" => array( "block" => array( @@ -298,7 +298,7 @@ class PostNotificationsBlank1Column { ), array( "type" => "footer", - "text" => __("

Unsubscribe | Manage your subscription
Add your postal address here!

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

Unsubscribe | Manage your subscription
Add your postal address here!

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/Restaurant.php b/lib/Config/PopulatorData/Templates/Restaurant.php index 55d239191b..0a95943e8e 100644 --- a/lib/Config/PopulatorData/Templates/Restaurant.php +++ b/lib/Config/PopulatorData/Templates/Restaurant.php @@ -13,8 +13,8 @@ class Restaurant { function get() { return array( - 'name' => __("Restaurant"), - 'description' => __("What's fresh on the menu?"), + 'name' => __("Restaurant", 'mailpoet'), + 'description' => __("What's fresh on the menu?", 'mailpoet'), 'readonly' => 0, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), diff --git a/lib/Config/PopulatorData/Templates/SimpleText.php b/lib/Config/PopulatorData/Templates/SimpleText.php index 29858a2c17..94b9c17683 100644 --- a/lib/Config/PopulatorData/Templates/SimpleText.php +++ b/lib/Config/PopulatorData/Templates/SimpleText.php @@ -13,8 +13,8 @@ class SimpleText { function get() { return array( - 'name' => __("Simple Text"), - 'description' => __("A simple plain text template - just like a regular email."), + 'name' => __("Simple Text", 'mailpoet'), + 'description' => __("A simple plain text template - just like a regular email.", 'mailpoet'), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -63,7 +63,7 @@ class SimpleText { "type" => "image", "link" => "", "src" => $this->template_image_url . "/fake-logo.png", - "alt" => __("Fake logo"), + "alt" => __("Fake logo", 'mailpoet'), "fullWidth" => false, "width" => "598px", "height" => "71px", @@ -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:

") + "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') ) ) ) @@ -110,7 +110,7 @@ class SimpleText { ), array( "type" => "button", - "text" => __("It's time to take action!"), + "text" => __("It's time to take action!", 'mailpoet'), "url" => "", "styles" => array( "block" => array( @@ -131,11 +131,11 @@ class SimpleText { ), array( "type" => "text", - "text" => __("

Thanks for reading. See you soon!

\n

\n

The MailPoet Team

") + "text" => __("

Thanks for reading. See you soon!

\n

\n

The MailPoet Team

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

Unsubscribe | Manage your subscription
Add your postal address here!

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

Unsubscribe | Manage your subscription
Add your postal address here!

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/StoreDiscount.php b/lib/Config/PopulatorData/Templates/StoreDiscount.php index 9c2c25fbab..17ba34a3e9 100644 --- a/lib/Config/PopulatorData/Templates/StoreDiscount.php +++ b/lib/Config/PopulatorData/Templates/StoreDiscount.php @@ -13,8 +13,8 @@ class StoreDiscount { function get() { return array( - 'name' => __("Store Discount"), - 'description' => __("Store discount email with coupon and shopping suggestions"), + 'name' => __("Store Discount", 'mailpoet'), + 'description' => __("Store discount email with coupon and shopping suggestions", 'mailpoet'), 'readonly' => 0, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -59,7 +59,7 @@ class StoreDiscount { "type" => "image", "link" => "", "src" => $this->template_image_url . "/bicycle-header3.png", - "alt" => __("bicycle-header3"), + "alt" => __("bicycle-header3", 'mailpoet'), "fullWidth" => false, "width" => "423px", "height" => "135px", @@ -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.

") + "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( @@ -110,10 +110,10 @@ class StoreDiscount { ) ), array( "type" => "text", - "text" => __("

Get 15% discount off your next order

") + "text" => __("

Get 15% discount off your next order

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

USE CODE: WELOVEMAILPOET

") + "text" => __("

USE CODE: WELOVEMAILPOET

", 'mailpoet') ), array( "type" => "divider", "styles" => array( @@ -153,7 +153,7 @@ class StoreDiscount { ) ), array( "type" => "button", - "text" => __("SHOP NOW"), + "text" => __("SHOP NOW", 'mailpoet'), "url" => "", "styles" => array( "block" => array( @@ -173,7 +173,7 @@ class StoreDiscount { ) ), array( "type" => "text", - "text" => __("

Use your discount on these great products...

") + "text" => __("

Use your discount on these great products...

", 'mailpoet') ), array( "type" => "spacer", "styles" => array( @@ -204,7 +204,7 @@ class StoreDiscount { "type" => "image", "link" => "", "src" => $this->template_image_url . "/red-icycle.jpg", - "alt" => __("red-icycle"), + "alt" => __("red-icycle", 'mailpoet'), "fullWidth" => false, "width" => "558px", "height" => "399px", @@ -215,10 +215,10 @@ class StoreDiscount { ) ), array( "type" => "text", - "text" => __("

Lovely Red Bicycle

\n

What can we say? It's a totally awesome red bike, and it's the first of its kind in our collection. No sweat!

\n

$289.99

") + "text" => __("

Lovely Red Bicycle

\n

What can we say? It's a totally awesome red bike, and it's the first of its kind in our collection. No sweat!

\n

$289.99

", 'mailpoet') ), array( "type" => "button", - "text" => __("Buy"), + "text" => __("Buy", 'mailpoet'), "url" => "", "styles" => array( "block" => array( @@ -249,7 +249,7 @@ class StoreDiscount { "type" => "image", "link" => "", "src" => $this->template_image_url . "/orange-bicycle.jpg", - "alt" => __("orange-bicycle"), + "alt" => __("orange-bicycle", 'mailpoet'), "fullWidth" => false, "width" => "639px", "height" => "457px", @@ -260,10 +260,10 @@ class StoreDiscount { ) ), array( "type" => "text", - "text" => __("

Little Orange Bicycle

\n

Another product that's just as awesome but it's the second type, and more orange, with some blue. Cool beans!

\n

$209.99

") + "text" => __("

Little Orange Bicycle

\n

Another product that's just as awesome but it's the second type, and more orange, with some blue. Cool beans!

\n

$209.99

", 'mailpoet') ), array( "type" => "button", - "text" => __("Buy"), + "text" => __("Buy", 'mailpoet'), "url" => "", "styles" => array( "block" => array( @@ -320,7 +320,7 @@ class StoreDiscount { ) ), array( "type" => "text", - "text" => __("

Terms and Conditions:

\n") + "text" => __("

Terms and Conditions:

\n", 'mailpoet') ), array( "type" => "social", "iconSet" => "grey", @@ -331,7 +331,7 @@ class StoreDiscount { "image" => $this->social_icon_url . "/02-grey/Facebook.png", "height" => "32px", "width" => "32px", - "text" => __("Facebook") + "text" => __("Facebook", 'mailpoet') ), array( "type" => "socialIcon", "iconType" => "twitter", @@ -339,11 +339,11 @@ class StoreDiscount { "image" => $this->social_icon_url . "/02-grey/Twitter.png", "height" => "32px", "width" => "32px", - "text" => __("Twitter") + "text" => __("Twitter", 'mailpoet') )) ), array( "type" => "footer", - "text" => __("

Unsubscribe | Manage subscription

\n

1 Store Street, Shopville, CA 1345

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

Unsubscribe | Manage subscription

\n

1 Store Street, Shopville, CA 1345

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/TravelEmail.php b/lib/Config/PopulatorData/Templates/TravelEmail.php index 509a84dfbf..bd3501c8cc 100644 --- a/lib/Config/PopulatorData/Templates/TravelEmail.php +++ b/lib/Config/PopulatorData/Templates/TravelEmail.php @@ -13,8 +13,8 @@ class TravelEmail { function get() { return array( - 'name' => __("Travel email"), - 'description' => __("A little postcard from your trip"), + 'name' => __("Travel email", 'mailpoet'), + 'description' => __("A little postcard from your trip", 'mailpoet'), 'readonly' => 0, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -51,7 +51,7 @@ class TravelEmail { "type" => "image", "link" => "", "src" => $this->template_image_url . "/header.png", - "alt" => __("Travelling Tales with Jane & Steven"), + "alt" => __("Travelling Tales with Jane & Steven", 'mailpoet'), "fullWidth" => true, "width" => "660px", "height" => "165px", @@ -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!

") + "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", @@ -81,11 +81,11 @@ class TravelEmail { "image" => $this->social_icon_url . "/03-circles/Twitter.png", "height" => "32px", "width" => "32px", - "text" => __("Twitter") + "text" => __("Twitter", 'mailpoet') )) ), array( "type" => "text", - "text" => __("

Photos from Rotarua

") + "text" => __("

Photos from Rotarua

", 'mailpoet') ), array( "type" => "spacer", "styles" => array( @@ -116,7 +116,7 @@ class TravelEmail { "type" => "image", "link" => "", "src" => $this->template_image_url . "/gallery1.jpg", - "alt" => __("hot thermals"), + "alt" => __("hot thermals", 'mailpoet'), "fullWidth" => false, "width" => "640px", "height" => "425px", @@ -146,7 +146,7 @@ class TravelEmail { "type" => "image", "link" => "", "src" => $this->template_image_url . "/gallery2.jpg", - "alt" => __("The view from our campsite"), + "alt" => __("The view from our campsite", 'mailpoet'), "fullWidth" => false, "width" => "640px", "height" => "425px", @@ -185,7 +185,7 @@ class TravelEmail { "type" => "image", "link" => "", "src" => $this->template_image_url . "/gallery3.jpg", - "alt" => __("Red sky at night"), + "alt" => __("Red sky at night", 'mailpoet'), "fullWidth" => false, "width" => "640px", "height" => "425px", @@ -207,7 +207,7 @@ class TravelEmail { "type" => "image", "link" => "", "src" => $this->template_image_url . "/gallery4.jpg", - "alt" => __("Don't go chasing waterfalls"), + "alt" => __("Don't go chasing waterfalls", 'mailpoet'), "fullWidth" => false, "width" => "640px", "height" => "425px", @@ -244,7 +244,7 @@ class TravelEmail { ) ), array( "type" => "button", - "text" => __("View NZ Photo Gallery"), + "text" => __("View NZ Photo Gallery", 'mailpoet'), "url" => "", "styles" => array( "block" => array( @@ -293,7 +293,7 @@ class TravelEmail { ) ), array( "type" => "text", - "text" => __("

Here's our top recommendations in Rotarua

") + "text" => __("

Here's our top recommendations in Rotarua

", 'mailpoet') ), array( "type" => "spacer", "styles" => array( @@ -324,7 +324,7 @@ class TravelEmail { "type" => "image", "link" => "", "src" => $this->template_image_url . "/glow-worms.jpg", - "alt" => __("Glow worms, Waitomo Caves"), + "alt" => __("Glow worms, Waitomo Caves", 'mailpoet'), "fullWidth" => true, "width" => "640px", "height" => "428px", @@ -335,7 +335,7 @@ class TravelEmail { ) ), array( "type" => "text", - "text" => __("

Waitomo Glow Worm Caves

") + "text" => __("

Waitomo Glow Worm Caves

", 'mailpoet') )) ), array( "type" => "container", @@ -349,7 +349,7 @@ class TravelEmail { "type" => "image", "link" => "", "src" => $this->template_image_url . "/luge.jpg", - "alt" => __("luge"), + "alt" => __("luge", 'mailpoet'), "fullWidth" => false, "width" => "375px", "height" => "500px", @@ -360,7 +360,7 @@ class TravelEmail { ) ), array( "type" => "text", - "text" => __("

Luge!

") + "text" => __("

Luge!

", 'mailpoet') )) ), array( "type" => "container", @@ -374,7 +374,7 @@ class TravelEmail { "type" => "image", "link" => "", "src" => $this->template_image_url . "/holiday-park.jpg", - "alt" => __("holiday-park"), + "alt" => __("holiday-park", 'mailpoet'), "fullWidth" => true, "width" => "640px", "height" => "425px", @@ -385,7 +385,7 @@ class TravelEmail { ) ), array( "type" => "text", - "text" => __("

Roturua Thermal Holiday Park

") + "text" => __("

Roturua Thermal Holiday Park

", 'mailpoet') )) )) ), array( @@ -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

") + "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( @@ -464,7 +464,7 @@ class TravelEmail { ) ), array( "type" => "footer", - "text" => __("

Unsubscribe | Manage subscription

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

Unsubscribe | Manage subscription

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php b/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php index 2c0dbba732..a9a6ec794c 100644 --- a/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php +++ b/lib/Config/PopulatorData/Templates/WelcomeBlank12Column.php @@ -13,8 +13,8 @@ class WelcomeBlank12Column { function get() { return array( - 'name' => __("Welcome Email: Blank 1:2 Column"), - 'description' => __("A blank Welcome Email template with a 1:2 column layout."), + 'name' => __("Welcome Email: Blank 1:2 Column", 'mailpoet'), + 'description' => __("A blank Welcome Email template with a 1:2 column layout.", 'mailpoet'), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -52,7 +52,7 @@ class WelcomeBlank12Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser"), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -104,7 +104,7 @@ class WelcomeBlank12Column { "type" => "image", "link" => "", "src" => $this->template_image_url . "/fake-logo.png", - "alt" => __("Fake logo"), + "alt" => __("Fake logo", 'mailpoet'), "fullWidth" => false, "width" => "598px", "height" => "71px", @@ -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!

") + "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", @@ -163,11 +163,11 @@ class WelcomeBlank12Column { "blocks" => array( array( "type" => "text", - "text" => __("

Our Most Popular Posts

") + "text" => __("

Our Most Popular Posts

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

What's Next?

") + "text" => __("

What's Next?

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

Add a single button to your newsletter in order to have one clear call-to-action, which will increase your click rates.

") + "text" => __("

Add a single button to your newsletter in order to have one clear call-to-action, which will increase your click rates.

", 'mailpoet') ), array( "type" => "button", - "text" => __("Read up!"), + "text" => __("Read up!", 'mailpoet'), "url" => "", "styles" => array( "block" => array( @@ -281,7 +281,7 @@ class WelcomeBlank12Column { ), array( "type" => "footer", - "text" => __("

Unsubscribe | Manage your subscription
Add your postal address here!

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

Unsubscribe | Manage your subscription
Add your postal address here!

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php b/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php index 06b1a6f40e..36ee5f55ad 100644 --- a/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php +++ b/lib/Config/PopulatorData/Templates/WelcomeBlank1Column.php @@ -13,8 +13,8 @@ class WelcomeBlank1Column { function get() { return array( - 'name' => __("Welcome Email: Blank 1 Column"), - 'description' => __("A blank Welcome Email template with a 1 column layout."), + 'name' => __("Welcome Email: Blank 1 Column", 'mailpoet'), + 'description' => __("A blank Welcome Email template with a 1 column layout.", 'mailpoet'), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), @@ -52,7 +52,7 @@ class WelcomeBlank1Column { "blocks" => array( array( "type" => "header", - "text" => __("Display problems? Open this email in your web browser"), + "text" => __("Display problems? Open this email in your web browser", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" @@ -104,7 +104,7 @@ class WelcomeBlank1Column { "type" => "image", "link" => "", "src" => $this->template_image_url . "/fake-logo.png", - "alt" => __("Fake logo"), + "alt" => __("Fake logo", 'mailpoet'), "fullWidth" => false, "width" => "598px", "height" => "71px", @@ -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
") + "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') ) ) ) @@ -190,7 +190,7 @@ class WelcomeBlank1Column { ), array( "type" => "footer", - "text" => __("

Unsubscribe | Manage your subscription
Add your postal address here!

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

Unsubscribe | Manage your subscription
Add your postal address here!

", 'mailpoet'), "styles" => array( "block" => array( "backgroundColor" => "transparent" diff --git a/lib/Config/Shortcodes.php b/lib/Config/Shortcodes.php index 49f42411f7..c556027c7b 100644 --- a/lib/Config/Shortcodes.php +++ b/lib/Config/Shortcodes.php @@ -81,7 +81,7 @@ class Shortcodes { if(empty($newsletters)) { return apply_filters( 'mailpoet_archive_no_newsletters', - __('Oops! There are no newsletters to display.') + __('Oops! There are no newsletters to display.', 'mailpoet') ); } else { $title = apply_filters('mailpoet_archive_title', ''); @@ -116,7 +116,7 @@ class Shortcodes { $preview_url = NewsletterUrl::getViewInBrowserUrl($newsletter); return '' + .esc_attr(__('Preview in a new tab', 'mailpoet')).'">' .esc_attr($newsletter->subject). ''; } diff --git a/lib/Cron/CronHelper.php b/lib/Cron/CronHelper.php index 0ee99f84cb..a45785aea1 100644 --- a/lib/Cron/CronHelper.php +++ b/lib/Cron/CronHelper.php @@ -80,13 +80,13 @@ class CronHelper { $fp = @fsockopen($parsed_url['host'], $port, $errno, $errstr, 1); if($fp) return sprintf('%s://%s', $parsed_url['scheme'], $parsed_url['host']); // 4. throw an error if all connection attempts failed - throw new \Exception(__('Site URL is unreachable.')); + throw new \Exception(__('Site URL is unreachable.', 'mailpoet')); } static function enforceExecutionLimit($timer) { $elapsed_time = microtime(true) - $timer; if($elapsed_time >= self::DAEMON_EXECUTION_LIMIT) { - throw new \Exception(__('Maximum execution time has been reached.')); + throw new \Exception(__('Maximum execution time has been reached.', 'mailpoet')); } } } \ No newline at end of file diff --git a/lib/Cron/Daemon.php b/lib/Cron/Daemon.php index bfedaa6bbe..186d7ca5b6 100644 --- a/lib/Cron/Daemon.php +++ b/lib/Cron/Daemon.php @@ -24,10 +24,10 @@ class Daemon { function run() { ignore_user_abort(true); if(!$this->request_data) { - $error = __('Invalid or missing request data.'); + $error = __('Invalid or missing request data.', 'mailpoet'); } else { if(!$this->daemon) { - $error = __('Daemon does not exist.'); + $error = __('Daemon does not exist.', 'mailpoet'); } else { if(!isset($this->request_data['token']) || $this->request_data['token'] !== $this->daemon['token'] diff --git a/lib/Form/Block/Base.php b/lib/Form/Block/Base.php index 4a908d0b78..3f0b68df9b 100644 --- a/lib/Form/Block/Base.php +++ b/lib/Form/Block/Base.php @@ -7,7 +7,7 @@ abstract class Base { if($block['id'] === 'email') { $rules['required'] = true; - $rules['error-message'] = __('Please specify a valid email address'); + $rules['error-message'] = __('Please specify a valid email address', 'mailpoet'); } if($block['id'] === 'segments') { @@ -15,7 +15,7 @@ abstract class Base { $rules['mincheck'] = 1; $rules['group'] = $block['id']; $rules['errors-container'] = '.mailpoet_error_'.$block['id']; - $rules['required-message'] = __('Please select a list'); + $rules['required-message'] = __('Please select a list', 'mailpoet'); } if(!empty($block['params']['required'])) { @@ -25,7 +25,7 @@ abstract class Base { if(!empty($block['params']['validate'])) { if($block['params']['validate'] === 'phone') { $rules['pattern'] = "^[\d\+\-\.\(\)\/\s]*$"; - $rules['error-message'] = __('Please specify a valid phone number'); + $rules['error-message'] = __('Please specify a valid phone number', 'mailpoet'); } else { $rules['type'] = $block['params']['validate']; } @@ -34,7 +34,7 @@ abstract class Base { if(in_array($block['type'], array('radio', 'checkbox'))) { $rules['group'] = 'custom_field_'.$block['id']; $rules['errors-container'] = '.mailpoet_error_'.$block['id']; - $rules['required-message'] = __('Please select at least one option'); + $rules['required-message'] = __('Please select at least one option', 'mailpoet'); } if($block['type'] === 'date') { diff --git a/lib/Form/Block/Date.php b/lib/Form/Block/Date.php index 3eebae8478..69deb17905 100644 --- a/lib/Form/Block/Date.php +++ b/lib/Form/Block/Date.php @@ -70,27 +70,27 @@ class Date extends Base { $block['selected'] = $day; $html .= ''; } else if($date_selector === 'MM') { $block['selected'] = $month; $html .= ''; } else if($date_selector === 'YYYY') { $block['selected'] = $year; $html .= ''; } @@ -103,10 +103,10 @@ class Date extends Base { static function getDateTypes() { return array( - 'year_month_day' => __('Year, month, day'), - 'year_month' => __('Year, month'), - 'month' => __('Month (January, February,...)'), - 'year' => __('Year') + 'year_month_day' => __('Year, month, day', 'mailpoet'), + 'year_month' => __('Year, month', 'mailpoet'), + 'month' => __('Month (January, February,...)', 'mailpoet'), + 'year' => __('Year', 'mailpoet') ); } @@ -119,9 +119,9 @@ class Date extends Base { ); } static function getMonthNames() { - return array(__('January'), __('February'), __('March'), __('April'), - __('May'), __('June'), __('July'), __('August'), __('September'), - __('October'), __('November'), __('December') + return array(__('January', 'mailpoet'), __('February', 'mailpoet'), __('March', 'mailpoet'), __('April', 'mailpoet'), + __('May', 'mailpoet'), __('June', 'mailpoet'), __('July', 'mailpoet'), __('August', 'mailpoet'), __('September', 'mailpoet'), + __('October', 'mailpoet'), __('November', 'mailpoet'), __('December', 'mailpoet') ); } @@ -138,7 +138,7 @@ class Date extends Base { $html = ''; // empty value label - $html .= ''; + $html .= ''; for($i = 1; $i < 13; $i++) { $is_selected = ($i === $block['selected']) ? 'selected="selected"' : ''; @@ -168,7 +168,7 @@ class Date extends Base { $html = ''; // empty value label - $html .= ''; + $html .= ''; // return years as an array for($i = (int)$block['to']; $i > (int)($block['from'] - 1); $i--) { @@ -194,7 +194,7 @@ class Date extends Base { $html = ''; // empty value label - $html .= ''; + $html .= ''; // return days as an array for($i = 1; $i < 32; $i++) { diff --git a/lib/Form/Widget.php b/lib/Form/Widget.php index 491e72e2a9..ab06584387 100644 --- a/lib/Form/Widget.php +++ b/lib/Form/Widget.php @@ -15,9 +15,9 @@ class Widget extends \WP_Widget { function __construct () { return parent::__construct( 'mailpoet_form', - __('MailPoet Form'), + __('MailPoet Form', 'mailpoet'), array( - 'description' => __('Add a newsletter subscription form') + 'description' => __('Add a newsletter subscription form', 'mailpoet') ) ); } @@ -40,7 +40,7 @@ class Widget extends \WP_Widget { $instance = wp_parse_args( (array)$instance, array( - 'title' => __("Subscribe to Our Newsletter") + 'title' => __("Subscribe to Our Newsletter", 'mailpoet') ) ); @@ -55,7 +55,7 @@ class Widget extends \WP_Widget { // get forms list $forms = Form::getPublished()->orderByAsc('name')->findArray(); ?>

- +

- +