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 label inference regression #9594

Merged
merged 2 commits into from
Jan 22, 2024
Merged

Conversation

djhi
Copy link
Collaborator

@djhi djhi commented Jan 19, 2024

Problem

When introducing the SourceContext, we also introduced a regression on the label inference (when no translations are provided). We pass the modified source to the inference function (eg: title.en) instead of the input source (eg: title).
This results in wrong label like Title en instead of Title

@fzaninotto
Copy link
Member

Can you please add a description and a unit test?

@slax57 slax57 added this to the 5.0.0 milestone Jan 22, 2024
@slax57 slax57 merged commit 225297e into next Jan 22, 2024
11 checks passed
@slax57 slax57 deleted the fix-source-context-label-regression branch January 22, 2024 15:13
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.

3 participants