继续多语言处理

This commit is contained in:
xintaofei
2026-03-07 15:49:00 +08:00
parent 931f69c421
commit 6e5219cc10
18 changed files with 466 additions and 234 deletions

View File

@@ -33,6 +33,8 @@ function stripClonePrefix(message: string): string {
function mapCommonCodeToKey(code: string): WelcomeErrorKey {
switch (code) {
case "invalid_input":
case "configuration_missing":
case "configuration_invalid":
return "errors.invalidInput"
case "not_found":
return "errors.notFound"