diff options
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comments.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.ts b/client/src/app/videos/+video-watch/comment/video-comments.component.ts index 8c6ddb89e..72f66ff09 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.ts +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.ts | |||
@@ -114,7 +114,7 @@ export class VideoCommentsComponent implements OnInit, OnChanges, OnDestroy { | |||
114 | async onWantedToDelete (commentToDelete: VideoComment) { | 114 | async onWantedToDelete (commentToDelete: VideoComment) { |
115 | let message = 'Do you really want to delete this comment?' | 115 | let message = 'Do you really want to delete this comment?' |
116 | if (commentToDelete.totalReplies !== 0) { | 116 | if (commentToDelete.totalReplies !== 0) { |
117 | message += this.i18n(' {{ totalReplies }} replies will be deleted too.', { totalReplies: commentToDelete.totalReplies }) | 117 | message += this.i18n(' {{totalReplies}} replies will be deleted too.', { totalReplies: commentToDelete.totalReplies }) |
118 | } | 118 | } |
119 | 119 | ||
120 | const res = await this.confirmService.confirm(message, this.i18n('Delete')) | 120 | const res = await this.confirmService.confirm(message, this.i18n('Delete')) |
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index f3b4f7a2b..23d74494c 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -163,7 +163,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
163 | status => { | 163 | status => { |
164 | this.notificationsService.success( | 164 | this.notificationsService.success( |
165 | this.i18n('Success'), | 165 | this.i18n('Success'), |
166 | this.i18n('Video {{ videoName }} had been blacklisted.', { videoName: this.video.name }) | 166 | this.i18n('Video {{videoName}} had been blacklisted.', { videoName: this.video.name }) |
167 | ) | 167 | ) |
168 | this.redirectService.redirectToHomepage() | 168 | this.redirectService.redirectToHomepage() |
169 | }, | 169 | }, |
@@ -265,7 +265,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
265 | status => { | 265 | status => { |
266 | this.notificationsService.success( | 266 | this.notificationsService.success( |
267 | this.i18n('Success'), | 267 | this.i18n('Success'), |
268 | this.i18n('Video {{ videoName }} deleted.', { videoName: this.video.name }) | 268 | this.i18n('Video {{videoName}} deleted.', { videoName: this.video.name }) |
269 | ) | 269 | ) |
270 | 270 | ||
271 | // Go back to the video-list. | 271 | // Go back to the video-list. |
@@ -297,7 +297,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
297 | 297 | ||
298 | private setVideoLikesBarTooltipText () { | 298 | private setVideoLikesBarTooltipText () { |
299 | this.likesBarTooltipText = this.i18n( | 299 | this.likesBarTooltipText = this.i18n( |
300 | '{{ likesNumber }} likes / {{ dislikesNumber }} dislikes', | 300 | '{{likesNumber}} likes / {{dislikesNumber}} dislikes', |
301 | { likesNumber: this.video.likes, dislikes: this.video.dislikes } | 301 | { likesNumber: this.video.likes, dislikes: this.video.dislikes } |
302 | ) | 302 | ) |
303 | } | 303 | } |