Skip to content

Commit 89ecb96

Browse files
committed
fix endless loop when the jp text is empty
1 parent d1ffed2 commit 89ecb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function parseCsvFormatLocalization(txt: string): { [key: string]: string } {
109109
function countUntranslatedLines(lFile: LocalizatonObj) {
110110
let count = 0
111111
for (const key of Object.keys(lFile)) {
112-
if (key !== "" && lFile[key].chinese === "") {
112+
if (key !== "" && lFile[key].chinese === "" && lFile[key].japanese !== "") {
113113
count += 1
114114
}
115115
}

0 commit comments

Comments
 (0)