feat(core): make password sigin default if user has one (#5577)

This commit is contained in:
liuyi
2024-01-17 11:13:58 +00:00
parent bf88b6edaa
commit b9f20877d0
12 changed files with 170 additions and 71 deletions

View File

@@ -454,8 +454,8 @@
"com.affine.auth.sign.auth.code.error.hint": "Wrong code, please try again",
"com.affine.auth.sign.auth.code.message": "If you haven't received the email, please check your spam folder.",
"com.affine.auth.sign.auth.code.message.password": "Or <1>sign in with password</1> instead.",
"com.affine.auth.sign.auth.code.on.resend.hint": "Send code again",
"com.affine.auth.sign.auth.code.resend.hint": "Resend code",
"com.affine.auth.sign.auth.code.resend.hint": "Resend link",
"com.affine.auth.sign.auth.code.send-email.sign-in": "Sign in with magic link",
"com.affine.auth.sign.condition": "Terms of Conditions",
"com.affine.auth.sign.email.continue": "Continue with Email",
"com.affine.auth.sign.email.error": "Invalid email",
@@ -467,8 +467,9 @@
"com.affine.auth.sign.no.access.link": "AFFiNE Cloud Early Access",
"com.affine.auth.sign.no.access.wait": "Wait for public release",
"com.affine.auth.sign.policy": "Privacy Policy",
"com.affine.auth.sign.sent.email.message.end": " You can click the link to create an account automatically.",
"com.affine.auth.sign.sent.email.message.start": "An email with a magic link has been sent to ",
"com.affine.auth.sign.sent.email.message.sent-tips": "An email with a magic link has been sent to <a>{{email}}</a>.",
"com.affine.auth.sign.sent.email.message.sent-tips.sign-up": "You can click the link to create an account automatically.",
"com.affine.auth.sign.sent.email.message.sent-tips.sign-in": "You can click the link to sign in automatically.",
"com.affine.auth.sign.up": "Sign up",
"com.affine.auth.sign.up.sent.email.subtitle": "Create your account",
"com.affine.auth.sign.up.success.subtitle": "The app will automatically open or redirect to the web version. If you encounter any issues, you can also click the button below to manually open the AFFiNE app.",

View File

@@ -443,7 +443,8 @@
"com.affine.auth.sign.auth.code.message": "如果您没有收到电子邮件,请检查您的垃圾邮件文件夹。",
"com.affine.auth.sign.auth.code.message.password": "或者使用<1>密码登录</1>。",
"com.affine.auth.sign.auth.code.on.resend.hint": "再次发送验证码",
"com.affine.auth.sign.auth.code.resend.hint": "重发验证码",
"com.affine.auth.sign.auth.code.sent-tips": "重发验证码",
"com.affine.auth.sign.auth.code.send-email.sign-in": "邮件登录",
"com.affine.auth.sign.condition": "条款与条件",
"com.affine.auth.sign.email.continue": "以电子邮件继续",
"com.affine.auth.sign.email.error": "无效的电子邮件",
@@ -456,7 +457,8 @@
"com.affine.auth.sign.no.access.wait": "请期待正式发行",
"com.affine.auth.sign.policy": "隐私政策",
"com.affine.auth.sign.sent.email.message.end": "您可以点击链接自动创建账户。",
"com.affine.auth.sign.sent.email.message.start": "一封带有 magic link 的邮件已发送至",
"com.affine.auth.sign.sent.email.message.sign-in.end": "您可以点击链接自动登录。",
"com.affine.auth.sign.sent.email.message.sent-tips": "一封带有 magic link 的邮件已发送至 <a>{{email}}</a>。",
"com.affine.auth.sign.up": "注册",
"com.affine.auth.sign.up.sent.email.subtitle": "创建您的账号",
"com.affine.auth.sign.up.success.subtitle": "AFFiNE 客户端将自动打开或重定向到网页端,如果您遇到任何问题,可以点击下方按钮手动打开 AFFiNE。",

View File

@@ -365,7 +365,7 @@
"com.affine.auth.sign.message": "點擊上方「使用 Google/電子郵件地址 繼續」,即表示您確認同意 AFFiNE 的 <1>Terms of Conditions</1> and <3>Privacy Policy</3>。",
"com.affine.auth.sign.policy": "隱私政策",
"com.affine.auth.sign.sent.email.message.end": "您可以點擊連結自動建立帳號。",
"com.affine.auth.sign.sent.email.message.start": "一封帶有魔法連結的電子郵件已發送至",
"com.affine.auth.sign.sent.email.message.sent-tips": "一封帶有魔法連結的電子郵件已發送至 <a>{{email}}</a>。",
"com.affine.auth.sign.up": "建立帳號",
"com.affine.auth.sign.up.sent.email.subtitle": "建立您的帳號",
"com.affine.auth.sign.up.success.subtitle": "應用將自動打開或重定向到網頁版本。如果您遇到任何問題,您還可以點擊下面的按鈕手動打開 AFFiNE 應用程序。",