aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-settings/my-account-danger-zone
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-22 11:25:03 +0100
committerChocobozzz <me@florianbigard.com>2022-02-22 11:25:03 +0100
commit4edee628a0a154360b30eab48924b3987ac90798 (patch)
treeeb680e323c257f7365f198d656ec1e1ed67fb4f8 /client/src/app/+my-account/my-account-settings/my-account-danger-zone
parentbdb54e6f8c82b1dc95e41a43bf0a8d1082139309 (diff)
downloadPeerTube-4edee628a0a154360b30eab48924b3987ac90798.tar.gz
PeerTube-4edee628a0a154360b30eab48924b3987ac90798.tar.zst
PeerTube-4edee628a0a154360b30eab48924b3987ac90798.zip
Improve account removal message for users
Diffstat (limited to 'client/src/app/+my-account/my-account-settings/my-account-danger-zone')
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts9
1 files changed, 7 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts b/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts
index 4a46f1ad9..2bae3499e 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts
+++ b/client/src/app/+my-account/my-account-settings/my-account-danger-zone/my-account-danger-zone.component.ts
@@ -19,8 +19,13 @@ export class MyAccountDangerZoneComponent {
19 19
20 async deleteMe () { 20 async deleteMe () {
21 const res = await this.confirmService.confirmWithInput( 21 const res = await this.confirmService.confirmWithInput(
22 // eslint-disable-next-line max-len 22 $localize`Are you sure you want to delete your account?` +
23 $localize`Are you sure you want to delete your account? This will delete all your data, including channels, videos and comments. Content cached by other servers and other third-parties might make longer to be deleted.`, 23 '<br /><br />' +
24 // eslint-disable-next-line max-len
25 $localize`This will delete all your data, including channels, videos, comments and you won't be able to create another user on this instance with "${this.user.username}" username.` +
26 '<br /><br />' +
27 $localize`Content cached by other servers and other third-parties might make longer to be deleted.`,
28
24 $localize`Type your username to confirm`, 29 $localize`Type your username to confirm`,
25 this.user.username, 30 this.user.username,
26 $localize`Delete your account`, 31 $localize`Delete your account`,