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.
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.emailset 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
downcasethe entire translation string.