Skip to content

updated error message to i18t#2

Open
CapellaBlue wants to merge 7 commits into
masterfrom
DPB-45
Open

updated error message to i18t#2
CapellaBlue wants to merge 7 commits into
masterfrom
DPB-45

Conversation

@CapellaBlue
Copy link
Copy Markdown

No description provided.

Comment thread test/review_guide.md Outdated
@@ -0,0 +1,41 @@
### Questions to ask when evaluating an influencer campaign 
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont think you meant to push this ;)

Comment thread lib/devise/uncommon_password/model.rb Outdated
errors.add(:password, "is a very common password. Please choose something harder to guess.")
errors.add(:password, def not_common_password
if Devise::Models::UncommonPassword.common_passwords.include? password.downcase
errors.add(:password, I18n.t('errors.messages.common_password'))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This string doesnt exist yet in our app

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I mean is, we need to add it. That is why you're not seeing the error message when testing.

Copy link
Copy Markdown
Author

@CapellaBlue CapellaBlue Sep 9, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, thank you!
Since it's been added to to the devise yaml file, (errors.messages.common_passord), I'm unsure where else to place this string.

@CapellaBlue
Copy link
Copy Markdown
Author

CapellaBlue commented Sep 9, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants