将 Localization.md 翻译至英语 (#4669)

This commit is contained in:
Glavo
2025-10-24 11:55:14 +08:00
committed by GitHub
parent a921a11be6
commit fd7f909561
3 changed files with 347 additions and 10 deletions

View File

@@ -103,12 +103,8 @@ public record Document(DocumentFileTree directory,
if (line == null)
throw new IOException("Missing end line for macro: " + macroName);
else if (line.startsWith("<!-- #END")) {
if (line.equals(endLine)) {
break;
} else {
throw new IOException("Invalid macro end line: " + line);
}
else if (line.equals(endLine)) {
break;
} else {
lines.add(line);
}