-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Invalid Login or password." is grammatically incorrect #4095
Comments
I'm not sure how this should be resolved, different languages will have different requirements with regards to capitalization. |
Before For other idioms, they can simply change the entire message of the
|
@ulissesalmeida I think I'm not following, are you saying we should not humanize them for English, or we should replace it with our own message that doesn't include |
@connorshea I think we should humanize them for English since it is the Devise default(downcasing the keys). For other languages that do not follow this default, I think the developers needs to change in their applications for a proper translation that's doesn't include the |
Temporary fix until Devise 4 fixes this grammar issue: heartcombo/devise#4095
@ulissesalmeida Are there still plans to change this back to using all lowercase (but keeping the humanize change)? |
I think to humanize authentication keys is good for English but why |
@crawfoal @bernardogalindo We can follow with the downcase solution (keeping the humazine attribute). If someone is willing to open a PR for this, I'd be happy to accept it. |
Closed via #4834 |
This was changed in PR #4014 and released with 4.1.0.
With an incorrect password the user sees "Invalid Login or password." "Login" shouldn't be capitalized in this case, as it's not a proper noun and isn't at the beginning of the sentence.
This is because of the following i18n string:
#4014 "humanized" the
authentication_keys
variable, thus causing this issue.The text was updated successfully, but these errors were encountered: