fix pure english bugs.
This commit is contained in:
parent
70606848cc
commit
3b5d85c524
@ -92,6 +92,7 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
|
||||
if (sibling.children) {
|
||||
processContainer(sibling);
|
||||
}
|
||||
if(!isPureEnglish(sibling.textContent)){
|
||||
$current.addClass('original-english');
|
||||
$sibling.addClass('translated');
|
||||
$sibling.addClass('translated-cn');
|
||||
@ -104,6 +105,8 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
|
||||
// addSpacingBetweenCnAndEn(sibling);
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user