src/classes/CCValidator.php
protected function generate_error_message( $rule, $key, $params )
	{
		$params = $this->get_error_message_params( $key, $params );
		return __( ClanCats::$config->get( 'validation.language_prefix' ).'.'.$rule, $params );
	}
protected function generate_error_message( $rule, $key, $params )
	{
		$params = $this->get_error_message_params( $key, $params );
		return __( ClanCats::$config->get( 'validation.language_prefix' ).'.'.$rule, $params );
	}
protected function generate_error_message ( $ rule , $ key , $ params ) { $ params = $ this -> get_error_message_params ( $ key , $ params ) ; return __ ( ClanCats :: $ config -> get ( 'validation.language_prefix' ) . '.' . $ rule , $ params ) ; }
Generate the error message for an rule

@param string			$rule
@param string			$key
@param array 			$params
@return string
Generate the error message for an rule