Fix i18n
This commit is contained in:
parent
25aaca942f
commit
0b1de58658
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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 })
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue