From 198d764ff08047ec469b21b1e8c54d8d29ef2b8d Mon Sep 17 00:00:00 2001 From: mike stedman Date: Wed, 17 Oct 2018 20:22:06 -0600 Subject: [PATCH] Make abuse-delete confirmation box clearer --- .../video-abuse-list/video-abuse-list.component.ts | 2 +- client/src/locale/source/angular_en_US.xml | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts index 188cbd7ac..7a219c846 100644 --- a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts +++ b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts @@ -85,7 +85,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit { } async removeVideoAbuse (videoAbuse: VideoAbuse) { - const res = await this.confirmService.confirm(this.i18n('Do you really want to delete this abuse?'), this.i18n('Delete')) + const res = await this.confirmService.confirm(this.i18n('Do you really want to delete this abuse report?'), this.i18n('Delete')) if (res === false) return this.videoAbuseService.removeVideoAbuse(videoAbuse).subscribe( diff --git a/client/src/locale/source/angular_en_US.xml b/client/src/locale/source/angular_en_US.xml index 2b0754fcf..4a71c6e17 100644 --- a/client/src/locale/source/angular_en_US.xml +++ b/client/src/locale/source/angular_en_US.xml @@ -4351,6 +4351,13 @@ When you will upload a video in this channel, the video support field will be au 1 + + Delete this report + + src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts + 1 + + Update moderation comment @@ -4372,8 +4379,8 @@ When you will upload a video in this channel, the video support field will be au 1 - - Do you really want to delete this abuse? + + Do you really want to delete this abuse report? src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts 1 -- 2.25.1