Add missing periods to translation strings

This commit is contained in:
Tautvidas Sipavičius
2017-01-23 16:34:13 +02:00
parent 9466be4793
commit 9f7ae122e3
37 changed files with 116 additions and 116 deletions

View File

@@ -38,7 +38,7 @@ class API {
if($this->checkToken() === false) {
$error_response = new ErrorResponse(
array(
Error::UNAUTHORIZED => __('Invalid request.', 'mailpoet')
Error::UNAUTHORIZED => __('Invalid request', 'mailpoet')
),
array(),
Response::STATUS_UNAUTHORIZED
@@ -64,7 +64,7 @@ class API {
// throw exception bad request
$error_response = new ErrorResponse(
array(
Error::BAD_REQUEST => __('Invalid request.', 'mailpoet')
Error::BAD_REQUEST => __('Invalid request', 'mailpoet')
),
array(),
Response::STATUS_BAD_REQUEST

View File

@@ -27,7 +27,7 @@ abstract class Endpoint {
function badRequest($errors = array(), $meta = array()) {
if(empty($errors)) {
$errors = array(
Error::BAD_REQUEST => __('Invalid request parameters.', 'mailpoet')
Error::BAD_REQUEST => __('Invalid request parameters', 'mailpoet')
);
}
return new ErrorResponse($errors, $meta, Response::STATUS_BAD_REQUEST);

View File

@@ -138,7 +138,7 @@ class Populator {
$default_segment->hydrate(array(
'name' => __('My First List', 'mailpoet'),
'description' =>
__('This list is automatically created when you install MailPoet', 'mailpoet')
__('This list is automatically created when you install MailPoet.', 'mailpoet')
));
$default_segment->save();
}

View File

@@ -52,7 +52,7 @@ class NewsletterBlank121Column {
"blocks" => array(
array(
"type" => "header",
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser</a>", 'mailpoet'),
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser.</a>", 'mailpoet'),
"styles" => array(
"block" => array(
"backgroundColor" => "transparent"

View File

@@ -52,7 +52,7 @@ class NewsletterBlank12Column {
"blocks" => array(
array(
"type" => "header",
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser</a>", 'mailpoet'),
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser.</a>", 'mailpoet'),
"styles" => array(
"block" => array(
"backgroundColor" => "transparent"

View File

@@ -52,7 +52,7 @@ class NewsletterBlank13Column {
"blocks" => array(
array(
"type" => "header",
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser</a>", 'mailpoet'),
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser.</a>", 'mailpoet'),
"styles" => array(
"block" => array(
"backgroundColor" => "transparent"

View File

@@ -52,7 +52,7 @@ class NewsletterBlank1Column {
"blocks" => array(
array(
"type" => "header",
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser</a>", 'mailpoet'),
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser.</a>", 'mailpoet'),
"styles" => array(
"block" => array(
"backgroundColor" => "transparent"

View File

@@ -52,7 +52,7 @@ class PostNotificationsBlank1Column {
"blocks" => array(
array(
"type" => "header",
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser</a>", 'mailpoet'),
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser.</a>", 'mailpoet'),
"styles" => array(
"block" => array(
"backgroundColor" => "transparent"

View File

@@ -446,7 +446,7 @@ class TravelEmail {
)
), array(
"type" => "header",
"text" => ("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser</a>"),
"text" => ("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser.</a>"),
"styles" => array(
"block" => array(
"backgroundColor" => "transparent"

View File

@@ -52,7 +52,7 @@ class WelcomeBlank12Column {
"blocks" => array(
array(
"type" => "header",
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser</a>", 'mailpoet'),
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser.</a>", 'mailpoet'),
"styles" => array(
"block" => array(
"backgroundColor" => "transparent"

View File

@@ -52,7 +52,7 @@ class WelcomeBlank1Column {
"blocks" => array(
array(
"type" => "header",
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser</a>", 'mailpoet'),
"text" => __("Display problems? <a href=\"[link:newsletter_view_in_browser_url]\">Open this email in your web browser.</a>", 'mailpoet'),
"styles" => array(
"block" => array(
"backgroundColor" => "transparent"

View File

@@ -7,7 +7,7 @@ abstract class Base {
if($block['id'] === 'email') {
$rules['required'] = true;
$rules['error-message'] = __('Please specify a valid email address', 'mailpoet');
$rules['error-message'] = __('Please specify a valid email address.', 'mailpoet');
}
if($block['id'] === 'segments') {

View File

@@ -80,7 +80,7 @@ class Mailer {
);
break;
default:
throw new \Exception(__('Mailing method does not exist', 'mailpoet'));
throw new \Exception(__('Mailing method does not exist.', 'mailpoet'));
}
return $mailer_instance;
}
@@ -88,7 +88,7 @@ class Mailer {
static function getMailerConfig($mailer = false) {
if(!$mailer) {
$mailer = Setting::getValue(self::MAILER_CONFIG_SETTING_NAME);
if(!$mailer || !isset($mailer['method'])) throw new \Exception(__('Mailer is not configured', 'mailpoet'));
if(!$mailer || !isset($mailer['method'])) throw new \Exception(__('Mailer is not configured.', 'mailpoet'));
}
if(empty($mailer['frequency'])) {
$default_settings = Setting::getDefaults();
@@ -105,7 +105,7 @@ class Mailer {
function getSenderNameAndAddress($sender = false) {
if(empty($sender)) {
$sender = Setting::getValue('sender', array());
if(empty($sender['address'])) throw new \Exception(__('Sender name and email are not configured', 'mailpoet'));
if(empty($sender['address'])) throw new \Exception(__('Sender name and email are not configured.', 'mailpoet'));
}
$from_name = $this->encodeAddressNamePart($sender['name']);
return array(

View File

@@ -32,7 +32,7 @@ class AmazonSES {
$this->aws_secret_key = $secret_key;
$this->aws_region = (in_array($region, $this->available_regions)) ? $region : false;
if(!$this->aws_region) {
throw new \Exception(__('Unsupported Amazon SES region.', 'mailpoet'));
throw new \Exception(__('Unsupported Amazon SES region', 'mailpoet'));
}
$this->aws_endpoint = sprintf('email.%s.amazonaws.com', $this->aws_region);
$this->aws_signing_algorithm = 'AWS4-HMAC-SHA256';

View File

@@ -11,10 +11,10 @@ class CustomField extends Model {
function __construct() {
parent::__construct();
$this->addValidations('name', array(
'required' => __('Please specify a name', 'mailpoet')
'required' => __('Please specify a name.', 'mailpoet')
));
$this->addValidations('type', array(
'required' => __('Please specify a type', 'mailpoet')
'required' => __('Please specify a type.', 'mailpoet')
));
}

View File

@@ -10,7 +10,7 @@ class Form extends Model {
parent::__construct();
$this->addValidations('name', array(
'required' => __('Please specify a name', 'mailpoet')
'required' => __('Please specify a name.', 'mailpoet')
));
}

View File

@@ -24,7 +24,7 @@ class Newsletter extends Model {
function __construct() {
parent::__construct();
$this->addValidations('type', array(
'required' => __('Please specify a type', 'mailpoet')
'required' => __('Please specify a type.', 'mailpoet')
));
}

View File

@@ -9,10 +9,10 @@ class NewsletterOptionField extends Model {
function __construct() {
parent::__construct();
$this->addValidations('name', array(
'required' => __('Please specify a name', 'mailpoet')
'required' => __('Please specify a name.', 'mailpoet')
));
$this->addValidations('newsletter_type', array(
'required' => __('Please specify a newsletter type', 'mailpoet')
'required' => __('Please specify a newsletter type.', 'mailpoet')
));
}

View File

@@ -10,10 +10,10 @@ class NewsletterTemplate extends Model {
parent::__construct();
$this->addValidations('name', array(
'required' => __('Please specify a name', 'mailpoet')
'required' => __('Please specify a name.', 'mailpoet')
));
$this->addValidations('body', array(
'required' => __('The template body cannot be empty', 'mailpoet')
'required' => __('The template body cannot be empty.', 'mailpoet')
));
}

View File

@@ -10,7 +10,7 @@ class Segment extends Model {
parent::__construct();
$this->addValidations('name', array(
'required' => __('Please specify a name', 'mailpoet')
'required' => __('Please specify a name.', 'mailpoet')
));
}
@@ -106,7 +106,7 @@ class Segment extends Model {
$wp_segment->hydrate(array(
'name' => __('WordPress Users', 'mailpoet'),
'description' =>
__('This lists containts all of your WordPress users', 'mailpoet'),
__('This list contains all of your WordPress users.', 'mailpoet'),
'type' => 'wp_users'
));
$wp_segment->save();

View File

@@ -19,7 +19,7 @@ class Setting extends Model {
parent::__construct();
$this->addValidations('name', array(
'required' => __('Please specify a name', 'mailpoet')
'required' => __('Please specify a name.', 'mailpoet')
));
}

View File

@@ -31,11 +31,11 @@ class Router {
$endpoint_class = __NAMESPACE__ . "\\Endpoints\\" . ucfirst($this->endpoint);
if(!$this->api_request) return;
if(!$this->endpoint || !class_exists($endpoint_class)) {
return $this->terminateRequest(self::RESPONSE_ERROR, __('Invalid router endpoint.', 'mailpoet'));
return $this->terminateRequest(self::RESPONSE_ERROR, __('Invalid router endpoint', 'mailpoet'));
}
$endpoint = new $endpoint_class($this->data);
if(!method_exists($endpoint, $this->action) || !in_array($this->action, $endpoint->allowed_actions)) {
return $this->terminateRequest(self::RESPONSE_ERROR, __('Invalid router endpoint action.', 'mailpoet'));
return $this->terminateRequest(self::RESPONSE_ERROR, __('Invalid router endpoint action', 'mailpoet'));
}
do_action('mailpoet_conflict_resolver_router_url_query_parameters');
return call_user_func(

View File

@@ -50,7 +50,7 @@ class Export {
throw new \Exception(__("Couldn't save export file on the server", 'mailpoet'));
}
if(!extension_loaded('zip')) {
throw new \Exception(__('Export requires a ZIP extension to be installed on the host', 'mailpoet'));
throw new \Exception(__('Export requires a ZIP extension to be installed on the host.', 'mailpoet'));
}
$processed_subscribers = call_user_func(
array(

View File

@@ -20,7 +20,7 @@ class Comment {
static function getSubscriptionField() {
$label = Setting::getValue(
'subscribe.on_comment.label',
__('Yes, please add me to your mailing list', 'mailpoet')
__('Yes, please add me to your mailing list.', 'mailpoet')
);
return '<p class="comment-form-mailpoet">

View File

@@ -87,7 +87,7 @@ class Pages {
global $post;
if($this->isPreview() === false && $this->subscriber === false) {
return __("Hmmm... we don't have a record of you", 'mailpoet');
return __("Hmmm... we don't have a record of you.", 'mailpoet');
}
if(
@@ -189,7 +189,7 @@ class Pages {
private function getUnsubscribeTitle() {
if($this->isPreview() || $this->subscriber !== false) {
return __("You are now unsubscribed", 'mailpoet');
return __("You are now unsubscribed.", 'mailpoet');
}
}

View File

@@ -1,8 +1,8 @@
<style type="text/css" id="mailpoet_form_preview_styles">{{{ css }}}</style>
<div class="mailpoet_form">
<div class="mailpoet_message">
<p class="mailpoet_validate_success"><%= __('This is a success message') %></p>
<p class="mailpoet_validate_error"><%= __('This is an error message') %></p>
<p class="mailpoet_validate_success"><%= __('This is a success message.') %></p>
<p class="mailpoet_validate_error"><%= __('This is an error message.') %></p>
</div>
{{{ html }}}
</div>

View File

@@ -17,8 +17,8 @@
'searchLabel': __('Search'),
'loadingItems': __('Loading forms...'),
'noItemsFound': __('No forms were found. Why not create a new one?'),
'selectAllLabel': __('All forms on this page are selected'),
'selectedAllLabel': __('All %d forms are selected'),
'selectAllLabel': __('All forms on this page are selected.'),
'selectedAllLabel': __('All %d forms are selected.'),
'selectAllLink': __('Select all forms on all pages'),
'clearSelection': __('Clear selection'),
'permanentlyDeleted': __('%d forms permanently deleted'),
@@ -44,15 +44,15 @@
'userChoice': __('User choice:'),
'signups': __('Signups'),
'createdOn': __('Created On'),
'oneFormTrashed': __('1 form was moved to the trash'),
'multipleFormsTrashed': __('%$1d forms were moved to the trash'),
'oneFormDeleted': __('1 form was permanently deleted'),
'multipleFormsDeleted': __('%$1d forms were permanently deleted'),
'oneFormRestored': __('1 form has been restored from the trash'),
'multipleFormsRestored': __('%$1d forms have been restored from the trash'),
'oneFormTrashed': __('1 form was moved to the trash.'),
'multipleFormsTrashed': __('%$1d forms were moved to the trash.'),
'oneFormDeleted': __('1 form was permanently deleted.'),
'multipleFormsDeleted': __('%$1d forms were permanently deleted.'),
'oneFormRestored': __('1 form has been restored from the trash.'),
'multipleFormsRestored': __('%$1d forms have been restored from the trash.'),
'edit': __('Edit'),
'duplicate': __('Duplicate'),
'formDuplicated': __('Form "%$1s" has been duplicated'),
'formDuplicated': __('Form "%$1s" has been duplicated.'),
'trash': __('Trash'),
'new': __('Add New'),
}) %>

View File

@@ -330,7 +330,7 @@
'templateSaved': __('Template has been saved.'),
'templateSaveFailed': __('Template has not been saved, please try again'),
'categoriesAndTags': __('Categories & tags'),
'noPostsToDisplay': __('There is no content to display'),
'noPostsToDisplay': __('There is no content to display.'),
'previewShouldOpenInNewTab': __('Your preview should open in a new tab. Please ensure your browser is not blocking popups from this page.'),
'newsletterPreview': __('Newsletter Preview'),
}) %>
@@ -1153,11 +1153,11 @@
},
},
text: {
text: '<%= __('Edit this to insert text') %>',
text: '<%= __('Edit this to insert text.') %>',
},
header: {
text: '<%= __('Display problems?') %>&nbsp;' +
'<a href="[link:newsletter_view_in_browser_url]"><%= __('Open this email in your web browser') %></a>',
'<a href="[link:newsletter_view_in_browser_url]"><%= __('Open this email in your web browser.') %></a>',
styles: {
block: {
backgroundColor: 'transparent',

View File

@@ -29,11 +29,11 @@
'searchLabel': __('Search'),
'loadingItems': __('Loading newsletters...'),
'noItemsFound': __("Nothing here yet! But, don't fret - there's no reason to get upset. Pretty soon, youll be sending emails faster than a turbo-jet."),
'selectAllLabel': __('All newsletters on this page are selected'),
'selectedAllLabel': __('All %d newsletters are selected'),
'selectAllLabel': __('All newsletters on this page are selected.'),
'selectedAllLabel': __('All %d newsletters are selected.'),
'selectAllLink': __('Select all newsletters on all pages'),
'clearSelection': __('Clear selection'),
'permanentlyDeleted': __('%d newsletters were permanently deleted'),
'permanentlyDeleted': __('%d newsletters were permanently deleted.'),
'selectBulkAction': __('Select bulk action'),
'bulkActions': __('Bulk Actions'),
'apply': __('Apply'),
@@ -66,12 +66,12 @@
'viewHistory': __('View history'),
'createdOn': __('Created on'),
'lastModifiedOn': __('Last modified on'),
'oneNewsletterTrashed': __('1 newsletter was moved to the trash'),
'multipleNewslettersTrashed': __('%$1d newsletters were moved to the trash'),
'oneNewsletterDeleted': __('1 newsletter was permanently deleted'),
'multipleNewslettersDeleted': __('%$1d newsletters were permanently deleted'),
'oneNewsletterRestored': __('1 newsletter has been recovered from the trash'),
'multipleNewslettersRestored': __('%$1d newsletters have been recovered from the trash'),
'oneNewsletterTrashed': __('1 newsletter was moved to the trash.'),
'multipleNewslettersTrashed': __('%$1d newsletters were moved to the trash.'),
'oneNewsletterDeleted': __('1 newsletter was permanently deleted.'),
'multipleNewslettersDeleted': __('%$1d newsletters were permanently deleted.'),
'oneNewsletterRestored': __('1 newsletter has been recovered from the trash.'),
'multipleNewslettersRestored': __('%$1d newsletters have been recovered from the trash.'),
'trash': __('Trash'),
'edit': __('Edit'),
'duplicate': __('Duplicate'),
@@ -93,8 +93,8 @@
'selectJsonFileToUpload': __('Select a .json file to upload'),
'upload': __('Upload'),
'mailpoetGuideTemplateTitle': __("MailPoet's Guide"),
'mailpoetGuideTemplateDescription': __("This is the standard template that comes with MailPoet"),
'confirmTemplateDeletion': __('You are about to delete the template named "%$1s"'),
'mailpoetGuideTemplateDescription': __("This is the standard template that comes with MailPoet."),
'confirmTemplateDeletion': __('You are about to delete the template named "%$1s".'),
'delete': __('Delete'),
'select': __('Select'),
'preview': __('Preview'),
@@ -151,22 +151,22 @@
'selectSegmentPlaceholder': __('Select a list'),
'noSegmentsSelectedError': __('Please select a list'),
'sender': __('Sender'),
'senderTip': __('Your name and email.'),
'senderTip': __('Your name and email'),
'senderNamePlaceholder': __('John Doe'),
'senderAddressPlaceholder': __('john.doe@email.com'),
'replyTo': __('Reply-to'),
'replyToTip': __('When your subscribers reply to your newsletter, their emails will go to this address'),
'replyToTip': __('When your subscribers reply to your newsletter, their emails will go to this address.'),
'replyToNamePlaceholder': __('John Doe'),
'replyToAddressPlaceholder': __('john.doe@email.com'),
'newsletterUpdated': __('Newsletter was updated successfully!'),
'newsletterAdded': __('Newsletter was added successfully!'),
'newsletterSendingError': __('An error occurred while trying to send. <a href="%$1s">Please check your settings</a>'),
'newsletterSendingError': __('An error occurred while trying to send. <a href="%$1s">Please check your settings</a>.'),
'finalNewsletterStep': __('Final Step: Last Details'),
'saveDraftAndClose': __('Save as draft and close'),
'orSimply': __('or simply'),
'goBackToDesign': __('go back to the Design page'),
'websiteTimeIs': __("Your websites time is"),
'noScheduledDateError': __('Please enter the scheduled date'),
'noScheduledDateError': __('Please enter the scheduled date.'),
'schedule': __('Schedule'),
'close': __('Close'),
@@ -214,9 +214,9 @@
'newsletterBeingSent': __('The newsletter is being sent...'),
'newsletterHasBeenScheduled': __('The newsletter has been scheduled.'),
'welcomeEmailActivated': __('Your Welcome Email is now activated!'),
'welcomeEmailActivationFailed': __('Your Welcome Email could not be activated, please check the settings'),
'welcomeEmailActivationFailed': __('Your Welcome Email could not be activated, please check the settings.'),
'postNotificationActivated': __('Your post notification is now active!'),
'postNotificationActivationFailed': __('Your post notification could not be activated, check the settings'),
'postNotificationActivationFailed': __('Your Post Notification could not be activated, check the settings.'),
'welcomeEventSegment': __('This newsletter is sent when someone subscribes to the list: "%$1s"'),
'welcomeEventWPUserAnyRole': __('This newsletter is sent when a new WordPress user is added to your site'),
'welcomeEventWPUserWithRole': __('This newsletter is sent when a new WordPress user with the role "%$1s" is added to your site'),

View File

@@ -14,11 +14,11 @@
'searchLabel': __('Search'),
'loadingItems': __('Loading lists...'),
'noItemsFound': __('No lists found'),
'selectAllLabel': __('All lists on this page are selected'),
'selectedAllLabel': __('All %d lists are selected'),
'selectAllLabel': __('All lists on this page are selected.'),
'selectedAllLabel': __('All %d lists are selected.'),
'selectAllLink': __('Select all lists on all pages'),
'clearSelection': __('Clear selection'),
'permanentlyDeleted': __('%d lists were permanently deleted'),
'permanentlyDeleted': __('%d lists were permanently deleted.'),
'selectBulkAction': __('Select bulk action'),
'bulkActions': __('Bulk Actions'),
'apply': __('Apply'),
@@ -35,7 +35,7 @@
'oneSegmentTrashed': __('1 list was moved to the trash'),
'multipleSegmentsTrashed': __('%$1d lists were moved to the trash'),
'oneSegmentDeleted': __('1 list was permanently deleted'),
'multipleSegmentsDeleted': __('%$1d list were permanently deleted'),
'multipleSegmentsDeleted': __('%$1d lists were permanently deleted.'),
'oneSegmentRestored': __('1 list has been restored from the trash'),
'multipleSegmentsRestored': __('%$1d lists have been restored from the trash'),
'duplicate': __('Duplicate'),
@@ -43,7 +43,7 @@
'update': __('Update'),
'forceSync': __('Force Sync'),
'readMore': __('Read More'),
'listSynchronized': __('List "%$1s" has been synchronized'),
'listSynchronized': __('List "%$1s" has been synchronized.'),
'viewSubscribers': __('View Subscribers'),
'new': __('Add New'),
'edit': __('Edit'),
@@ -62,7 +62,7 @@
'pageOutOf': __('of'),
'numberOfItems': __('%$1d item(s)'),
'segmentDescriptionTip': __('This text box is for your own use and is never shown to your subscribers'),
'segmentDescriptionTip': __('This text box is for your own use and is never shown to your subscribers.'),
'backToList': __('Back')
}) %>
<% endblock %>

View File

@@ -7,7 +7,7 @@
<%= __('Bounce email address') %>
</label>
<p class="description">
<%= __('Your bounced emails will be sent to this address') %>
<%= __('Your bounced emails will be sent to this address.') %>
</p>
</th>
<td>

View File

@@ -6,7 +6,7 @@
<%= __("Default sender") %>
</label>
<p class="description">
<%= __('These email addresses will be selected by default for each new email') %>
<%= __('These email addresses will be selected by default for each new email.') %>
</p>
</th>
<td>
@@ -88,7 +88,7 @@
<%= __('Subscribe in comments') %>
</label>
<p class="description">
<%= __('Visitors that comment on a post can subscribe to your list via a checkbox') %>
<%= __('Visitors that comment on a post can subscribe to your list via a checkbox.') %>
</p>
</th>
<td>
@@ -148,7 +148,7 @@
<%= __('Subscribe in registration form') %>
</label>
<p class="description">
<%= __('Allow users who register as a WordPress user on your website to subscribe to a MailPoet list (in addition to the "WordPress Users" list)') %>
<%= __('Allow users who register as a WordPress user on your website to subscribe to a MailPoet list (in addition to the "WordPress Users" list.)') %>
</p>
</th>
<td>
@@ -215,7 +215,7 @@
<%= __('Manage Subscription page') %>
</label>
<p class="description">
<%= __('When your subscribers click the "Manage your subscription" link, they will be directed to this page') %>
<%= __('When your subscribers click the "Manage your subscription" link, they will be directed to this page.') %>
</p>
</th>
<td>
@@ -307,7 +307,7 @@
<%= __('Archive page shortcode') %>
</label>
<p class="description">
<%= __('Paste this shortcode on a page to display a list of past newsletters') %>
<%= __('Paste this shortcode on a page to display a list of past newsletters.') %>
</p>
</th>
<td>
@@ -343,7 +343,7 @@
<%= __('Shortcode to display total number of subscribers') %>
</label>
<p class="description">
<%= __('Paste this shortcode on a post or page to display the total number of confirmed subscribers') %>
<%= __('Paste this shortcode on a post or page to display the total number of confirmed subscribers.') %>
</p>
</th>
<td>

View File

@@ -251,7 +251,7 @@
<p>
<%= __('<strong>Warning!</strong> Sending more than the recommended amount of emails? You may break the terms of your web host or provider!') %>'
<br />
<%= __('Please ask your host for the maximum number of emails you are allowed to send per day') %>
<%= __('Please ask your host for the maximum number of emails you are allowed to send per day.') %>
</p>
</div>
</td>
@@ -557,7 +557,7 @@
<%= __('Authentication') %>
</label>
<p class="description">
<%= __('Leave this option set to Yes. Only a tiny portion of SMTP services prefer Authentication to be turned off') %>
<%= __('Leave this option set to Yes. Only a tiny portion of SMTP services prefer Authentication to be turned off.') %>
</p>
</th>
<td>
@@ -599,12 +599,12 @@
<%= __('SPF Signature (Highly recommended!)') %>
</label>
<p class="description">
<%= __("Improves your delivery rate by verifying that you're allowed to send emails from your domain") %>
<%= __("Improves your delivery rate by verifying that you're allowed to send emails from your domain.") %>
</p>
</th>
<td>
<p>
<%= __("SPF is set up in your DNS. Read your host's support documentation for more information") %>
<%= __("SPF is set up in your DNS. Read your host's support documentation for more information.") %>
</p>
</td>
</tr>
@@ -764,7 +764,7 @@
&& $('#mailpoet_api_key').val().trim().length === 0
) {
MailPoet.Notice.error(
"<%= __('You need to specify a MailPoet account key') %>"
"<%= __('You need to specify a MailPoet account key.') %>"
);
return false;
}

View File

@@ -151,7 +151,7 @@
<%= __('Confirmation page') %>
</label>
<p class="description">
<%= __('When subscribers click on the activation link, they will be redirected to this page') %>
<%= __('When subscribers click on the activation link, they will be redirected to this page.') %>
</p>
</th>
<td>

View File

@@ -36,11 +36,11 @@
'serverError': __('Server error:'),
'select': __('Select'),
'csvKBLink': csvKBLink,
'wrongFileFormat': __('Only comma-separated (CSV) file formats are supported'),
'wrongFileFormat': __('Only comma-separated (CSV) file formats are supported.'),
'maxPostSizeNotice': __('Your CSV is over %s and is too big to process. Please split the file into two or more sections.')|replace({'%s': maxPostSize}),
'dataProcessingError': __("Your data could not be processed. Please make sure it is in the correct format."),
'noValidRecords': __('No valid records were found. This file needs to be formatted in a CSV style (comma-separated.) Look at some [link]examples on our support site[/link]'),
'importNoticeSkipped': __('%1$s records had issues and were skipped'),
'noValidRecords': __('No valid records were found. This file needs to be formatted in a CSV style (comma-separated.) Look at some [link]examples on our support site.[/link]'),
'importNoticeSkipped': __('%1$s records had issues and were skipped.'),
'importNoticeInvalid': __('%1$s emails are not valid : %2$s'),
'importNoticeDuplicate': __('%1$s emails appear more than once in your file : %2$s'),
'hideDetails': __('Hide details'),
@@ -50,8 +50,8 @@
'addNewField': __('Add new field'),
'addNewColumuserColumnsn': __('Add new list'),
'userColumns': __('User fields'),
'selectedValueAlreadyMatched': __('The selected value is already matched to another field'),
'confirmCorrespondingColumn': __('Confirm that this field corresponds to the selected field'),
'selectedValueAlreadyMatched': __('The selected value is already matched to another field.'),
'confirmCorrespondingColumn': __('Confirm that this field corresponds to the selected field.'),
'columnContainInvalidElement': __('One of the fields contains an invalid email. Please fix it before continuing.'),
'january': __('January'),
'february': __('February'),
@@ -67,7 +67,7 @@
'december': __('December'),
'noDateFieldMatch': __("Do not match as a 'date field' if most of the rows for that field return the same error."),
'emptyFirstRowDate': __('First row date cannot be empty.'),
'verifyDateMatch': __('Verify that the date in blue matches the original date'),
'verifyDateMatch': __('Verify that the date in blue matches the original date.'),
'pm': __('PM'),
'am': __('AM'),
'dateMatchError': __('Error matching date'),
@@ -76,6 +76,6 @@
'columnContainsInvalidElement': __('One of the fields contains an invalid email. Please fix before continuing.'),
'customFieldCreateError': __('Custom field could not be created'),
'subscribersCreated': __('%1$s subscribers added to %2$s.'),
'subscribersUpdated': __('%1$s existing subscribers were updated and added to %2$s')
'subscribersUpdated': __('%1$s existing subscribers were updated and added to %2$s.')
}) %>
<% endblock %>

View File

@@ -5,7 +5,7 @@
<script id="subscribers_data_parse_results_template" type="text/x-handlebars-template">
<div class="error">
<p>{{{notice}}} <a class="mailpoet_subscribers_data_parse_results_details_show" href="javascript:;"><%= __('Show more details.') %></a><p>
<p>{{{notice}}} <a class="mailpoet_subscribers_data_parse_results_details_show" href="javascript:;"><%= __('Show more details') %></a><p>
<div class="mailpoet_subscribers_data_parse_results_details mailpoet_hidden">
<hr>
{{#if duplicate}}

View File

@@ -19,10 +19,10 @@
'loadingItems': __('Loading subscribers...'),
'noItemsFound': __('No subscribers were found.'),
'selectAllLabel': __('All subscribers on this page are selected.'),
'selectedAllLabel': __('All %d subscribers are selected'),
'selectedAllLabel': __('All %d subscribers are selected.'),
'selectAllLink': __('Select all subscribers on all pages.'),
'clearSelection': __('Clear selection'),
'permanentlyDeleted': __('%d subscribers were permanently deleted'),
'permanentlyDeleted': __('%d subscribers were permanently deleted.'),
'selectBulkAction': __('Select bulk action'),
'bulkActions': __('Bulk Actions'),
'apply': __('Apply'),
@@ -61,23 +61,23 @@
'lists': __('Lists'),
'subscribedOn': __('Subscribed on'),
'lastModifiedOn': __('Last modified on'),
'oneSubscriberTrashed': __('1 subscriber was moved to the trash'),
'multipleSubscribersTrashed': __('%$1d subscribers were moved to the trash'),
'oneSubscriberDeleted': __('1 subscriber was permanently deleted'),
'multipleSubscribersDeleted': __('%$1d subscribers were permanently deleted'),
'oneSubscriberRestored': __('1 subscriber has been restored from the trash'),
'multipleSubscribersRestored': __('%$1d subscribers have been restored from the trash'),
'oneSubscriberTrashed': __('1 subscriber was moved to the trash.'),
'multipleSubscribersTrashed': __('%$1d subscribers were moved to the trash.'),
'oneSubscriberDeleted': __('1 subscriber was permanently deleted.'),
'multipleSubscribersDeleted': __('%$1d subscribers were permanently deleted.'),
'oneSubscriberRestored': __('1 subscriber has been restored from the trash.'),
'multipleSubscribersRestored': __('%$1d subscribers have been restored from the trash.'),
'moveToList': __('Move to list...'),
'multipleSubscribersMovedToList': __('%$1d subscribers were moved to list <strong>%$2s</strong>'),
'addToList': __('Add to list...'),
'multipleSubscribersAddedToList': __('%$1d subscribers were added to list <strong>%$2s</strong>'),
'multipleSubscribersAddedToList': __('%$1d subscribers were added to list <strong>%$2s</strong>.'),
'removeFromList': __('Remove from list...'),
'multipleSubscribersRemovedFromList': __('%$1d subscribers were removed from list <strong>%$2s</strong>'),
'removeFromAllLists': __('Remove from all lists'),
'multipleSubscribersRemovedFromAllLists': __('%$1d subscribers were removed from all lists'),
'multipleSubscribersRemovedFromAllLists': __('%$1d subscribers were removed from all lists.'),
'resendConfirmationEmail': __('Resend confirmation email'),
'multipleConfirmationEmailsSent': __('%$1d confirmation emails have been sent'),
'listsToWhichSubscriberWasSubscribed': __('Lists to which the subscriber was subscribed'),
'multipleConfirmationEmailsSent': __('%$1d confirmation emails have been sent.'),
'listsToWhichSubscriberWasSubscribed': __('Lists to which the subscriber was subscribed.'),
'WPUsersSegment': __('WordPress Users'),
'WPUserEditNotice': __('This subscriber is a registered WordPress user. [link]Edit his profile[/link] to change his/her email.'),
'tip': __('Tip:'),