mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
@@ -117,19 +117,19 @@ export const VerifyEmailDialog = ({
|
||||
disabled={true}
|
||||
value={email}
|
||||
/>
|
||||
<Button
|
||||
variant="primary"
|
||||
size="extraLarge"
|
||||
style={{ width: '100%' }}
|
||||
disabled={hasSentEmail}
|
||||
loading={loading}
|
||||
onClick={onSendEmail}
|
||||
>
|
||||
{hasSentEmail
|
||||
? t['com.affine.auth.sent']()
|
||||
: t['com.affine.auth.send.verify.email.hint']()}
|
||||
</Button>
|
||||
</AuthContent>
|
||||
<Button
|
||||
variant="primary"
|
||||
size="extraLarge"
|
||||
style={{ width: '100%' }}
|
||||
disabled={hasSentEmail}
|
||||
loading={loading}
|
||||
onClick={onSendEmail}
|
||||
>
|
||||
{hasSentEmail
|
||||
? t['com.affine.auth.sent']()
|
||||
: t['com.affine.auth.send.verify.email.hint']()}
|
||||
</Button>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1122,6 +1122,10 @@ export function useAFFiNEI18N(): {
|
||||
["com.affine.auth.sign.auth.code.resend.hint"](options: {
|
||||
readonly second: string;
|
||||
}): string;
|
||||
/**
|
||||
* `Sent`
|
||||
*/
|
||||
["com.affine.auth.sent"](): string;
|
||||
/**
|
||||
* `The verification link failed to be sent, please try again later.`
|
||||
*/
|
||||
@@ -1135,7 +1139,7 @@ export function useAFFiNEI18N(): {
|
||||
*/
|
||||
["com.affine.auth.sent.change.password.hint"](): string;
|
||||
/**
|
||||
* `Your password has upgraded! You can sign in AFFiNE Cloud with new password!`
|
||||
* `Your password has been updated! You can sign in AFFiNE Cloud with new password!`
|
||||
*/
|
||||
["com.affine.auth.sent.reset.password.success.message"](): string;
|
||||
/**
|
||||
|
||||
@@ -272,10 +272,11 @@
|
||||
"com.affine.auth.sign.auth.code.continue": "Continue with code",
|
||||
"com.affine.auth.sign.auth.code.resend": "Resend code",
|
||||
"com.affine.auth.sign.auth.code.resend.hint": "Resend in {{second}}s",
|
||||
"com.affine.auth.sent": "Sent",
|
||||
"com.affine.auth.sent.change.email.fail": "The verification link failed to be sent, please try again later.",
|
||||
"com.affine.auth.sent.change.email.hint": "Verification link has been sent.",
|
||||
"com.affine.auth.sent.change.password.hint": "Reset password link has been sent.",
|
||||
"com.affine.auth.sent.reset.password.success.message": "Your password has upgraded! You can sign in AFFiNE Cloud with new password!",
|
||||
"com.affine.auth.sent.reset.password.success.message": "Your password has been updated! You can sign in AFFiNE Cloud with new password!",
|
||||
"com.affine.auth.sent.set.password.hint": "Set password link has been sent.",
|
||||
"com.affine.auth.sent.set.password.success.message": "Your password has saved! You can sign in AFFiNE Cloud with email and password!",
|
||||
"com.affine.auth.sent.verify.email.hint": "Verification link has been sent.",
|
||||
|
||||
Reference in New Issue
Block a user