Yii-User extension message translation error

Hi,

The error message of the length validation cannot be translated. For example, when the value is too short, it always uses the default message "{attribute} is too short (minimum is 3 characters)."

Although in the model RegistrationForm.php, it defines the message as below:

array(‘username’, ‘length’, ‘max’=>20, ‘min’ => 3,‘message’ => UserModule::t(“Incorrect username (length between 3 and 20 characters).”)),

I need to add ‘tooShort’ and ‘tooLong’ to make it display user-defined message.

Is it a bug or do I miss anything in using the ‘message’ property of validator?

Thanks