Skip to content
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

Fix: some components are translating labels twice #8700

Merged
merged 6 commits into from Mar 8, 2023

Conversation

djhi
Copy link
Contributor

@djhi djhi commented Mar 3, 2023

Some components were translating labels twice. Besides the validation messages were translated twice as well. Fixing this requires a potential breaking change: when using the InputHelperText directly, the error message isn't translated anymore unless it's an object with a message property. I believe this is a very rare usage if it even exists.

FIxes #8662

@djhi djhi added the RFR Ready For Review label Mar 3, 2023
@slax57 slax57 added this to the 4.8.3 milestone Mar 8, 2023
@slax57 slax57 merged commit 38b7172 into master Mar 8, 2023
@slax57 slax57 deleted the avoid-double-translations branch March 8, 2023 08:23
@slax57 slax57 changed the title Avoid double translations Fix: some components are translating labels twice Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Form validation errors are translated twice
2 participants