import { immutableAssign } from '@app/helpers'
import { VideoService } from '@app/shared/shared-main'
import { AbstractVideoList } from '@app/shared/shared-video-miniature'
-import { I18n } from '@ngx-translate/i18n-polyfill'
import { VideoSortField } from '@shared/models'
@Component({
useUserVideoPreferences = true
constructor (
- protected i18n: I18n,
protected router: Router,
protected serverService: ServerService,
protected route: ActivatedRoute,
this.generateSyndicationList()
- this.titlePage = this.i18n('Most liked videos')
- this.titleTooltip = this.i18n('Videos that have the higher number of likes.')
+ this.titlePage = $localize`Most liked videos`
+ this.titleTooltip = $localize`Videos that have the most likes.`
}
getVideosObservable (page: number) {