Skip to content

Conversation

@pratyush07-hub
Copy link
Contributor

Backport PR

This is a backport of PR #7637 to the 18.x.x branch.

Description

This PR fixes the issue by :

  • The crash happened because the code assumed langmap[lang] always exists.
  • Now, if a language is not in langmap, it will fall back to displaying the language code itself, preventing the toolbar from crashing.

Changelog:

  • Added a news file documenting this bug fix.


If your pull request closes an open issue, include the exact text below, immediately followed by the issue number. When your pull request gets merged, then that issue will close automatically.

Closes #


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant