Fix typos in translations
[MAILPOET-4447]
This commit is contained in:
@@ -200,7 +200,7 @@ class MailPoetMapper {
|
||||
}
|
||||
|
||||
private function getPendingApprovalMessage(): string {
|
||||
$message = __("Your subscription is currently [link]pending approval[/link].You’ll soon be able to send once our team reviews your account. In the meantime, you can send previews to your authorized emails.", 'mailpoet');
|
||||
$message = __("Your subscription is currently [link]pending approval[/link]. You’ll soon be able to send once our team reviews your account. In the meantime, you can send previews to your authorized emails.", 'mailpoet');
|
||||
$message = Helpers::replaceLinkTags(
|
||||
$message,
|
||||
'https://kb.mailpoet.com/article/350-pending-approval-subscription',
|
||||
|
@@ -85,7 +85,7 @@ class NewsletterValidator {
|
||||
strpos($content, '"type":"automatedLatestContent"') === false &&
|
||||
strpos($content, '"type":"automatedLatestContentLayout"') === false
|
||||
) {
|
||||
throw new ValidationException(__('Please add an “Automatic Latest Content” widget to the email from the right sidebar.', 'mailpoet'));
|
||||
throw new ValidationException(_x('Please add an “Automatic Latest Content” widget to the email from the right sidebar.', '(Please reuse the current translation used for the string “Automatic Latest Content”) This Error message is displayed when a user tries to send a “Post Notification” email without any “Automatic Latest Content” widget inside', 'mailpoet'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -34,7 +34,7 @@ class DeprecatedFilterNotice {
|
||||
|
||||
public function display(): Notice {
|
||||
$message = Helpers::replaceLinkTags(
|
||||
__('The <i>mailpoet_mailer_smtp_transport_agent</i> filter no longer works. Please replace it with <i>mailpoet_mailer_smtp_options<i>. Read more in [link]documentation[/link].', 'mailpoet'),
|
||||
__('The <i>mailpoet_mailer_smtp_transport_agent</i> filter no longer works. Please replace it with <i>mailpoet_mailer_smtp_options</i>. Read more in [link]documentation[/link].', 'mailpoet'),
|
||||
'https://kb.mailpoet.com/article/193-tls-encryption-does-not-work',
|
||||
['target' => '_blank']
|
||||
);
|
||||
|
Reference in New Issue
Block a user