Index: branches/5.0.x/core/kernel/utility/formatters/password_formatter.php =================================================================== diff -u -N -r12734 -r13043 --- branches/5.0.x/core/kernel/utility/formatters/password_formatter.php (.../password_formatter.php) (revision 12734) +++ branches/5.0.x/core/kernel/utility/formatters/password_formatter.php (.../password_formatter.php) (revision 13043) @@ -1,6 +1,6 @@ Application->isAdmin ? 'la' : 'lu'; if ($new_password != $verify_password) { - // passwords don't match (no matter what is their length) - $object->SetError($verify_field, 'passwords_do_not_match', 'lu_passwords_do_not_match'); + // passwords don't match (no matter what is their length) + $object->SetError($verify_field, 'passwords_do_not_match', $phrase_error_prefix.'_passwords_do_not_match'); } $min_length = $this->Application->ConfigValue('Min_Password'); // for error message too - - if (mb_strlen($new_password) < $min_length) { - $error_msg = '+' . sprintf($this->Application->Phrase('lu_passwords_too_short'), $min_length); // + -> not phrase + if (mb_strlen($new_password) < $min_length) { + $error_msg = '+' . sprintf($this->Application->Phrase($phrase_error_prefix.'_passwords_too_short'), $min_length); // + -> not phrase $object->SetError($password_field, 'passwords_min_length', $error_msg); } }