ActivityPub-federated video streaming platform using P2P directly in your web browser
Use localize for page titles
Chocobozzzf29f487ef889
diff --git a/client/src/app/+about/about-routing.module.ts b/client/src/app/+about/about-routing.module.tsindex 91ccb846f0..828b2884cd 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 = [component: AboutInstanceComponent,data: {meta: {- title: 'About this instance'+ title: $localize`About this instance`}},resolve: {@@ -35,7 +35,7 @@ const aboutRoutes: Routes = [component: AboutPeertubeComponent,data: {meta: {- title: 'About PeerTube'+ title: $localize`About PeerTube`}}},@@ -44,7 +44,7 @@ const aboutRoutes: Routes = [component: AboutFollowsComponent,data: {meta: {- title: 'About follows'+ title: $localize`About follows`}}}diff --git a/client/src/app/+accounts/accounts-routing.module.ts b/client/src/app/+accounts/accounts-routing.module.tsindex 45b24eb55e..d2ca784b03 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 = [component: AccountVideosComponent,data: {meta: {- title: 'Account videos'+ title: $localize`Account videos`},reuse: {enabled: true,@@ -39,7 +39,7 @@ const accountsRoutes: Routes = [component: AccountVideoChannelsComponent,data: {meta: {- title: 'Account video channels'+ title: $localize`Account video channels`}}},@@ -48,7 +48,7 @@ const accountsRoutes: Routes = [component: AccountAboutComponent,data: {meta: {- title: 'About account'+ title: $localize`About account`}}}diff --git a/client/src/app/+admin/config/config.routes.ts b/client/src/app/+admin/config/config.routes.tsindex 7c1a1a1663..1b76b29cc1 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 = [component: EditCustomConfigComponent,data: {meta: {- title: 'Edit custom configuration'+ title: $localize`Edit custom configuration`}}}diff --git a/client/src/app/+admin/follows/follows.routes.ts b/client/src/app/+admin/follows/follows.routes.tsindex 8170745361..cd70daf77d 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 = [component: FollowingListComponent,data: {meta: {- title: 'Following list'+ title: $localize`Following list`}}},@@ -34,7 +34,7 @@ export const FollowsRoutes: Routes = [component: FollowersListComponent,data: {meta: {- title: 'Followers list'+ title: $localize`Followers list`}}},diff --git a/client/src/app/+admin/moderation/moderation.routes.ts b/client/src/app/+admin/moderation/moderation.routes.tsindex 8a31a54dc7..b60dd5334e 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 = [data: {userRight: UserRight.MANAGE_ABUSES,meta: {- title: 'Reports'+ title: $localize`Reports`}}},@@ -64,7 +64,7 @@ export const ModerationRoutes: Routes = [data: {userRight: UserRight.MANAGE_VIDEO_BLACKLIST,meta: {- title: 'Videos blocked'+ title: $localize`Videos blocked`}}},@@ -75,7 +75,7 @@ export const ModerationRoutes: Routes = [data: {userRight: UserRight.MANAGE_ACCOUNTS_BLOCKLIST,meta: {- title: 'Muted accounts'+ title: $localize`Muted accounts`}}},@@ -86,7 +86,7 @@ export const ModerationRoutes: Routes = [data: {userRight: UserRight.MANAGE_SERVERS_BLOCKLIST,meta: {- title: 'Muted instances'+ title: $localize`Muted instances`}}}diff --git a/client/src/app/+admin/plugins/plugins.routes.ts b/client/src/app/+admin/plugins/plugins.routes.tsindex 4bef27be33..4cf55dda2b 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 = [component: PluginListInstalledComponent,data: {meta: {- title: 'List installed plugins'+ title: $localize`List installed plugins`}}},@@ -34,7 +34,7 @@ export const PluginsRoutes: Routes = [component: PluginSearchComponent,data: {meta: {- title: 'Search plugins'+ title: $localize`Search plugins`}}},@@ -43,7 +43,7 @@ export const PluginsRoutes: Routes = [component: PluginShowInstalledComponent,data: {meta: {- title: 'Show plugin'+ title: $localize`Show plugin`}}}diff --git a/client/src/app/+admin/system/system.routes.ts b/client/src/app/+admin/system/system.routes.tsindex 0e8d985193..72ab6705ad 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 = [{path: 'system',component: SystemComponent,- data: {- },children: [{path: '',@@ -25,7 +23,7 @@ export const SystemRoutes: Routes = [data: {meta: {userRight: UserRight.MANAGE_JOBS,- title: 'Jobs'+ title: $localize`Jobs`}}},@@ -36,7 +34,7 @@ export const SystemRoutes: Routes = [data: {meta: {userRight: UserRight.MANAGE_LOGS,- title: 'Logs'+ title: $localize`Logs`}}},@@ -47,7 +45,7 @@ export const SystemRoutes: Routes = [data: {meta: {userRight: UserRight.MANAGE_DEBUG,- title: 'Debug'+ title: $localize`Debug`}}}diff --git a/client/src/app/+admin/users/users.routes.ts b/client/src/app/+admin/users/users.routes.tsindex 6560f0260a..5183498d6d 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 = [component: UserListComponent,data: {meta: {- title: 'Users list'+ title: $localize`Users list`}}},@@ -33,7 +33,7 @@ export const UsersRoutes: Routes = [component: UserCreateComponent,data: {meta: {- title: 'Create a user'+ title: $localize`Create a user`}},resolve: {@@ -45,7 +45,7 @@ export const UsersRoutes: Routes = [component: UserUpdateComponent,data: {meta: {- title: 'Update a user'+ title: $localize`Update a user`}}}diff --git a/client/src/app/+login/login-routing.module.ts b/client/src/app/+login/login-routing.module.tsindex aad55eac80..258ddc5c17 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 = [canActivate: [ MetaGuard ],data: {meta: {- title: 'Login'+ title: $localize`Login`}},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.tsindex 94037e18f9..3aa3e360f7 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 = [component: MyAccountVideoChannelsComponent,data: {meta: {- title: 'Account video channels'+ title: $localize`Account video channels`}}},@@ -19,7 +19,7 @@ const myAccountVideoChannelsRoutes: Routes = [component: MyAccountVideoChannelCreateComponent,data: {meta: {- title: 'Create new video channel'+ title: $localize`Create new video channel`}}},@@ -28,7 +28,7 @@ const myAccountVideoChannelsRoutes: Routes = [component: MyAccountVideoChannelUpdateComponent,data: {meta: {- title: 'Update video channel'+ title: $localize`Update video channel`}}}diff --git a/client/src/app/+my-account/my-account-routing.module.ts b/client/src/app/+my-account/my-account-routing.module.tsindex 48237e1336..0bcb38ef56 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 = [component: MyAccountSettingsComponent,data: {meta: {- title: 'Account settings'+ title: $localize`Account settings`}}},@@ -52,7 +52,7 @@ const myAccountRoutes: Routes = [component: MyAccountVideoPlaylistsComponent,data: {meta: {- title: 'Account playlists'+ title: $localize`Account playlists`}}},@@ -61,7 +61,7 @@ const myAccountRoutes: Routes = [component: MyAccountVideoPlaylistCreateComponent,data: {meta: {- title: 'Create new playlist'+ title: $localize`Create new playlist`}}},@@ -70,7 +70,7 @@ const myAccountRoutes: Routes = [component: MyAccountVideoPlaylistElementsComponent,data: {meta: {- title: 'Playlist elements'+ title: $localize`Playlist elements`}}},@@ -79,7 +79,7 @@ const myAccountRoutes: Routes = [component: MyAccountVideoPlaylistUpdateComponent,data: {meta: {- title: 'Update playlist'+ title: $localize`Update playlist`}}},@@ -89,7 +89,7 @@ const myAccountRoutes: Routes = [component: MyAccountVideosComponent,data: {meta: {- title: 'Account videos'+ title: $localize`Account videos`},reuse: {enabled: true,@@ -102,7 +102,7 @@ const myAccountRoutes: Routes = [component: MyAccountVideoImportsComponent,data: {meta: {- title: 'Account video imports'+ title: $localize`Account video imports`}}},@@ -111,7 +111,7 @@ const myAccountRoutes: Routes = [component: MyAccountSubscriptionsComponent,data: {meta: {- title: 'Account subscriptions'+ title: $localize`Account subscriptions`}}},@@ -120,7 +120,7 @@ const myAccountRoutes: Routes = [component: MyAccountOwnershipComponent,data: {meta: {- title: 'Ownership changes'+ title: $localize`Ownership changes`}}},@@ -129,7 +129,7 @@ const myAccountRoutes: Routes = [component: MyAccountBlocklistComponent,data: {meta: {- title: 'Muted accounts'+ title: $localize`Muted accounts`}}},@@ -138,7 +138,7 @@ const myAccountRoutes: Routes = [component: MyAccountServerBlocklistComponent,data: {meta: {- title: 'Muted servers'+ title: $localize`Muted servers`}}},@@ -147,7 +147,7 @@ const myAccountRoutes: Routes = [component: MyAccountHistoryComponent,data: {meta: {- title: 'Videos history'+ title: $localize`Videos history`},reuse: {enabled: true,@@ -160,7 +160,7 @@ const myAccountRoutes: Routes = [component: MyAccountNotificationsComponent,data: {meta: {- title: 'Notifications'+ title: $localize`Notifications`}}},@@ -169,7 +169,7 @@ const myAccountRoutes: Routes = [component: MyAccountAbusesListComponent,data: {meta: {- title: 'My abuse reports'+ title: $localize`My abuse reports`}}}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.tsindex e3407099da..11399fbfd4 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 = [canActivate: [ MetaGuard ],data: {meta: {- title: 'Not found'+ title: $localize`Not found`}}}diff --git a/client/src/app/+reset-password/reset-password-routing.module.ts b/client/src/app/+reset-password/reset-password-routing.module.tsindex 31bc08709b..7f1ba2f686 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 = [canActivate: [ MetaGuard ],data: {meta: {- title: 'Reset password'+ title: `Reset password`}}}diff --git a/client/src/app/+search/search-routing.module.ts b/client/src/app/+search/search-routing.module.tsindex 14a0d0a13d..e5d7d1ede9 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 = [canActivate: [ MetaGuard ],data: {meta: {- title: 'Search'+ title: $localize`Search`}}},diff --git a/client/src/app/+signup/+register/register-routing.module.ts b/client/src/app/+signup/+register/register-routing.module.tsindex 0deed8a9b6..61a2fa42d8 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 = [canActivate: [ MetaGuard, UnloggedGuard ],data: {meta: {- title: 'Register'+ title: $localize`Register`}},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.tsindex 16d5fe0d0a..c9ac67e4c5 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 = [component: VerifyAccountEmailComponent,data: {meta: {- title: 'Verify account email'+ title: $localize`Verify account email`}}},@@ -23,7 +23,7 @@ const verifyAccountRoutes: Routes = [component: VerifyAccountAskSendEmailComponent,data: {meta: {- title: 'Verify account ask send email'+ title: $localize`Verify account ask send email`}}}diff --git a/client/src/app/+video-channels/video-channels-routing.module.ts b/client/src/app/+video-channels/video-channels-routing.module.tsindex e79e6a6804..f8c32f14ee 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 = [component: VideoChannelVideosComponent,data: {meta: {- title: 'Video channel videos'+ title: $localize`Video channel videos`},reuse: {enabled: true,@@ -35,7 +35,7 @@ const videoChannelsRoutes: Routes = [component: VideoChannelPlaylistsComponent,data: {meta: {- title: 'Video channel playlists'+ title: $localize`Video channel playlists`}}},@@ -44,7 +44,7 @@ const videoChannelsRoutes: Routes = [component: VideoChannelAboutComponent,data: {meta: {- title: 'About video channel'+ title: $localize`About video channel`}}}diff --git a/client/src/app/+videos/videos-routing.module.ts b/client/src/app/+videos/videos-routing.module.tsindex e0e877fc67..cf5f0b2e80 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`}}},