]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+accounts/accounts-routing.module.ts
Update translations
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / accounts-routing.module.ts
index 45b24eb55e49ee43da1bc3740253476c670d7d2c..15937a67b5482f91152945920f86d6f2aeb46588 100644 (file)
@@ -5,6 +5,7 @@ import { AccountsComponent } from './accounts.component'
 import { AccountVideosComponent } from './account-videos/account-videos.component'
 import { AccountAboutComponent } from './account-about/account-about.component'
 import { AccountVideoChannelsComponent } from './account-video-channels/account-video-channels.component'
+import { AccountSearchComponent } from './account-search/account-search.component'
 
 const accountsRoutes: Routes = [
   {
@@ -22,33 +23,42 @@ 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: 'about',
+        component: AccountAboutComponent,
         data: {
           meta: {
-            title: 'Account video channels'
+            title: $localize`About account`
           }
         }
       },
       {
-        path: 'about',
-        component: AccountAboutComponent,
+        path: 'videos',
+        component: AccountVideosComponent,
+        data: {
+          meta: {
+            title: $localize`Account videos`
+          },
+          reuse: {
+            enabled: true,
+            key: 'account-videos-list'
+          }
+        }
+      },
+      {
+        path: 'search',
+        component: AccountSearchComponent,
         data: {
           meta: {
-            title: 'About account'
+            title: $localize`Search videos within account`
           }
         }
       }