ActivityPub-federated video streaming platform using P2P directly in your web browser
Improve user delete confirmation modal
Chocobozzza7dbc608714e
diff --git a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.tsindex 109232ccba..b18d861d69 100644--- a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts+++ b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts@@ -83,8 +83,8 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {return}- const message = $localize`If you remove this user, you will not be able to create another with the same username!`- const res = await this.confirmService.confirm(message, $localize`Delete`)+ const message = $localize`If you remove user ${user.username}, you won't be able to create another with the same username!`+ const res = await this.confirmService.confirm(message, $localize`Delete ${user.username}`)if (res === false) returnthis.userService.removeUser(user)