Closed dpetrov closed 12 years ago
It would be nice if the role could localize the required message and to take in mind the $field->required_message attribute.
I am not quite sure, but something like $self->_localize($self->required_message) probably should work
The correct would be: $self->_localize($field->get_message('required'), $field->loc_label);
Done, added unit test to confirm :)
Thanks
It would be nice if the role could localize the required message and to take in mind the $field->required_message attribute.
I am not quite sure, but something like $self->_localize($self->required_message) probably should work