From f29f487ef8892453a481628a6a3cff802dc89213 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 17 Aug 2020 10:30:59 +0200 Subject: Use localize for page titles --- client/src/app/+videos/videos-routing.module.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'client/src/app/+videos') diff --git a/client/src/app/+videos/videos-routing.module.ts b/client/src/app/+videos/videos-routing.module.ts index e0e877fc6..cf5f0b2e8 100644 --- a/client/src/app/+videos/videos-routing.module.ts +++ b/client/src/app/+videos/videos-routing.module.ts @@ -20,7 +20,7 @@ const videosRoutes: Routes = [ component: VideoOverviewComponent, data: { meta: { - title: 'Discover videos' + title: $localize`Discover videos` } } }, @@ -29,7 +29,7 @@ const videosRoutes: Routes = [ component: VideoTrendingComponent, data: { meta: { - title: 'Trending videos' + title: $localize`Trending videos` }, reuse: { enabled: true, @@ -42,7 +42,7 @@ const videosRoutes: Routes = [ component: VideoMostLikedComponent, data: { meta: { - title: 'Most liked videos' + title: $localize`Most liked videos` }, reuse: { enabled: true, @@ -55,7 +55,7 @@ const videosRoutes: Routes = [ component: VideoRecentlyAddedComponent, data: { meta: { - title: 'Recently added videos' + title: $localize`Recently added videos` }, reuse: { enabled: true, @@ -68,7 +68,7 @@ const videosRoutes: Routes = [ component: VideoUserSubscriptionsComponent, data: { meta: { - title: 'Subscriptions' + title: $localize`Subscriptions` }, reuse: { enabled: true, @@ -81,7 +81,7 @@ const videosRoutes: Routes = [ component: VideoLocalComponent, data: { meta: { - title: 'Local videos' + title: $localize`Local videos` }, reuse: { enabled: true, @@ -94,7 +94,7 @@ const videosRoutes: Routes = [ loadChildren: () => import('@app/+videos/+video-edit/video-add.module').then(m => m.VideoAddModule), data: { meta: { - title: 'Upload a video' + title: $localize`Upload a video` } } }, @@ -103,7 +103,7 @@ const videosRoutes: Routes = [ loadChildren: () => import('@app/+videos/+video-edit/video-update.module').then(m => m.VideoUpdateModule), data: { meta: { - title: 'Edit a video' + title: $localize`Edit a video` } } }, -- cgit v1.2.3