diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-04 17:13:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-02-04 17:16:09 +0100 |
commit | 0b1de58658a5b131b8a4bbaf2e095002ca89e8c6 (patch) | |
tree | 99b27267a1b9a402c12268b6238484cdd16ff850 | |
parent | 25aaca942f0ed9bf676642d26347707fd64d6995 (diff) | |
download | PeerTube-0b1de58658a5b131b8a4bbaf2e095002ca89e8c6.tar.gz PeerTube-0b1de58658a5b131b8a4bbaf2e095002ca89e8c6.tar.zst PeerTube-0b1de58658a5b131b8a4bbaf2e095002ca89e8c6.zip |
Fix i18n
-rw-r--r-- | client/src/app/+accounts/accounts.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+accounts/accounts.component.ts b/client/src/app/+accounts/accounts.component.ts index ad611f221..a8157de0e 100644 --- a/client/src/app/+accounts/accounts.component.ts +++ b/client/src/app/+accounts/accounts.component.ts | |||
@@ -96,7 +96,7 @@ export class AccountsComponent implements OnInit, OnDestroy { | |||
96 | } | 96 | } |
97 | 97 | ||
98 | subscribersDisplayFor (count: number) { | 98 | subscribersDisplayFor (count: number) { |
99 | return this.i18n(`{count, plural, =1 {1 subscriber} other {${count} subscribers}}`, { count }) | 99 | return this.i18n('{count, plural, =1 {1 subscriber} other {{{count}} subscribers}}', { count }) |
100 | } | 100 | } |
101 | 101 | ||
102 | private getUserIfNeeded (account: Account) { | 102 | private getUserIfNeeded (account: Account) { |
diff --git a/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts b/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts index f4fe14662..f32a892a4 100644 --- a/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts +++ b/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts | |||
@@ -72,7 +72,7 @@ export class VideoChannelVideosComponent extends AbstractVideoList implements On | |||
72 | .getVideoChannelVideos(this.videoChannel, newPagination, this.sort) | 72 | .getVideoChannelVideos(this.videoChannel, newPagination, this.sort) |
73 | .pipe( | 73 | .pipe( |
74 | tap(({ total }) => { | 74 | tap(({ total }) => { |
75 | this.titlePage = this.i18n(`{total, plural, =1 {Published 1 video} other {Published ${total} videos}}`, { total }) | 75 | this.titlePage = this.i18n(`{total, plural, =1 {Published 1 video} other {Published {{total}} videos}}`, { total }) |
76 | }) | 76 | }) |
77 | ) | 77 | ) |
78 | } | 78 | } |