Improve validation message

This commit is contained in:
Frederic Guillot
2017-02-16 22:27:23 -05:00
parent e393b387fb
commit 706ced08df
26 changed files with 26 additions and 26 deletions

View File

@@ -35,7 +35,7 @@ class ProjectValidator extends BaseValidator
new Validators\AlphaNumeric('identifier', t('This value must be alphanumeric')) ,
new Validators\Unique('identifier', t('The identifier must be unique'), $this->db->getConnection(), ProjectModel::TABLE),
new Validators\Email('email', t('Email address invalid')) ,
new Validators\Unique('email', t('The email project must be unique across all projects'), $this->db->getConnection(), ProjectModel::TABLE),
new Validators\Unique('email', t('The project email must be unique across all projects'), $this->db->getConnection(), ProjectModel::TABLE),
);
}