Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix i18n

Chocobozzz0b1de58658a5
diff --git a/client/src/app/+accounts/accounts.component.ts b/client/src/app/+accounts/accounts.component.ts
index ad611f2211..a8157de0e5 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 {
}
subscribersDisplayFor (count: number) {
- return this.i18n(`{count, plural, =1 {1 subscriber} other {${count} subscribers}}`, { count })
+ return this.i18n('{count, plural, =1 {1 subscriber} other {{{count}} subscribers}}', { count })
}
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 f4fe146628..f32a892a44 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
.getVideoChannelVideos(this.videoChannel, newPagination, this.sort)
.pipe(
tap(({ total }) => {
- this.titlePage = this.i18n(`{total, plural, =1 {Published 1 video} other {Published ${total} videos}}`, { total })
+ this.titlePage = this.i18n(`{total, plural, =1 {Published 1 video} other {Published {{total}} videos}}`, { total })
})
)
}