Fix WordPress.WP.I18n.MissingTranslatorsComment errors

[MAILPOET-4524]
This commit is contained in:
David Remer
2022-08-04 12:22:42 +03:00
committed by Veljko V
parent b05e6d414c
commit 218de96024
51 changed files with 108 additions and 11 deletions

View File

@@ -15,6 +15,7 @@ class SendGridMapper {
public function getErrorFromResponse($response, $subscriber) {
$response = (!empty($response['errors'][0])) ?
$response['errors'][0] :
// translators: %s is the name of the method.
sprintf(__('%s has returned an unknown error.', 'mailpoet'), Mailer::METHOD_SENDGRID);
$level = MailerError::LEVEL_HARD;