Feat: support account deletion (#10008)

This commit is contained in:
NFish
2024-12-30 13:39:26 +08:00
committed by GitHub
parent 74d3320519
commit adacd01f82
14 changed files with 316 additions and 346 deletions

View File

@@ -47,6 +47,8 @@ const translation = {
view: 'View',
viewMore: 'VIEW MORE',
regenerate: 'Regenerate',
submit: 'Submit',
skip: 'Skip',
},
errorMsg: {
fieldRequired: '{{field}} is required',
@@ -181,8 +183,19 @@ const translation = {
editName: 'Edit Name',
showAppLength: 'Show {{length}} apps',
delete: 'Delete Account',
deleteTip: 'Deleting your account will permanently erase all your data and it cannot be recovered.',
deleteConfirmTip: 'To confirm, please send the following from your registered email to ',
deleteTip: 'Please note, once confirmed, as the Owner of any Workspaces, your workspaces will be scheduled in a queue for permanent deletion, and all your user data will be queued for permanent deletion.',
deletePrivacyLinkTip: 'For more information about how we handle your data, please see our ',
deletePrivacyLink: 'Privacy Policy.',
deleteSuccessTip: 'Your account needs time to finish deleting. We\'ll email you when it\'s all done.',
deleteLabel: 'To confirm, please type in your email below',
deletePlaceholder: 'Please enter your email',
sendVerificationButton: 'Send Verification Code',
verificationLabel: 'Verification Code',
verificationPlaceholder: 'Paste the 6-digit code',
permanentlyDeleteButton: 'Permanently Delete Account',
feedbackTitle: 'Feedback',
feedbackLabel: 'Tell us why you deleted your account?',
feedbackPlaceholder: 'Optional',
},
members: {
team: 'Team',

View File

@@ -47,6 +47,8 @@ const translation = {
view: '查看',
viewMore: '查看更多',
regenerate: '重新生成',
submit: '提交',
skip: '跳过',
},
errorMsg: {
fieldRequired: '{{field}} 为必填项',
@@ -181,8 +183,19 @@ const translation = {
editName: '编辑名字',
showAppLength: '显示 {{length}} 个应用',
delete: '删除账户',
deleteTip: '删除账户后,所有数据将被永久删除且不可恢复。',
deleteConfirmTip: '请将以下内容通过您的账户邮箱发送到 ',
deleteTip: '请注意,一旦确认,作为任何空间的所有者,您的空间将被安排进入永久删除队列,您的所有用户数据将被排入永久删除队列。',
deletePrivacyLinkTip: '有关我们如何处理您的数据的更多信息,请参阅我们的',
deletePrivacyLink: '隐私政策',
deleteSuccessTip: '删除账户需要一些时间。完成后,我们会通过邮件通知您。',
deleteLabel: '请输入您的邮箱以确认',
deletePlaceholder: '输入您的邮箱...',
sendVerificationButton: '发送验证码',
verificationLabel: '验证码',
verificationPlaceholder: '输入 6 位数字验证码',
permanentlyDeleteButton: '永久删除',
feedbackTitle: '反馈',
feedbackLabel: '请告诉我们您为什么删除账户?',
feedbackPlaceholder: '选填',
},
members: {
team: '团队',