X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=client%2Fsrc%2Fapp%2F%2Bvideo-channels%2Fvideo-channel-about%2Fvideo-channel-about.component.ts;h=537c7d08e385fc825bf5aba523a41a53fb7f3cb9;hb=66357162f8e1227495f09bd4f68446aad7071c6d;hp=19e4bc1f45be9ef3da170d8ec997ca83bb674dad;hpb=8c360747995e17eb5520e22fc3d7bd4c3d26eeee;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts index 19e4bc1f4..537c7d08e 100644 --- a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts +++ b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts @@ -2,7 +2,6 @@ import { Subscription } from 'rxjs' import { Component, OnDestroy, OnInit } from '@angular/core' import { MarkdownService } from '@app/core' import { VideoChannel, VideoChannelService } from '@app/shared/shared-main' -import { I18n } from '@ngx-translate/i18n-polyfill' @Component({ selector: 'my-video-channel-about', @@ -17,7 +16,6 @@ export class VideoChannelAboutComponent implements OnInit, OnDestroy { private videoChannelSub: Subscription constructor ( - private i18n: I18n, private videoChannelService: VideoChannelService, private markdownService: MarkdownService ) { } @@ -40,6 +38,6 @@ export class VideoChannelAboutComponent implements OnInit, OnDestroy { getVideoChannelDescription () { if (this.descriptionHTML) return this.descriptionHTML - return this.i18n('No description') + return $localize`No description` } }