jupiterjs/jquerymx — pull request #78 by marnusw (2011-10-10 15:27:10+00:00)
Title: Customizable default validation messages

I wanted to change the validation error message for the required field validator without having to specify it in every model; so I moved the default messages into a $.Model class attribute rather than having them defined in the built-in validations functions. Now the messages can be changed by writing a new string to $.Model.validationMessages._(msg)_ in your application config.

E.g. for my case I do:

`$.Model.validationMessages.presence = "Required field"`