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 (
-
通用设置
+
General Settings
- 注意,此处生成的令牌用于系统管理,而非用于请求 OpenAI 相关的服务,请知悉。 + Please note that the token generated here is for system management and not for requesting OpenAI-related services. - + -
账号绑定
+
Account Binding
setShowWeChatBindModal(false)} @@ -130,31 +130,31 @@ const PersonalSetting = () => {

- 微信扫码关注公众号,输入「验证码」获取验证码(三分钟内有效) + Scan the QR code to follow our official WeChat account and enter the "Verification Code" to obtain the code (valid for three minutes).

- + setShowEmailBindModal(false)} @@ -163,25 +163,25 @@ const PersonalSetting = () => { size={'tiny'} style={{ maxWidth: '450px' }} > - 绑定邮箱地址 + Bind Email Address
- 获取验证码 + Get Verification Code } /> { onClick={bindEmail} loading={loading} > - 绑定 + Bind