converted text domain to string instead of constant

This commit is contained in:
Jonathan Labreuille
2016-09-30 09:58:26 +02:00
parent 42202f676a
commit 7fbf84db1f
57 changed files with 365 additions and 366 deletions

View File

@@ -10,10 +10,10 @@ class NewsletterTemplate extends Model {
parent::__construct();
$this->addValidations('name', array(
'required' => __('Please specify a name', MAILPOET)
'required' => __('Please specify a name', 'mailpoet')
));
$this->addValidations('body', array(
'required' => __('The template body cannot be empty', MAILPOET)
'required' => __('The template body cannot be empty', 'mailpoet')
));
}