chore: i18n
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -33,5 +33,6 @@
|
||||
"welcome": "欢迎来到 {{name}} 👏🏻",
|
||||
"guest_login_tip": "请登录后发消息",
|
||||
"sign_in": "登录",
|
||||
"sign_up": "注册"
|
||||
"sign_up": "注册",
|
||||
"signing_up": "注册中"
|
||||
}
|
||||
|
||||
@@ -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 <EmailNextTip />;
|
||||
@@ -148,7 +149,7 @@ export default function Reg() {
|
||||
placeholder={t("placeholder_confirm_pwd")}
|
||||
></Input>
|
||||
<Button type="submit" disabled={isLoading}>
|
||||
{isLoading ? "Signing Up" : t("sign_up")}
|
||||
{isLoading ? t('signing_up') : t("sign_up")}
|
||||
</Button>
|
||||
</form>
|
||||
<hr className="or" />
|
||||
|
||||
Reference in New Issue
Block a user