Fix i18n
This commit is contained in:
parent
25aaca942f
commit
0b1de58658
|
@ -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) {
|
||||
|
|
|
@ -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 })
|
||||
})
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue