lib/validator.js
function(rule, message) {
      if (is_object(rule)) {
        _messages = extend({}, _messages, rule);
      } else if (is_string(rule)) {
        _messages[rule] = message;
      }
    }
function(rule, message) {
      if (is_object(rule)) {
        _messages = extend({}, _messages, rule);
      } else if (is_string(rule)) {
        _messages[rule] = message;
      }
    }
function ( rule , message ) { if ( is_object ( rule ) ) { _messages = extend ( { } , _messages , rule ) ; } else if ( is_string ( rule ) ) { _messages [ rule ] = message ; } }
add custom messages

@param {String/Object} rule
@param {String}        message

@return {Void}
add custom messages