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 | |
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')
18 files changed, 57 insertions, 59 deletions
diff --git a/client/src/app/+about/about-routing.module.ts b/client/src/app/+about/about-routing.module.ts index 91ccb846f..828b2884c 100644 --- a/client/src/app/+about/about-routing.module.ts +++ b/client/src/app/+about/about-routing.module.ts | |||
@@ -23,7 +23,7 @@ const aboutRoutes: Routes = [ | |||
23 | component: AboutInstanceComponent, | 23 | component: AboutInstanceComponent, |
24 | data: { | 24 | data: { |
25 | meta: { | 25 | meta: { |
26 | title: 'About this instance' | 26 | title: $localize`About this instance` |
27 | } | 27 | } |
28 | }, | 28 | }, |
29 | resolve: { | 29 | resolve: { |
@@ -35,7 +35,7 @@ const aboutRoutes: Routes = [ | |||
35 | component: AboutPeertubeComponent, | 35 | component: AboutPeertubeComponent, |
36 | data: { | 36 | data: { |
37 | meta: { | 37 | meta: { |
38 | title: 'About PeerTube' | 38 | title: $localize`About PeerTube` |
39 | } | 39 | } |
40 | } | 40 | } |
41 | }, | 41 | }, |
@@ -44,7 +44,7 @@ const aboutRoutes: Routes = [ | |||
44 | component: AboutFollowsComponent, | 44 | component: AboutFollowsComponent, |
45 | data: { | 45 | data: { |
46 | meta: { | 46 | meta: { |
47 | title: 'About follows' | 47 | title: $localize`About follows` |
48 | } | 48 | } |
49 | } | 49 | } |
50 | } | 50 | } |
diff --git a/client/src/app/+accounts/accounts-routing.module.ts b/client/src/app/+accounts/accounts-routing.module.ts index 45b24eb55..d2ca784b0 100644 --- a/client/src/app/+accounts/accounts-routing.module.ts +++ b/client/src/app/+accounts/accounts-routing.module.ts | |||
@@ -26,7 +26,7 @@ const accountsRoutes: Routes = [ | |||
26 | component: AccountVideosComponent, | 26 | component: AccountVideosComponent, |
27 | data: { | 27 | data: { |
28 | meta: { | 28 | meta: { |
29 | title: 'Account videos' | 29 | title: $localize`Account videos` |
30 | }, | 30 | }, |
31 | reuse: { | 31 | reuse: { |
32 | enabled: true, | 32 | enabled: true, |
@@ -39,7 +39,7 @@ const accountsRoutes: Routes = [ | |||
39 | component: AccountVideoChannelsComponent, | 39 | component: AccountVideoChannelsComponent, |
40 | data: { | 40 | data: { |
41 | meta: { | 41 | meta: { |
42 | title: 'Account video channels' | 42 | title: $localize`Account video channels` |
43 | } | 43 | } |
44 | } | 44 | } |
45 | }, | 45 | }, |
@@ -48,7 +48,7 @@ const accountsRoutes: Routes = [ | |||
48 | component: AccountAboutComponent, | 48 | component: AccountAboutComponent, |
49 | data: { | 49 | data: { |
50 | meta: { | 50 | meta: { |
51 | title: 'About account' | 51 | title: $localize`About account` |
52 | } | 52 | } |
53 | } | 53 | } |
54 | } | 54 | } |
diff --git a/client/src/app/+admin/config/config.routes.ts b/client/src/app/+admin/config/config.routes.ts index 7c1a1a166..1b76b29cc 100644 --- a/client/src/app/+admin/config/config.routes.ts +++ b/client/src/app/+admin/config/config.routes.ts | |||
@@ -23,7 +23,7 @@ export const ConfigRoutes: Routes = [ | |||
23 | component: EditCustomConfigComponent, | 23 | component: EditCustomConfigComponent, |
24 | data: { | 24 | data: { |
25 | meta: { | 25 | meta: { |
26 | title: 'Edit custom configuration' | 26 | title: $localize`Edit custom configuration` |
27 | } | 27 | } |
28 | } | 28 | } |
29 | } | 29 | } |
diff --git a/client/src/app/+admin/follows/follows.routes.ts b/client/src/app/+admin/follows/follows.routes.ts index 817074536..cd70daf77 100644 --- a/client/src/app/+admin/follows/follows.routes.ts +++ b/client/src/app/+admin/follows/follows.routes.ts | |||
@@ -25,7 +25,7 @@ export const FollowsRoutes: Routes = [ | |||
25 | component: FollowingListComponent, | 25 | component: FollowingListComponent, |
26 | data: { | 26 | data: { |
27 | meta: { | 27 | meta: { |
28 | title: 'Following list' | 28 | title: $localize`Following list` |
29 | } | 29 | } |
30 | } | 30 | } |
31 | }, | 31 | }, |
@@ -34,7 +34,7 @@ export const FollowsRoutes: Routes = [ | |||
34 | component: FollowersListComponent, | 34 | component: FollowersListComponent, |
35 | data: { | 35 | data: { |
36 | meta: { | 36 | meta: { |
37 | title: 'Followers list' | 37 | title: $localize`Followers list` |
38 | } | 38 | } |
39 | } | 39 | } |
40 | }, | 40 | }, |
diff --git a/client/src/app/+admin/moderation/moderation.routes.ts b/client/src/app/+admin/moderation/moderation.routes.ts index 8a31a54dc..b60dd5334 100644 --- a/client/src/app/+admin/moderation/moderation.routes.ts +++ b/client/src/app/+admin/moderation/moderation.routes.ts | |||
@@ -33,7 +33,7 @@ export const ModerationRoutes: Routes = [ | |||
33 | data: { | 33 | data: { |
34 | userRight: UserRight.MANAGE_ABUSES, | 34 | userRight: UserRight.MANAGE_ABUSES, |
35 | meta: { | 35 | meta: { |
36 | title: 'Reports' | 36 | title: $localize`Reports` |
37 | } | 37 | } |
38 | } | 38 | } |
39 | }, | 39 | }, |
@@ -64,7 +64,7 @@ export const ModerationRoutes: Routes = [ | |||
64 | data: { | 64 | data: { |
65 | userRight: UserRight.MANAGE_VIDEO_BLACKLIST, | 65 | userRight: UserRight.MANAGE_VIDEO_BLACKLIST, |
66 | meta: { | 66 | meta: { |
67 | title: 'Videos blocked' | 67 | title: $localize`Videos blocked` |
68 | } | 68 | } |
69 | } | 69 | } |
70 | }, | 70 | }, |
@@ -75,7 +75,7 @@ export const ModerationRoutes: Routes = [ | |||
75 | data: { | 75 | data: { |
76 | userRight: UserRight.MANAGE_ACCOUNTS_BLOCKLIST, | 76 | userRight: UserRight.MANAGE_ACCOUNTS_BLOCKLIST, |
77 | meta: { | 77 | meta: { |
78 | title: 'Muted accounts' | 78 | title: $localize`Muted accounts` |
79 | } | 79 | } |
80 | } | 80 | } |
81 | }, | 81 | }, |
@@ -86,7 +86,7 @@ export const ModerationRoutes: Routes = [ | |||
86 | data: { | 86 | data: { |
87 | userRight: UserRight.MANAGE_SERVERS_BLOCKLIST, | 87 | userRight: UserRight.MANAGE_SERVERS_BLOCKLIST, |
88 | meta: { | 88 | meta: { |
89 | title: 'Muted instances' | 89 | title: $localize`Muted instances` |
90 | } | 90 | } |
91 | } | 91 | } |
92 | } | 92 | } |
diff --git a/client/src/app/+admin/plugins/plugins.routes.ts b/client/src/app/+admin/plugins/plugins.routes.ts index 4bef27be3..4cf55dda2 100644 --- a/client/src/app/+admin/plugins/plugins.routes.ts +++ b/client/src/app/+admin/plugins/plugins.routes.ts | |||
@@ -25,7 +25,7 @@ export const PluginsRoutes: Routes = [ | |||
25 | component: PluginListInstalledComponent, | 25 | component: PluginListInstalledComponent, |
26 | data: { | 26 | data: { |
27 | meta: { | 27 | meta: { |
28 | title: 'List installed plugins' | 28 | title: $localize`List installed plugins` |
29 | } | 29 | } |
30 | } | 30 | } |
31 | }, | 31 | }, |
@@ -34,7 +34,7 @@ export const PluginsRoutes: Routes = [ | |||
34 | component: PluginSearchComponent, | 34 | component: PluginSearchComponent, |
35 | data: { | 35 | data: { |
36 | meta: { | 36 | meta: { |
37 | title: 'Search plugins' | 37 | title: $localize`Search plugins` |
38 | } | 38 | } |
39 | } | 39 | } |
40 | }, | 40 | }, |
@@ -43,7 +43,7 @@ export const PluginsRoutes: Routes = [ | |||
43 | component: PluginShowInstalledComponent, | 43 | component: PluginShowInstalledComponent, |
44 | data: { | 44 | data: { |
45 | meta: { | 45 | meta: { |
46 | title: 'Show plugin' | 46 | title: $localize`Show plugin` |
47 | } | 47 | } |
48 | } | 48 | } |
49 | } | 49 | } |
diff --git a/client/src/app/+admin/system/system.routes.ts b/client/src/app/+admin/system/system.routes.ts index 0e8d98519..72ab6705a 100644 --- a/client/src/app/+admin/system/system.routes.ts +++ b/client/src/app/+admin/system/system.routes.ts | |||
@@ -10,8 +10,6 @@ export const SystemRoutes: Routes = [ | |||
10 | { | 10 | { |
11 | path: 'system', | 11 | path: 'system', |
12 | component: SystemComponent, | 12 | component: SystemComponent, |
13 | data: { | ||
14 | }, | ||
15 | children: [ | 13 | children: [ |
16 | { | 14 | { |
17 | path: '', | 15 | path: '', |
@@ -25,7 +23,7 @@ export const SystemRoutes: Routes = [ | |||
25 | data: { | 23 | data: { |
26 | meta: { | 24 | meta: { |
27 | userRight: UserRight.MANAGE_JOBS, | 25 | userRight: UserRight.MANAGE_JOBS, |
28 | title: 'Jobs' | 26 | title: $localize`Jobs` |
29 | } | 27 | } |
30 | } | 28 | } |
31 | }, | 29 | }, |
@@ -36,7 +34,7 @@ export const SystemRoutes: Routes = [ | |||
36 | data: { | 34 | data: { |
37 | meta: { | 35 | meta: { |
38 | userRight: UserRight.MANAGE_LOGS, | 36 | userRight: UserRight.MANAGE_LOGS, |
39 | title: 'Logs' | 37 | title: $localize`Logs` |
40 | } | 38 | } |
41 | } | 39 | } |
42 | }, | 40 | }, |
@@ -47,7 +45,7 @@ export const SystemRoutes: Routes = [ | |||
47 | data: { | 45 | data: { |
48 | meta: { | 46 | meta: { |
49 | userRight: UserRight.MANAGE_DEBUG, | 47 | userRight: UserRight.MANAGE_DEBUG, |
50 | title: 'Debug' | 48 | title: $localize`Debug` |
51 | } | 49 | } |
52 | } | 50 | } |
53 | } | 51 | } |
diff --git a/client/src/app/+admin/users/users.routes.ts b/client/src/app/+admin/users/users.routes.ts index 6560f0260..5183498d6 100644 --- a/client/src/app/+admin/users/users.routes.ts +++ b/client/src/app/+admin/users/users.routes.ts | |||
@@ -24,7 +24,7 @@ export const UsersRoutes: Routes = [ | |||
24 | component: UserListComponent, | 24 | component: UserListComponent, |
25 | data: { | 25 | data: { |
26 | meta: { | 26 | meta: { |
27 | title: 'Users list' | 27 | title: $localize`Users list` |
28 | } | 28 | } |
29 | } | 29 | } |
30 | }, | 30 | }, |
@@ -33,7 +33,7 @@ export const UsersRoutes: Routes = [ | |||
33 | component: UserCreateComponent, | 33 | component: UserCreateComponent, |
34 | data: { | 34 | data: { |
35 | meta: { | 35 | meta: { |
36 | title: 'Create a user' | 36 | title: $localize`Create a user` |
37 | } | 37 | } |
38 | }, | 38 | }, |
39 | resolve: { | 39 | resolve: { |
@@ -45,7 +45,7 @@ export const UsersRoutes: Routes = [ | |||
45 | component: UserUpdateComponent, | 45 | component: UserUpdateComponent, |
46 | data: { | 46 | data: { |
47 | meta: { | 47 | meta: { |
48 | title: 'Update a user' | 48 | title: $localize`Update a user` |
49 | } | 49 | } |
50 | } | 50 | } |
51 | } | 51 | } |
diff --git a/client/src/app/+login/login-routing.module.ts b/client/src/app/+login/login-routing.module.ts index aad55eac8..258ddc5c1 100644 --- a/client/src/app/+login/login-routing.module.ts +++ b/client/src/app/+login/login-routing.module.ts | |||
@@ -11,7 +11,7 @@ const loginRoutes: Routes = [ | |||
11 | canActivate: [ MetaGuard ], | 11 | canActivate: [ MetaGuard ], |
12 | data: { | 12 | data: { |
13 | meta: { | 13 | meta: { |
14 | title: 'Login' | 14 | title: $localize`Login` |
15 | } | 15 | } |
16 | }, | 16 | }, |
17 | resolve: { | 17 | resolve: { |
diff --git a/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels-routing.module.ts b/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels-routing.module.ts index 94037e18f..3aa3e360f 100644 --- a/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels-routing.module.ts +++ b/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels-routing.module.ts | |||
@@ -10,7 +10,7 @@ const myAccountVideoChannelsRoutes: Routes = [ | |||
10 | component: MyAccountVideoChannelsComponent, | 10 | component: MyAccountVideoChannelsComponent, |
11 | data: { | 11 | data: { |
12 | meta: { | 12 | meta: { |
13 | title: 'Account video channels' | 13 | title: $localize`Account video channels` |
14 | } | 14 | } |
15 | } | 15 | } |
16 | }, | 16 | }, |
@@ -19,7 +19,7 @@ const myAccountVideoChannelsRoutes: Routes = [ | |||
19 | component: MyAccountVideoChannelCreateComponent, | 19 | component: MyAccountVideoChannelCreateComponent, |
20 | data: { | 20 | data: { |
21 | meta: { | 21 | meta: { |
22 | title: 'Create new video channel' | 22 | title: $localize`Create new video channel` |
23 | } | 23 | } |
24 | } | 24 | } |
25 | }, | 25 | }, |
@@ -28,7 +28,7 @@ const myAccountVideoChannelsRoutes: Routes = [ | |||
28 | component: MyAccountVideoChannelUpdateComponent, | 28 | component: MyAccountVideoChannelUpdateComponent, |
29 | data: { | 29 | data: { |
30 | meta: { | 30 | meta: { |
31 | title: 'Update video channel' | 31 | title: $localize`Update video channel` |
32 | } | 32 | } |
33 | } | 33 | } |
34 | } | 34 | } |
diff --git a/client/src/app/+my-account/my-account-routing.module.ts b/client/src/app/+my-account/my-account-routing.module.ts index 48237e133..0bcb38ef5 100644 --- a/client/src/app/+my-account/my-account-routing.module.ts +++ b/client/src/app/+my-account/my-account-routing.module.ts | |||
@@ -34,7 +34,7 @@ const myAccountRoutes: Routes = [ | |||
34 | component: MyAccountSettingsComponent, | 34 | component: MyAccountSettingsComponent, |
35 | data: { | 35 | data: { |
36 | meta: { | 36 | meta: { |
37 | title: 'Account settings' | 37 | title: $localize`Account settings` |
38 | } | 38 | } |
39 | } | 39 | } |
40 | }, | 40 | }, |
@@ -52,7 +52,7 @@ const myAccountRoutes: Routes = [ | |||
52 | component: MyAccountVideoPlaylistsComponent, | 52 | component: MyAccountVideoPlaylistsComponent, |
53 | data: { | 53 | data: { |
54 | meta: { | 54 | meta: { |
55 | title: 'Account playlists' | 55 | title: $localize`Account playlists` |
56 | } | 56 | } |
57 | } | 57 | } |
58 | }, | 58 | }, |
@@ -61,7 +61,7 @@ const myAccountRoutes: Routes = [ | |||
61 | component: MyAccountVideoPlaylistCreateComponent, | 61 | component: MyAccountVideoPlaylistCreateComponent, |
62 | data: { | 62 | data: { |
63 | meta: { | 63 | meta: { |
64 | title: 'Create new playlist' | 64 | title: $localize`Create new playlist` |
65 | } | 65 | } |
66 | } | 66 | } |
67 | }, | 67 | }, |
@@ -70,7 +70,7 @@ const myAccountRoutes: Routes = [ | |||
70 | component: MyAccountVideoPlaylistElementsComponent, | 70 | component: MyAccountVideoPlaylistElementsComponent, |
71 | data: { | 71 | data: { |
72 | meta: { | 72 | meta: { |
73 | title: 'Playlist elements' | 73 | title: $localize`Playlist elements` |
74 | } | 74 | } |
75 | } | 75 | } |
76 | }, | 76 | }, |
@@ -79,7 +79,7 @@ const myAccountRoutes: Routes = [ | |||
79 | component: MyAccountVideoPlaylistUpdateComponent, | 79 | component: MyAccountVideoPlaylistUpdateComponent, |
80 | data: { | 80 | data: { |
81 | meta: { | 81 | meta: { |
82 | title: 'Update playlist' | 82 | title: $localize`Update playlist` |
83 | } | 83 | } |
84 | } | 84 | } |
85 | }, | 85 | }, |
@@ -89,7 +89,7 @@ const myAccountRoutes: Routes = [ | |||
89 | component: MyAccountVideosComponent, | 89 | component: MyAccountVideosComponent, |
90 | data: { | 90 | data: { |
91 | meta: { | 91 | meta: { |
92 | title: 'Account videos' | 92 | title: $localize`Account videos` |
93 | }, | 93 | }, |
94 | reuse: { | 94 | reuse: { |
95 | enabled: true, | 95 | enabled: true, |
@@ -102,7 +102,7 @@ const myAccountRoutes: Routes = [ | |||
102 | component: MyAccountVideoImportsComponent, | 102 | component: MyAccountVideoImportsComponent, |
103 | data: { | 103 | data: { |
104 | meta: { | 104 | meta: { |
105 | title: 'Account video imports' | 105 | title: $localize`Account video imports` |
106 | } | 106 | } |
107 | } | 107 | } |
108 | }, | 108 | }, |
@@ -111,7 +111,7 @@ const myAccountRoutes: Routes = [ | |||
111 | component: MyAccountSubscriptionsComponent, | 111 | component: MyAccountSubscriptionsComponent, |
112 | data: { | 112 | data: { |
113 | meta: { | 113 | meta: { |
114 | title: 'Account subscriptions' | 114 | title: $localize`Account subscriptions` |
115 | } | 115 | } |
116 | } | 116 | } |
117 | }, | 117 | }, |
@@ -120,7 +120,7 @@ const myAccountRoutes: Routes = [ | |||
120 | component: MyAccountOwnershipComponent, | 120 | component: MyAccountOwnershipComponent, |
121 | data: { | 121 | data: { |
122 | meta: { | 122 | meta: { |
123 | title: 'Ownership changes' | 123 | title: $localize`Ownership changes` |
124 | } | 124 | } |
125 | } | 125 | } |
126 | }, | 126 | }, |
@@ -129,7 +129,7 @@ const myAccountRoutes: Routes = [ | |||
129 | component: MyAccountBlocklistComponent, | 129 | component: MyAccountBlocklistComponent, |
130 | data: { | 130 | data: { |
131 | meta: { | 131 | meta: { |
132 | title: 'Muted accounts' | 132 | title: $localize`Muted accounts` |
133 | } | 133 | } |
134 | } | 134 | } |
135 | }, | 135 | }, |
@@ -138,7 +138,7 @@ const myAccountRoutes: Routes = [ | |||
138 | component: MyAccountServerBlocklistComponent, | 138 | component: MyAccountServerBlocklistComponent, |
139 | data: { | 139 | data: { |
140 | meta: { | 140 | meta: { |
141 | title: 'Muted servers' | 141 | title: $localize`Muted servers` |
142 | } | 142 | } |
143 | } | 143 | } |
144 | }, | 144 | }, |
@@ -147,7 +147,7 @@ const myAccountRoutes: Routes = [ | |||
147 | component: MyAccountHistoryComponent, | 147 | component: MyAccountHistoryComponent, |
148 | data: { | 148 | data: { |
149 | meta: { | 149 | meta: { |
150 | title: 'Videos history' | 150 | title: $localize`Videos history` |
151 | }, | 151 | }, |
152 | reuse: { | 152 | reuse: { |
153 | enabled: true, | 153 | enabled: true, |
@@ -160,7 +160,7 @@ const myAccountRoutes: Routes = [ | |||
160 | component: MyAccountNotificationsComponent, | 160 | component: MyAccountNotificationsComponent, |
161 | data: { | 161 | data: { |
162 | meta: { | 162 | meta: { |
163 | title: 'Notifications' | 163 | title: $localize`Notifications` |
164 | } | 164 | } |
165 | } | 165 | } |
166 | }, | 166 | }, |
@@ -169,7 +169,7 @@ const myAccountRoutes: Routes = [ | |||
169 | component: MyAccountAbusesListComponent, | 169 | component: MyAccountAbusesListComponent, |
170 | data: { | 170 | data: { |
171 | meta: { | 171 | meta: { |
172 | title: 'My abuse reports' | 172 | title: $localize`My abuse reports` |
173 | } | 173 | } |
174 | } | 174 | } |
175 | } | 175 | } |
diff --git a/client/src/app/+page-not-found/page-not-found-routing.module.ts b/client/src/app/+page-not-found/page-not-found-routing.module.ts index e3407099d..11399fbfd 100644 --- a/client/src/app/+page-not-found/page-not-found-routing.module.ts +++ b/client/src/app/+page-not-found/page-not-found-routing.module.ts | |||
@@ -10,7 +10,7 @@ const pageNotFoundRoutes: Routes = [ | |||
10 | canActivate: [ MetaGuard ], | 10 | canActivate: [ MetaGuard ], |
11 | data: { | 11 | data: { |
12 | meta: { | 12 | meta: { |
13 | title: 'Not found' | 13 | title: $localize`Not found` |
14 | } | 14 | } |
15 | } | 15 | } |
16 | } | 16 | } |
diff --git a/client/src/app/+reset-password/reset-password-routing.module.ts b/client/src/app/+reset-password/reset-password-routing.module.ts index 31bc08709..7f1ba2f68 100644 --- a/client/src/app/+reset-password/reset-password-routing.module.ts +++ b/client/src/app/+reset-password/reset-password-routing.module.ts | |||
@@ -10,7 +10,7 @@ const resetPasswordRoutes: Routes = [ | |||
10 | canActivate: [ MetaGuard ], | 10 | canActivate: [ MetaGuard ], |
11 | data: { | 11 | data: { |
12 | meta: { | 12 | meta: { |
13 | title: 'Reset password' | 13 | title: `Reset password` |
14 | } | 14 | } |
15 | } | 15 | } |
16 | } | 16 | } |
diff --git a/client/src/app/+search/search-routing.module.ts b/client/src/app/+search/search-routing.module.ts index 14a0d0a13..e5d7d1ede 100644 --- a/client/src/app/+search/search-routing.module.ts +++ b/client/src/app/+search/search-routing.module.ts | |||
@@ -12,7 +12,7 @@ const searchRoutes: Routes = [ | |||
12 | canActivate: [ MetaGuard ], | 12 | canActivate: [ MetaGuard ], |
13 | data: { | 13 | data: { |
14 | meta: { | 14 | meta: { |
15 | title: 'Search' | 15 | title: $localize`Search` |
16 | } | 16 | } |
17 | } | 17 | } |
18 | }, | 18 | }, |
diff --git a/client/src/app/+signup/+register/register-routing.module.ts b/client/src/app/+signup/+register/register-routing.module.ts index 0deed8a9b..61a2fa42d 100644 --- a/client/src/app/+signup/+register/register-routing.module.ts +++ b/client/src/app/+signup/+register/register-routing.module.ts | |||
@@ -11,7 +11,7 @@ const registerRoutes: Routes = [ | |||
11 | canActivate: [ MetaGuard, UnloggedGuard ], | 11 | canActivate: [ MetaGuard, UnloggedGuard ], |
12 | data: { | 12 | data: { |
13 | meta: { | 13 | meta: { |
14 | title: 'Register' | 14 | title: $localize`Register` |
15 | } | 15 | } |
16 | }, | 16 | }, |
17 | resolve: { | 17 | resolve: { |
diff --git a/client/src/app/+signup/+verify-account/verify-account-routing.module.ts b/client/src/app/+signup/+verify-account/verify-account-routing.module.ts index 16d5fe0d0..c9ac67e4c 100644 --- a/client/src/app/+signup/+verify-account/verify-account-routing.module.ts +++ b/client/src/app/+signup/+verify-account/verify-account-routing.module.ts | |||
@@ -14,7 +14,7 @@ const verifyAccountRoutes: Routes = [ | |||
14 | component: VerifyAccountEmailComponent, | 14 | component: VerifyAccountEmailComponent, |
15 | data: { | 15 | data: { |
16 | meta: { | 16 | meta: { |
17 | title: 'Verify account email' | 17 | title: $localize`Verify account email` |
18 | } | 18 | } |
19 | } | 19 | } |
20 | }, | 20 | }, |
@@ -23,7 +23,7 @@ const verifyAccountRoutes: Routes = [ | |||
23 | component: VerifyAccountAskSendEmailComponent, | 23 | component: VerifyAccountAskSendEmailComponent, |
24 | data: { | 24 | data: { |
25 | meta: { | 25 | meta: { |
26 | title: 'Verify account ask send email' | 26 | title: $localize`Verify account ask send email` |
27 | } | 27 | } |
28 | } | 28 | } |
29 | } | 29 | } |
diff --git a/client/src/app/+video-channels/video-channels-routing.module.ts b/client/src/app/+video-channels/video-channels-routing.module.ts index e79e6a680..f8c32f14e 100644 --- a/client/src/app/+video-channels/video-channels-routing.module.ts +++ b/client/src/app/+video-channels/video-channels-routing.module.ts | |||
@@ -22,7 +22,7 @@ const videoChannelsRoutes: Routes = [ | |||
22 | component: VideoChannelVideosComponent, | 22 | component: VideoChannelVideosComponent, |
23 | data: { | 23 | data: { |
24 | meta: { | 24 | meta: { |
25 | title: 'Video channel videos' | 25 | title: $localize`Video channel videos` |
26 | }, | 26 | }, |
27 | reuse: { | 27 | reuse: { |
28 | enabled: true, | 28 | enabled: true, |
@@ -35,7 +35,7 @@ const videoChannelsRoutes: Routes = [ | |||
35 | component: VideoChannelPlaylistsComponent, | 35 | component: VideoChannelPlaylistsComponent, |
36 | data: { | 36 | data: { |
37 | meta: { | 37 | meta: { |
38 | title: 'Video channel playlists' | 38 | title: $localize`Video channel playlists` |
39 | } | 39 | } |
40 | } | 40 | } |
41 | }, | 41 | }, |
@@ -44,7 +44,7 @@ const videoChannelsRoutes: Routes = [ | |||
44 | component: VideoChannelAboutComponent, | 44 | component: VideoChannelAboutComponent, |
45 | data: { | 45 | data: { |
46 | meta: { | 46 | meta: { |
47 | title: 'About video channel' | 47 | title: $localize`About video channel` |
48 | } | 48 | } |
49 | } | 49 | } |
50 | } | 50 | } |
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 | }, |