I have changed the default minimum length for password from @@password_length = 5..128 to 6..128. When I give failing validation for password during the signup, the validation error is showing as "is too short (minimum is 5 characters)". How to change this error message to "minimum 6 characters". I read some anuswers in stackoverflow they say to look in to devise.views.en.yml . But still can't change the error message.
My devise.views.en.yml (password field) looks like:
passwords:
edit:
change_my_password: Change my password
change_your_password: Change your password
confirm_new_password: Confirm new password
new_password: New password
new:
forgot_your_password: Forgot your password?
send_me_reset_password_instructions: Send me reset password instructions
no_token: You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided.
send_instructions: You will receive an email with instructions on how to reset your password in a few minutes.
send_paranoid_instructions: If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes.
updated: Your password has been changed successfully. You are now signed in.
updated_not_active: Your password has been changed successfully.
Suggestions are most welcomed