]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Make abuse-delete confirmation box clearer
authormike stedman <barbeque@users.noreply.github.com>
Thu, 18 Oct 2018 02:22:06 +0000 (20:22 -0600)
committerChocobozzz <me@florianbigard.com>
Thu, 18 Oct 2018 12:59:22 +0000 (14:59 +0200)
client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts
client/src/locale/source/angular_en_US.xml

index 188cbd7ac32a4eff92c6173eaf810b7e359f8a1a..7a219c846addead14cab409ad6ac3e9b678d74b4 100644 (file)
@@ -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(
index 2b0754fcf9f6d56f22ec791dcc0f2748f473e9dd..4a71c6e17f2d632800f2fd344f640bab69f54403 100644 (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-group>
       </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">
         <source>Update moderation comment</source>
         <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-group>
       </trans-unit>
-      <trans-unit id="01a909e58239b5dde966ef97a79c656d2c452e03" datatype="html">
-        <source>Do you really want to delete this abuse?</source>
+      <trans-unit id="73b70e37cddaa6494d8a666b6cba90dc80595599" datatype="html">
+        <source>Do you really want to delete this abuse 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>