From c4bb61ebf8f2d30873a9190757ae389f022479ae Mon Sep 17 00:00:00 2001 From: analogpvt <72215823+analogpvt@users.noreply.github.com> Date: Sat, 20 May 2023 12:05:50 +0530 Subject: [PATCH] Update PersonalSetting.js --- web/src/components/PersonalSetting.js | 42 +++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/web/src/components/PersonalSetting.js b/web/src/components/PersonalSetting.js index 63077ec7..344942ff 100644 --- a/web/src/components/PersonalSetting.js +++ b/web/src/components/PersonalSetting.js @@ -39,7 +39,7 @@ const PersonalSetting = () => { const { success, message, data } = res.data; if (success) { await copy(data); - showSuccess(`令牌已重置并已复制到剪贴板:${data}`); + showSuccess(`Token has been reset and copied to clipboard.:${data}`); } else { showError(message); } @@ -52,7 +52,7 @@ const PersonalSetting = () => { ); const { success, message } = res.data; if (success) { - showSuccess('微信账户绑定成功!'); + showSuccess('WeChat account bound successfully!'); setShowWeChatBindModal(false); } else { showError(message); @@ -68,7 +68,7 @@ const PersonalSetting = () => { const sendVerificationCode = async () => { if (inputs.email === '') return; if (turnstileEnabled && turnstileToken === '') { - showInfo('请稍后几秒重试,Turnstile 正在检查用户环境!'); + showInfo('Please wait a few seconds and retry, Turnstile is checking the user environment!'); return; } setLoading(true); @@ -77,7 +77,7 @@ const PersonalSetting = () => { ); const { success, message } = res.data; if (success) { - showSuccess('验证码发送成功,请检查邮箱!'); + showSuccess('Verification code sent successfully, please check your email!'); } else { showError(message); } @@ -92,7 +92,7 @@ const PersonalSetting = () => { ); const { success, message } = res.data; if (success) { - showSuccess('邮箱账户绑定成功!'); + showSuccess('Email account bound successfully!'); setShowEmailBindModal(false); } else { showError(message); @@ -102,22 +102,22 @@ const PersonalSetting = () => { return (
- 微信扫码关注公众号,输入「验证码」获取验证码(三分钟内有效) + Scan the QR code to follow our official WeChat account and enter the "Verification Code" to obtain the code (valid for three minutes).