diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-05 09:13:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-05 09:13:26 +0200 |
commit | 25acef90a85c1584880dec96aa402f896af8364a (patch) | |
tree | 5e62e68c2e32a94a289ebd77f0610ed5a085a142 /client/src/app/videos/+video-watch/comment/video-comments.component.ts | |
parent | 632f9815c6ab87fce3f3f7399cef9f7679fde908 (diff) | |
download | PeerTube-25acef90a85c1584880dec96aa402f896af8364a.tar.gz PeerTube-25acef90a85c1584880dec96aa402f896af8364a.tar.zst PeerTube-25acef90a85c1584880dec96aa402f896af8364a.zip |
Fix i18n in components
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comments.component.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comments.component.ts | 2 |
1 files changed, 1 insertions, 1 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')) |