diff --git a/public/locales/en/auth.json b/public/locales/en/auth.json index b054b3d5..5de19082 100644 --- a/public/locales/en/auth.json +++ b/public/locales/en/auth.json @@ -33,5 +33,6 @@ "welcome": "Welcome to {{name}} server", "guest_login_tip": "Please sign in to send a message", "sign_in": "Sign In", - "sign_up": "Sign Up" + "sign_up": "Sign Up", + "signing_up": "Signing Up" } diff --git a/public/locales/zh/auth.json b/public/locales/zh/auth.json index 4f9d2537..8efc5f86 100644 --- a/public/locales/zh/auth.json +++ b/public/locales/zh/auth.json @@ -33,5 +33,6 @@ "welcome": "欢迎来到 {{name}} 👏🏻", "guest_login_tip": "请登录后发消息", "sign_in": "登录", - "sign_up": "注册" + "sign_up": "注册", + "signing_up": "注册中" } diff --git a/src/routes/reg/Register.tsx b/src/routes/reg/Register.tsx index f3d6d97c..64fba115 100644 --- a/src/routes/reg/Register.tsx +++ b/src/routes/reg/Register.tsx @@ -100,6 +100,7 @@ export default function Reg() { const googleLogin = enableGoogleLogin && clientId; // magic token 没有并且没有开放注册 if (whoCanSignUp !== "EveryOne" && !magicToken) + // todo: i18n return <>Sign up method is updated to Invitation Link Only; const { email, password, confirmPassword } = input; if (data?.mail_is_sent) return ; @@ -148,7 +149,7 @@ export default function Reg() { placeholder={t("placeholder_confirm_pwd")} >