Make abuse-delete confirmation box clearer

pull/1306/head
mike stedman 2018-10-17 20:22:06 -06:00 committed by Chocobozzz
parent 5aa4a3dd05
commit 198d764ff0
2 changed files with 10 additions and 3 deletions

View File

@ -85,7 +85,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit {
} }
async removeVideoAbuse (videoAbuse: VideoAbuse) { 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 if (res === false) return
this.videoAbuseService.removeVideoAbuse(videoAbuse).subscribe( this.videoAbuseService.removeVideoAbuse(videoAbuse).subscribe(

View File

@ -4351,6 +4351,13 @@ When you will upload a video in this channel, the video support field will be au
<context context-type="linenumber">1</context> <context context-type="linenumber">1</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="586bee8c27a761611eb05661524cc7ca944b5978" datatype="html">
<source>Delete this report</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts</context>
<context context-type="linenumber">1</context>
</context-group>
</trans-unit>
<trans-unit id="cf3b28ba29a907b334ab0e6dccd080a60ba23321" datatype="html"> <trans-unit id="cf3b28ba29a907b334ab0e6dccd080a60ba23321" datatype="html">
<source>Update moderation comment</source> <source>Update moderation comment</source>
<context-group purpose="location"> <context-group purpose="location">
@ -4372,8 +4379,8 @@ When you will upload a video in this channel, the video support field will be au
<context context-type="linenumber">1</context> <context context-type="linenumber">1</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="01a909e58239b5dde966ef97a79c656d2c452e03" datatype="html"> <trans-unit id="73b70e37cddaa6494d8a666b6cba90dc80595599" datatype="html">
<source>Do you really want to delete this abuse?</source> <source>Do you really want to delete this abuse report?</source>
<context-group purpose="location"> <context-group purpose="location">
<context context-type="sourcefile">src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts</context> <context context-type="sourcefile">src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts</context>
<context context-type="linenumber">1</context> <context context-type="linenumber">1</context>