aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+video-channels/video-channel-about
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+video-channels/video-channel-about')
-rw-r--r--client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts4
1 files changed, 1 insertions, 3 deletions
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'
2import { Component, OnDestroy, OnInit } from '@angular/core' 2import { Component, OnDestroy, OnInit } from '@angular/core'
3import { MarkdownService } from '@app/core' 3import { MarkdownService } from '@app/core'
4import { VideoChannel, VideoChannelService } from '@app/shared/shared-main' 4import { VideoChannel, VideoChannelService } from '@app/shared/shared-main'
5import { I18n } from '@ngx-translate/i18n-polyfill'
6 5
7@Component({ 6@Component({
8 selector: 'my-video-channel-about', 7 selector: 'my-video-channel-about',
@@ -17,7 +16,6 @@ export class VideoChannelAboutComponent implements OnInit, OnDestroy {
17 private videoChannelSub: Subscription 16 private videoChannelSub: Subscription
18 17
19 constructor ( 18 constructor (
20 private i18n: I18n,
21 private videoChannelService: VideoChannelService, 19 private videoChannelService: VideoChannelService,
22 private markdownService: MarkdownService 20 private markdownService: MarkdownService
23 ) { } 21 ) { }
@@ -40,6 +38,6 @@ export class VideoChannelAboutComponent implements OnInit, OnDestroy {
40 getVideoChannelDescription () { 38 getVideoChannelDescription () {
41 if (this.descriptionHTML) return this.descriptionHTML 39 if (this.descriptionHTML) return this.descriptionHTML
42 40
43 return this.i18n('No description') 41 return $localize`No description`
44 } 42 }
45} 43}