]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-main/shared-main.module.ts
reword unclear sentences, check for grammar
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / shared-main.module.ts
index c6192f6f852fe30c285b522249730db62854cf0c..be06303958aa5d0b4703682133a8d6efe8e798fd 100644 (file)
@@ -1,4 +1,3 @@
-import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
 import { SharedModule as PrimeSharedModule } from 'primeng/api'
 import { ClipboardModule } from '@angular/cdk/clipboard'
 import { CommonModule, DatePipe } from '@angular/common'
@@ -14,10 +13,16 @@ import {
   NgbPopoverModule,
   NgbTooltipModule
 } from '@ng-bootstrap/ng-bootstrap'
-import { I18n } from '@ngx-translate/i18n-polyfill'
 import { SharedGlobalIconModule } from '../shared-icons'
 import { AccountService, ActorAvatarInfoComponent, AvatarComponent } from './account'
-import { FromNowPipe, InfiniteScrollerDirective, NumberFormatterPipe, PeerTubeTemplateDirective } from './angular'
+import {
+  BytesPipe,
+  DurationFormatterPipe,
+  FromNowPipe,
+  InfiniteScrollerDirective,
+  NumberFormatterPipe,
+  PeerTubeTemplateDirective
+} from './angular'
 import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
 import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons'
 import { DateToggleComponent } from './date'
@@ -47,7 +52,6 @@ import { VideoChannelService } from './video-channel'
     ClipboardModule,
 
     PrimeSharedModule,
-    NgPipesModule,
 
     SharedGlobalIconModule
   ],
@@ -57,8 +61,11 @@ import { VideoChannelService } from './video-channel'
     ActorAvatarInfoComponent,
 
     FromNowPipe,
-    InfiniteScrollerDirective,
     NumberFormatterPipe,
+    BytesPipe,
+    DurationFormatterPipe,
+
+    InfiniteScrollerDirective,
     PeerTubeTemplateDirective,
 
     ActionDropdownComponent,
@@ -98,15 +105,16 @@ import { VideoChannelService } from './video-channel'
     ClipboardModule,
 
     PrimeSharedModule,
-    BytesPipe,
-    KeysPipe,
 
     AvatarComponent,
     ActorAvatarInfoComponent,
 
     FromNowPipe,
-    InfiniteScrollerDirective,
+    BytesPipe,
     NumberFormatterPipe,
+    DurationFormatterPipe,
+
+    InfiniteScrollerDirective,
     PeerTubeTemplateDirective,
 
     ActionDropdownComponent,
@@ -130,8 +138,6 @@ import { VideoChannelService } from './video-channel'
   ],
 
   providers: [
-    I18n,
-
     DatePipe,
 
     FromNowPipe,