1
0
Fork 0
This commit is contained in:
Chocobozzz 2020-02-04 17:13:47 +01:00
parent 25aaca942f
commit 0b1de58658
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ export class AccountsComponent implements OnInit, OnDestroy {
} }
subscribersDisplayFor (count: number) { 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) { private getUserIfNeeded (account: Account) {

View file

@ -72,7 +72,7 @@ export class VideoChannelVideosComponent extends AbstractVideoList implements On
.getVideoChannelVideos(this.videoChannel, newPagination, this.sort) .getVideoChannelVideos(this.videoChannel, newPagination, this.sort)
.pipe( .pipe(
tap(({ total }) => { 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 })
}) })
) )
} }