jzaefferer/jquery-validation — pull request #463 by plblum (2012-07-21 16:25:53+00:00)
Title: Initial release of better token support

Introduces support for better tokens within error messages. Replaces the
formatAndAdd method where error messages tokens are currently handled.
Introduces a new property called replaceTokens which is similar to the
methods property, hosting token replacement methods specific to each
validation method.
Includes support for all existing validation methods. Most use the
defaultTokenReplacer method. Those with min/max concepts have more token
support.
The ReplaceTokens test.html file provides a live example.