This commit is contained in:
hailin 2025-04-22 13:23:30 +08:00
parent 9c05f3916d
commit a3ac46da2a
4 changed files with 14 additions and 5 deletions

View File

@ -139,8 +139,8 @@ export default async function Login({
const errorMessage = String(t("login.signupNotAllowed", { email })) // ← 这是字符串
console.log(`[login page] SignUp======>Redirecting to workspace:, ${errorMessage}`)
return redirect(
// `/${localeString}/login?message=Email ${email} is not allowed to sign up.`
`/${localeString}/login?message=${errorMessage}`
`/${localeString}/login?message=Email ${email} is not allowed to sign up.`
// `/${localeString}/login?message=${errorMessage}`
)
}
}

View File

@ -53,7 +53,10 @@
"unavailable": "UNAVAILABLE",
"usernameError": "Username must be letters, numbers, or underscores only - no other characters or spacing allowed.",
"chatDisplayName": "Chat Display Name",
"displayNamePlaceholder": "Your Name"
"displayNamePlaceholder": "Your Name",
"checkEmailToReset": "Check email to reset password",
"signupNotAllowed": "Email {{email}} is not allowed to sign up.",
"unexpectedError": "An unexpected error occurred"
},
"chat": {

View File

@ -52,7 +52,10 @@
"unavailable": "利用不可",
"usernameError": "ユーザー名は文字、数字、またはアンダースコアのみで、その他の文字やスペースは使用できません。",
"chatDisplayName": "チャット表示名",
"displayNamePlaceholder": "あなたの名前"
"displayNamePlaceholder": "あなたの名前",
"checkEmailToReset": "パスワードをリセットするにはメールを確認してください",
"signupNotAllowed": "メールアドレス {{email}} は登録できません。",
"unexpectedError": "予期しないエラーが発生しました"
},
"chat": {

View File

@ -52,7 +52,10 @@
"unavailable": "不可用",
"usernameError": "用户名只能包含字母、数字或下划线,不能包含其他字符或空格。",
"chatDisplayName": "聊天显示名称",
"displayNamePlaceholder": "您的名称"
"displayNamePlaceholder": "您的名称",
"checkEmailToReset": "请检查邮箱以重置密码",
"signupNotAllowed": "邮箱 {{email}} 不允许注册。",
"unexpectedError": "发生了未知错误"
},
"chat": {