]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+accounts/accounts-routing.module.ts
Fix lint
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / accounts-routing.module.ts
index 45b24eb55e49ee43da1bc3740253476c670d7d2c..3bf0f7185c9eb395736a40c1cbb0041d2783e2b5 100644 (file)
@@ -1,10 +1,10 @@
 import { NgModule } from '@angular/core'
 import { RouterModule, Routes } from '@angular/router'
 import { MetaGuard } from '@ngx-meta/core'
-import { AccountsComponent } from './accounts.component'
-import { AccountVideosComponent } from './account-videos/account-videos.component'
-import { AccountAboutComponent } from './account-about/account-about.component'
+import { AccountSearchComponent } from './account-search/account-search.component'
 import { AccountVideoChannelsComponent } from './account-video-channels/account-video-channels.component'
+import { AccountVideosComponent } from './account-videos/account-videos.component'
+import { AccountsComponent } from './accounts.component'
 
 const accountsRoutes: Routes = [
   {
@@ -22,33 +22,33 @@ const accountsRoutes: Routes = [
         pathMatch: 'full'
       },
       {
-        path: 'videos',
-        component: AccountVideosComponent,
+        path: 'video-channels',
+        component: AccountVideoChannelsComponent,
         data: {
           meta: {
-            title: 'Account videos'
-          },
-          reuse: {
-            enabled: true,
-            key: 'account-videos-list'
+            title: $localize`Account video channels`
           }
         }
       },
       {
-        path: 'video-channels',
-        component: AccountVideoChannelsComponent,
+        path: 'videos',
+        component: AccountVideosComponent,
         data: {
           meta: {
-            title: 'Account video channels'
+            title: $localize`Account videos`
+          },
+          reuse: {
+            enabled: true,
+            key: 'account-videos-list'
           }
         }
       },
       {
-        path: 'about',
-        component: AccountAboutComponent,
+        path: 'search',
+        component: AccountSearchComponent,
         data: {
           meta: {
-            title: 'About account'
+            title: $localize`Search videos within account`
           }
         }
       }