Fix two issues with fuzzy matching by jeanas · Pull Request #970 · python-babel/babel
added 2 commits
February 12, 2023 02:54This seems intended at easing fuzzy matching with trivial edits in the msgstr (changing case and adding whitespace), but it was only done on the new msgstr, not on the old mgstr candidates, so it was possible for merging catalogs to miss messages.
difflib has a heuristic that used to make fuzzy matching unreliable for >200char strings. See python/cpython#90825 Fixes #969
akx
self-requested a review
akx approved these changes Feb 20, 2023
akx
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters