diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-17 10:30:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-17 10:30:59 +0200 |
commit | f29f487ef8892453a481628a6a3cff802dc89213 (patch) | |
tree | ba334a3a3ee5bfb9961683debb7f144e204c9872 /client/src/app/+videos | |
parent | 1bfc7b737975201645f43e58b485e864b3589bb3 (diff) | |
download | PeerTube-f29f487ef8892453a481628a6a3cff802dc89213.tar.gz PeerTube-f29f487ef8892453a481628a6a3cff802dc89213.tar.zst PeerTube-f29f487ef8892453a481628a6a3cff802dc89213.zip |
Use localize for page titles
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/videos-routing.module.ts | 16 |
1 files changed, 8 insertions, 8 deletions
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 = [ | |||
20 | component: VideoOverviewComponent, | 20 | component: VideoOverviewComponent, |
21 | data: { | 21 | data: { |
22 | meta: { | 22 | meta: { |
23 | title: 'Discover videos' | 23 | title: $localize`Discover videos` |
24 | } | 24 | } |
25 | } | 25 | } |
26 | }, | 26 | }, |
@@ -29,7 +29,7 @@ const videosRoutes: Routes = [ | |||
29 | component: VideoTrendingComponent, | 29 | component: VideoTrendingComponent, |
30 | data: { | 30 | data: { |
31 | meta: { | 31 | meta: { |
32 | title: 'Trending videos' | 32 | title: $localize`Trending videos` |
33 | }, | 33 | }, |
34 | reuse: { | 34 | reuse: { |
35 | enabled: true, | 35 | enabled: true, |
@@ -42,7 +42,7 @@ const videosRoutes: Routes = [ | |||
42 | component: VideoMostLikedComponent, | 42 | component: VideoMostLikedComponent, |
43 | data: { | 43 | data: { |
44 | meta: { | 44 | meta: { |
45 | title: 'Most liked videos' | 45 | title: $localize`Most liked videos` |
46 | }, | 46 | }, |
47 | reuse: { | 47 | reuse: { |
48 | enabled: true, | 48 | enabled: true, |
@@ -55,7 +55,7 @@ const videosRoutes: Routes = [ | |||
55 | component: VideoRecentlyAddedComponent, | 55 | component: VideoRecentlyAddedComponent, |
56 | data: { | 56 | data: { |
57 | meta: { | 57 | meta: { |
58 | title: 'Recently added videos' | 58 | title: $localize`Recently added videos` |
59 | }, | 59 | }, |
60 | reuse: { | 60 | reuse: { |
61 | enabled: true, | 61 | enabled: true, |
@@ -68,7 +68,7 @@ const videosRoutes: Routes = [ | |||
68 | component: VideoUserSubscriptionsComponent, | 68 | component: VideoUserSubscriptionsComponent, |
69 | data: { | 69 | data: { |
70 | meta: { | 70 | meta: { |
71 | title: 'Subscriptions' | 71 | title: $localize`Subscriptions` |
72 | }, | 72 | }, |
73 | reuse: { | 73 | reuse: { |
74 | enabled: true, | 74 | enabled: true, |
@@ -81,7 +81,7 @@ const videosRoutes: Routes = [ | |||
81 | component: VideoLocalComponent, | 81 | component: VideoLocalComponent, |
82 | data: { | 82 | data: { |
83 | meta: { | 83 | meta: { |
84 | title: 'Local videos' | 84 | title: $localize`Local videos` |
85 | }, | 85 | }, |
86 | reuse: { | 86 | reuse: { |
87 | enabled: true, | 87 | enabled: true, |
@@ -94,7 +94,7 @@ const videosRoutes: Routes = [ | |||
94 | loadChildren: () => import('@app/+videos/+video-edit/video-add.module').then(m => m.VideoAddModule), | 94 | loadChildren: () => import('@app/+videos/+video-edit/video-add.module').then(m => m.VideoAddModule), |
95 | data: { | 95 | data: { |
96 | meta: { | 96 | meta: { |
97 | title: 'Upload a video' | 97 | title: $localize`Upload a video` |
98 | } | 98 | } |
99 | } | 99 | } |
100 | }, | 100 | }, |
@@ -103,7 +103,7 @@ const videosRoutes: Routes = [ | |||
103 | loadChildren: () => import('@app/+videos/+video-edit/video-update.module').then(m => m.VideoUpdateModule), | 103 | loadChildren: () => import('@app/+videos/+video-edit/video-update.module').then(m => m.VideoUpdateModule), |
104 | data: { | 104 | data: { |
105 | meta: { | 105 | meta: { |
106 | title: 'Edit a video' | 106 | title: $localize`Edit a video` |
107 | } | 107 | } |
108 | } | 108 | } |
109 | }, | 109 | }, |