From: Chocobozzz Date: Thu, 20 Sep 2018 09:55:00 +0000 (+0200) Subject: Improve message when removing a user X-Git-Tag: v1.0.0-beta.14~38 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d466dece0a07555b91f01fa35fcc5dcfe79d9e12;p=oweals%2Fpeertube.git Improve message when removing a user --- diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts index 57e63d465..9697ce202 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/users/user-list/user-list.component.ts @@ -105,7 +105,8 @@ export class UserListComponent extends RestTable implements OnInit { return } - const res = await this.confirmService.confirm(this.i18n('Do you really want to delete this user?'), this.i18n('Delete')) + const message = this.i18n('If you remove this user, you will not be able to create another with the same username!') + const res = await this.confirmService.confirm(message, this.i18n('Delete')) if (res === false) return this.userService.removeUser(user).subscribe(