You are here

function Lowercase_Constraint::getValidationErrorMessage in Password Policy 5

Overrides Letter_Constraint::getValidationErrorMessage

File

constraints/constraint_lowercase.php, line 16

Class

Lowercase_Constraint

Code

function getValidationErrorMessage() {
  return t('Password must contain a minimum of %numChars lowercase %characters.', array(
    '%numChars' => $this->minimumConstraintValue,
    '%characters' => format_plural($this->minimumConstraintValue, t('character'), t('characters')),
  ));
}