Skip string to translate for SequenceMatcher for issue547
This commit is contained in:
1 parent
598618da19
commit
fd56a1e18d
1 file changed
+2
@@ -103,6 +103,8 @@ class View(OSV):
|
||||
del trans_views[view.model][string]
|
||||
continue
|
||||
for string_trans in trans_views.get(view.model, {}):
|
||||
if string_trans in strings:
|
||||
continue
|
||||
seqmatch = SequenceMatcher(lambda x: x == ' ',
|
||||
string, string_trans)
|
||||
if seqmatch.ratio() == 1.0:
|
||||
|
||||
Reference in new issue
Block a user