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/+my-account | |
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/+my-account')
-rw-r--r-- | client/src/app/+my-account/+my-account-video-channels/my-account-video-channels-routing.module.ts | 6 | ||||
-rw-r--r-- | client/src/app/+my-account/my-account-routing.module.ts | 28 |
2 files changed, 17 insertions, 17 deletions
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 | } |