|
@@ -88,8 +88,10 @@ public class TranslateUtil {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ Collections.sort(translates,new MyComparator());
|
|
|
|
+
|
|
for (int i = 0; i <translates.size() ; i++) {
|
|
for (int i = 0; i <translates.size() ; i++) {
|
|
- html = html.replaceFirst(translates.get(i),getEnTranslateInfo(translates.get(i)));
|
|
|
|
|
|
+ html = html.replace(translates.get(i),getEnTranslateInfo(translates.get(i)));
|
|
}
|
|
}
|
|
return html;
|
|
return html;
|
|
}
|
|
}
|