converted text domain to string instead of constant
This commit is contained in:
@ -11,10 +11,10 @@ class CustomField extends Model {
|
||||
function __construct() {
|
||||
parent::__construct();
|
||||
$this->addValidations('name', array(
|
||||
'required' => __('Please specify a name', MAILPOET)
|
||||
'required' => __('Please specify a name', 'mailpoet')
|
||||
));
|
||||
$this->addValidations('type', array(
|
||||
'required' => __('Please specify a type', MAILPOET)
|
||||
'required' => __('Please specify a type', 'mailpoet')
|
||||
));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user