X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Babout%2Fabout-routing.module.ts;h=96a737555a98657159ffba1438c37cc4fced9f47;hb=900f7820814b95b07ef0bcac04036a95abfbe060;hp=33e5070cb914070c2aed198ed2e0a27521b2fecb;hpb=b91bc1d1f3591c35ab4426f6ab594b4bd9f1ef62;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 33e5070cb..96a737555 100644 --- a/client/src/app/+about/about-routing.module.ts +++ b/client/src/app/+about/about-routing.module.ts @@ -5,6 +5,7 @@ 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 = [ { @@ -22,8 +23,11 @@ const aboutRoutes: Routes = [ component: AboutInstanceComponent, data: { meta: { - title: 'About this instance' + title: $localize`About this instance` } + }, + resolve: { + instanceData: AboutInstanceResolver } }, { @@ -31,7 +35,7 @@ const aboutRoutes: Routes = [ component: AboutPeertubeComponent, data: { meta: { - title: 'About PeerTube' + title: $localize`About PeerTube` } } }, @@ -40,7 +44,7 @@ const aboutRoutes: Routes = [ component: AboutFollowsComponent, data: { meta: { - title: 'About follows' + title: $localize`About this instance's network` } } }