updated Env::plugin_name to constant for text domain

This commit is contained in:
Jonathan Labreuille
2016-09-27 13:22:51 +02:00
parent ba6198f956
commit 42202f676a
58 changed files with 370 additions and 369 deletions

View File

@@ -22,7 +22,7 @@ class Mailer extends APIEndpoint {
if($result === false) {
return $this->errorResponse(array(
APIError::BAD_REQUEST => __("The email could not be sent. Please check your settings.", Env::$plugin_name)
APIError::BAD_REQUEST => __("The email could not be sent. Please check your settings.", MAILPOET)
));
} else {
return $this->successResponse(null);