lib/validator.js
function(rule, fn) {
      if (is_object(rule)) {
        _replacers = extend({}, _replacers, rule);
      } else if (is_string(rule)) {
        _replacers[rule] = fn;
      }
    }
function(rule, fn) {
      if (is_object(rule)) {
        _replacers = extend({}, _replacers, rule);
      } else if (is_string(rule)) {
        _replacers[rule] = fn;
      }
    }
function ( rule , fn ) { if ( is_object ( rule ) ) { _replacers = extend ( { } , _replacers , rule ) ; } else if ( is_string ( rule ) ) { _replacers [ rule ] = fn ; } }
add message replacers

@param {String/Object} rule
@param {Function}      fn

@return {Void}
add message replacers