Skip to content

Weird capitalization when translation for email is "Email Address" #5835

@jagthedrummer

Description

@jagthedrummer

After upgrading to Devise 5 some of our tests started complaining about a change in capitalization, which seems to be related to #4014 and #4834. But the actual message we're getting seems unexpected.

If we have a translation string for user.email set to "Email Address" then we get an error message with odd capitalization saying "Invalid email Address or password."

If we set the translation string to just "Email" then we get "Invalid email or password".

I'd expect it to downcase the entire translation string.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions