converted text domain to string instead of constant
This commit is contained in:
@ -10,7 +10,7 @@ class Form extends Model {
|
||||
parent::__construct();
|
||||
|
||||
$this->addValidations('name', array(
|
||||
'required' => __('Please specify a name', MAILPOET)
|
||||
'required' => __('Please specify a name', 'mailpoet')
|
||||
));
|
||||
}
|
||||
|
||||
@ -47,12 +47,12 @@ class Form extends Model {
|
||||
return array(
|
||||
array(
|
||||
'name' => 'all',
|
||||
'label' => __('All', MAILPOET),
|
||||
'label' => __('All', 'mailpoet'),
|
||||
'count' => Form::getPublished()->count()
|
||||
),
|
||||
array(
|
||||
'name' => 'trash',
|
||||
'label' => __('Trash', MAILPOET),
|
||||
'label' => __('Trash', 'mailpoet'),
|
||||
'count' => Form::getTrashed()->count()
|
||||
)
|
||||
);
|
||||
|
Reference in New Issue
Block a user