diff --git a/web/app/components/header/account-setting/members-page/transfer-ownership-modal/index.tsx b/web/app/components/header/account-setting/members-page/transfer-ownership-modal/index.tsx index 1811d799a3..9809e5003c 100644 --- a/web/app/components/header/account-setting/members-page/transfer-ownership-modal/index.tsx +++ b/web/app/components/header/account-setting/members-page/transfer-ownership-modal/index.tsx @@ -52,9 +52,7 @@ const TransferOwnershipModal = ({ onClose, show }: Props) => { const sendEmail = async () => { try { - const res = await sendOwnerEmail({ - language: userProfile.interface_language, - }) + const res = await sendOwnerEmail({}) startCount() if (res.data) setStepToken(res.data) diff --git a/web/i18n/en-US/common.ts b/web/i18n/en-US/common.ts index 3faf60c9ba..127c3841a1 100644 --- a/web/i18n/en-US/common.ts +++ b/web/i18n/en-US/common.ts @@ -302,7 +302,7 @@ const translation = { warning: 'You\'re about to transfer ownership of “{{workspace}}”. This takes effect immediately and can\'t be undone.', warningTip: 'You\'ll become an admin member, and the new owner will have full control.', sendTip: 'If you continue, we\'ll send a verification code to {{email}} for re-authentication.', - verifyEmail: 'Verify your email', + verifyEmail: 'Verify your current email', verifyContent: 'Your current email is {{email}}.', verifyContent2: 'We\'ll send a temporary verification code to this email for re-authentication.', codeLabel: 'Verification code', diff --git a/web/i18n/zh-Hans/common.ts b/web/i18n/zh-Hans/common.ts index 396ff5d4ff..b93f03254f 100644 --- a/web/i18n/zh-Hans/common.ts +++ b/web/i18n/zh-Hans/common.ts @@ -299,12 +299,12 @@ const translation = { transferOwnership: '转移所有权', transferModal: { title: '转移工作空间所有权', - warning: '您即将转让“{{workspace}}”的所有权。此操作立即生效,且无法撤消。', + warning: '您即将转移 “{{workspace}}”的所有权。该操作将立即生效,且无法撤销。', warningTip: '您将成为管理员成员,新所有者将拥有完全控制权。', - sendTip: '如果您继续,我们将向 {{email}} 发送验证码以进行重新验证。', - verifyEmail: '验证你的邮箱', - verifyContent: '您当前的电子邮件地址是 {{email}}。', - verifyContent2: '我们将向此电子邮件发送临时验证码,以便重新进行身份验证。', + sendTip: '如果您继续,我们将向 {{email}} 发送验证码以进行身份认证。', + verifyEmail: '验证您当前的邮箱', + verifyContent: '您当前的邮箱是 {{email}}。', + verifyContent2: '我们将向该邮箱发送临时验证码以完成身份验证。', codeLabel: '验证码', codePlaceholder: '输入 6 位数字验证码', resendTip: '没有收到验证码?',