X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Babout%2Fabout-routing.module.ts;h=880bf4a39c572833b9b0532d617cb142f43e468f;hb=0f01a8bacddf6c502e6470e34fdac7750bb76e89;hp=91ccb846f0d87f4416972db5c9675604b1d5fa85;hpb=a3b7421abb4192e215aa280418b62e96958c5e42;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+about/about-routing.module.ts b/client/src/app/+about/about-routing.module.ts index 91ccb846f..880bf4a39 100644 --- a/client/src/app/+about/about-routing.module.ts +++ b/client/src/app/+about/about-routing.module.ts @@ -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` } } }