Fix typos in translations

[MAILPOET-4447]
This commit is contained in:
Ján Mikláš
2022-06-20 08:32:09 +02:00
committed by Veljko V
parent 372a7fb307
commit f10596feec
3 changed files with 3 additions and 3 deletions

View File

@@ -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'));
}
}
}

View File

@@ -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']
);