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

@@ -15,7 +15,7 @@ class Settings extends APIEndpoint {
if(empty($settings)) {
return $this->badRequest(array(
APIError::BAD_REQUEST =>
__("You have not specified any settings to be saved.", Env::$plugin_name)
__("You have not specified any settings to be saved.", MAILPOET)
));
} else {
foreach($settings as $name => $value) {