X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Babout%2Fabout-routing.module.ts;h=96a737555a98657159ffba1438c37cc4fced9f47;hb=90aa0a74e95d390d62942aa72d481d5aa7b5ac23;hp=c83c62c7f264bafb90eb3d726fe626f58bf1e5c6;hpb=78f912ed5733028ec2bf10c06c19f75b07943be2;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 c83c62c7f..96a737555 100644 --- a/client/src/app/+about/about-routing.module.ts +++ b/client/src/app/+about/about-routing.module.ts @@ -4,6 +4,8 @@ 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 { AboutInstanceResolver } from '@app/+about/about-instance/about-instance.resolver' const aboutRoutes: Routes = [ { @@ -21,8 +23,11 @@ const aboutRoutes: Routes = [ component: AboutInstanceComponent, data: { meta: { - title: 'About this instance' + title: $localize`About this instance` } + }, + resolve: { + instanceData: AboutInstanceResolver } }, { @@ -30,7 +35,16 @@ const aboutRoutes: Routes = [ component: AboutPeertubeComponent, data: { meta: { - title: 'About PeerTube' + title: $localize`About PeerTube` + } + } + }, + { + path: 'follows', + component: AboutFollowsComponent, + data: { + meta: { + title: $localize`About this instance's network` } } }