Skip string to translate for SequenceMatcher for issue547

This commit is contained in:
Cédric Krier committed 2008-11-13 16:00:39 +01:00
1 parent 598618da19
commit fd56a1e18d
1 file changed
+2
+2
View File
@@ -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: