Commit 4d2529a3 authored by luo hongyu's avatar luo hongyu
Browse files

[dev]修复截取bug

parent f4d77c8a
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
......@@ -279,6 +279,10 @@ public class NewTranslateService {
translateSplit=new StringBuilder();
}
}
if(translateSplit.length()!=0){
translateSplits.add(translateSplit.toString());
translateSplit=new StringBuilder();
}
for(int i=0;i<translateSplits.size();i++){
String tmpContentZh = "";
while (failCount.get() > 0 && tmpContentZh.length() == 0) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment