diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-09 16:07:10 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-10 21:12:09 +0200 |
commit | 3487330d308166afb542cbacae0475693c0b059e (patch) | |
tree | 6a7b6ea3dd105661354bf0df6c6d3f7a7abe64e8 /client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts | |
parent | 5baee5fca418487e72ddcd6419d31bca8659b668 (diff) | |
download | PeerTube-3487330d308166afb542cbacae0475693c0b059e.tar.gz PeerTube-3487330d308166afb542cbacae0475693c0b059e.tar.zst PeerTube-3487330d308166afb542cbacae0475693c0b059e.zip |
preserve original variable names server-side
Diffstat (limited to 'client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts')
-rw-r--r-- | client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts | 4 |
1 files changed, 2 insertions, 2 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 ca37bccf3..a36acc2ab 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 | |||
@@ -107,7 +107,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit, AfterV | |||
107 | this.videoBlocklistService.blockVideo(videoAbuse.video.id, undefined, true) | 107 | this.videoBlocklistService.blockVideo(videoAbuse.video.id, undefined, true) |
108 | .subscribe( | 108 | .subscribe( |
109 | () => { | 109 | () => { |
110 | this.notifier.success(this.i18n('Video blocklisted.')) | 110 | this.notifier.success(this.i18n('Video blocked.')) |
111 | 111 | ||
112 | this.updateVideoAbuseState(videoAbuse, VideoAbuseState.ACCEPTED) | 112 | this.updateVideoAbuseState(videoAbuse, VideoAbuseState.ACCEPTED) |
113 | }, | 113 | }, |
@@ -123,7 +123,7 @@ export class VideoAbuseListComponent extends RestTable implements OnInit, AfterV | |||
123 | this.videoBlocklistService.unblockVideo(videoAbuse.video.id) | 123 | this.videoBlocklistService.unblockVideo(videoAbuse.video.id) |
124 | .subscribe( | 124 | .subscribe( |
125 | () => { | 125 | () => { |
126 | this.notifier.success(this.i18n('Video unblocklisted.')) | 126 | this.notifier.success(this.i18n('Video unblocked.')) |
127 | 127 | ||
128 | this.updateVideoAbuseState(videoAbuse, VideoAbuseState.ACCEPTED) | 128 | this.updateVideoAbuseState(videoAbuse, VideoAbuseState.ACCEPTED) |
129 | }, | 129 | }, |