aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authormike stedman <barbeque@users.noreply.github.com>2018-10-17 20:22:06 -0600
committerChocobozzz <me@florianbigard.com>2018-10-18 14:59:22 +0200
commit198d764ff08047ec469b21b1e8c54d8d29ef2b8d (patch)
treeb5de56c1f1882bdab7d2c3b71ea12886acab9957 /client/src
parent5aa4a3dd05486a3c4910ffea888e5fae190bb53d (diff)
downloadPeerTube-198d764ff08047ec469b21b1e8c54d8d29ef2b8d.tar.gz
PeerTube-198d764ff08047ec469b21b1e8c54d8d29ef2b8d.tar.zst
PeerTube-198d764ff08047ec469b21b1e8c54d8d29ef2b8d.zip
Make abuse-delete confirmation box clearer
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts2
-rw-r--r--client/src/locale/source/angular_en_US.xml11
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 {
85 } 85 }
86 86
87 async removeVideoAbuse (videoAbuse: VideoAbuse) { 87 async removeVideoAbuse (videoAbuse: VideoAbuse) {
88 const res = await this.confirmService.confirm(this.i18n('Do you really want to delete this abuse?'), this.i18n('Delete')) 88 const res = await this.confirmService.confirm(this.i18n('Do you really want to delete this abuse report?'), this.i18n('Delete'))
89 if (res === false) return 89 if (res === false) return
90 90
91 this.videoAbuseService.removeVideoAbuse(videoAbuse).subscribe( 91 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
4351 <context context-type="linenumber">1</context> 4351 <context context-type="linenumber">1</context>
4352 </context-group> 4352 </context-group>
4353 </trans-unit> 4353 </trans-unit>
4354 <trans-unit id="586bee8c27a761611eb05661524cc7ca944b5978" datatype="html">
4355 <source>Delete this report</source>
4356 <context-group purpose="location">
4357 <context context-type="sourcefile">src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts</context>
4358 <context context-type="linenumber">1</context>
4359 </context-group>
4360 </trans-unit>
4354 <trans-unit id="cf3b28ba29a907b334ab0e6dccd080a60ba23321" datatype="html"> 4361 <trans-unit id="cf3b28ba29a907b334ab0e6dccd080a60ba23321" datatype="html">
4355 <source>Update moderation comment</source> 4362 <source>Update moderation comment</source>
4356 <context-group purpose="location"> 4363 <context-group purpose="location">
@@ -4372,8 +4379,8 @@ When you will upload a video in this channel, the video support field will be au
4372 <context context-type="linenumber">1</context> 4379 <context context-type="linenumber">1</context>
4373 </context-group> 4380 </context-group>
4374 </trans-unit> 4381 </trans-unit>
4375 <trans-unit id="01a909e58239b5dde966ef97a79c656d2c452e03" datatype="html"> 4382 <trans-unit id="73b70e37cddaa6494d8a666b6cba90dc80595599" datatype="html">
4376 <source>Do you really want to delete this abuse?</source> 4383 <source>Do you really want to delete this abuse report?</source>
4377 <context-group purpose="location"> 4384 <context-group purpose="location">
4378 <context context-type="sourcefile">src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts</context> 4385 <context context-type="sourcefile">src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts</context>
4379 <context context-type="linenumber">1</context> 4386 <context context-type="linenumber">1</context>