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',