Skip to content

Downcase each word of multi-word authentication keys in failure flashes - #5878

Open
harissmansoor wants to merge 1 commit into
heartcombo:mainfrom
harissmansoor:fix-multiword-auth-key-casing
Open

harissmansoor wants to merge 1 commit into
heartcombo:mainfrom
harissmansoor:fix-multiword-auth-key-casing

Conversation

@harissmansoor

@harissmansoor harissmansoor commented Oct 31, 2026 •

Copy link
Copy Markdown

Fixes #5864.

downcase_first on the whole authentication-key label turned "Company Code" into "company Code". This lowercases the first letter of each title-cased word instead, and leaves acronyms and "E-Mail" alone. "Invalid email or password." is unchanged, and the German failure message still starts with "E-Mail".

Test plan

  • "Login ID" and "Company Code" render as "Invalid login ID, company code or password."
  • Existing failure-app tests pass, including the German locale (45 runs)

downcase_first turned "Company Code" into "company Code". Leave acronyms and E-Mail intact.
@harissmansoor
harissmansoor marked this pull request as ready for review November 3, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Title-cased multi-word attribute names produce mixed-case flash messages since 5.0 (e.g. "company Code")

1 participant