best api key error message
This commit is contained in:
@ -67,7 +67,7 @@ class Services extends APIEndpoint {
|
|||||||
default:
|
default:
|
||||||
$code = !empty($result['code']) ? $result['code'] : Bridge::CHECK_ERROR_UNKNOWN;
|
$code = !empty($result['code']) ? $result['code'] : Bridge::CHECK_ERROR_UNKNOWN;
|
||||||
$error = sprintf(
|
$error = sprintf(
|
||||||
__('Error validating MailPoet Sending Service key, please try again later (%s)', 'mailpoet'),
|
__("Error validating MailPoet Sending Service key, please try again later (%s). Note that it doesn't work on localhost.", 'mailpoet'),
|
||||||
$this->getErrorDescriptionByCode($code)
|
$this->getErrorDescriptionByCode($code)
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user