]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+about/about-routing.module.ts
Remove ngx-meta
[github/Chocobozzz/PeerTube.git] / client / src / app / +about / about-routing.module.ts
index 91ccb846f0d87f4416972db5c9675604b1d5fa85..880bf4a39c572833b9b0532d617cb142f43e468f 100644 (file)
@@ -1,17 +1,15 @@
 import { NgModule } from '@angular/core'
 import { RouterModule, Routes } from '@angular/router'
-import { MetaGuard } from '@ngx-meta/core'
-import { AboutComponent } from './about.component'
-import { AboutInstanceComponent } from '@app/+about/about-instance/about-instance.component'
-import { AboutPeertubeComponent } from '@app/+about/about-peertube/about-peertube.component'
 import { AboutFollowsComponent } from '@app/+about/about-follows/about-follows.component'
+import { AboutInstanceComponent } from '@app/+about/about-instance/about-instance.component'
 import { AboutInstanceResolver } from '@app/+about/about-instance/about-instance.resolver'
+import { AboutPeertubeComponent } from '@app/+about/about-peertube/about-peertube.component'
+import { AboutComponent } from './about.component'
 
 const aboutRoutes: Routes = [
   {
     path: '',
     component: AboutComponent,
-    canActivateChild: [ MetaGuard ],
     children: [
       {
         path: '',
@@ -23,7 +21,7 @@ const aboutRoutes: Routes = [
         component: AboutInstanceComponent,
         data: {
           meta: {
-            title: 'About this instance'
+            title: $localize`About this instance`
           }
         },
         resolve: {
@@ -35,7 +33,7 @@ const aboutRoutes: Routes = [
         component: AboutPeertubeComponent,
         data: {
           meta: {
-            title: 'About PeerTube'
+            title: $localize`About PeerTube`
           }
         }
       },
@@ -44,7 +42,7 @@ const aboutRoutes: Routes = [
         component: AboutFollowsComponent,
         data: {
           meta: {
-            title: 'About follows'
+            title: $localize`About this instance's network`
           }
         }
       }