]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-main/account/actor-avatar-info.component.ts
Fix lint
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / account / actor-avatar-info.component.ts
index 0c04ae4a64e71c4f7430387aa3fa78271dc19633..3a86e5b21a482fd239fd75a1d80fbdd161e9bd2c 100644 (file)
@@ -1,8 +1,6 @@
-import { BytesPipe } from 'ngx-pipes'
 import { Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core'
 import { Notifier, ServerService } from '@app/core'
-import { Account, VideoChannel } from '@app/shared/shared-main'
-import { I18n } from '@ngx-translate/i18n-polyfill'
+import { Account, BytesPipe, VideoChannel } from '@app/shared/shared-main'
 import { ServerConfig } from '@shared/models'
 
 @Component({
@@ -24,11 +22,10 @@ export class ActorAvatarInfoComponent implements OnInit {
 
   constructor (
     private serverService: ServerService,
-    private notifier: Notifier,
-    private i18n: I18n
+    private notifier: Notifier
   ) {
     this.bytesPipe = new BytesPipe()
-    this.maxSizeText = this.i18n('max size')
+    this.maxSizeText = $localize`max size`
   }
 
   ngOnInit (): void {