Make English the repository working language (#5)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei Zheng
2026-07-20 17:45:02 +08:00
committed by GitHub
parent e80cde0ea6
commit 0eaaa54e25
136 changed files with 1515 additions and 1352 deletions
+2 -2
View File
@@ -354,7 +354,7 @@ function confirmYes(prompt: string): Promise<boolean> {
function parseIntArg(value: string): number {
const n = Number.parseInt(value, 10);
if (Number.isNaN(n)) {
throw new Error(`无效的整数:${value}`);
throw new Error(`Invalid integer: ${value}`);
}
return n;
}
@@ -362,7 +362,7 @@ function parseIntArg(value: string): number {
function parseFloatArg(value: string): number {
const n = Number.parseFloat(value);
if (Number.isNaN(n)) {
throw new Error(`无效的数值:${value}`);
throw new Error(`Invalid number: ${value}`);
}
return n;
}