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

@@ -50,7 +50,7 @@ class Model extends \Sudzy\ValidModel {
$column = $matches[1];
$this->setError(
sprintf(
__('Another record already exists. Please specify a different "%1$s".', Env::$plugin_name),
__('Another record already exists. Please specify a different "%1$s".', MAILPOET),
$column
)
);