mirror of
https://github.com/octopusYan/dayz-mod-translator.git
synced 2025-01-31 03:06:42 +08:00
fix: csv翻译文本判断
This commit is contained in:
parent
e6dd1c39f8
commit
904f37a15b
@ -366,14 +366,14 @@ public class PBOUtil {
|
||||
if (StringUtils.isEmpty(original)) continue;
|
||||
|
||||
// 是否可格式化读取
|
||||
if (row.size() == 15) {
|
||||
if (row.size() >= 15) {
|
||||
|
||||
String chinese = row.get(11);
|
||||
String chinese = row.get(14);
|
||||
|
||||
// 已有中文翻译,则跳过
|
||||
if (containsChinese(chinese)) continue;
|
||||
|
||||
item = new WordCsvItem(file, lines, original, chinese, row.get(14));
|
||||
item = new WordCsvItem(file, lines, original, chinese, row.get(11));
|
||||
} else {
|
||||
item = new WordCsvItem(file, lines, row.getFirst(), original);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user