ActivityPub-federated video streaming platform using P2P directly in your web browser
Add missing $localize
Chocobozzz0967ee953ced
diff --git a/client/src/app/modal/admin-config-wizard/steps/admin-config-wizard-edit-info.component.html b/client/src/app/modal/admin-config-wizard/steps/admin-config-wizard-edit-info.component.htmlindex aea6dc9967..5093346bfe 100644--- a/client/src/app/modal/admin-config-wizard/steps/admin-config-wizard-edit-info.component.html+++ b/client/src/app/modal/admin-config-wizard/steps/admin-config-wizard-edit-info.component.html@@ -11,7 +11,7 @@<h4 i18n class="title">General information</h4>- <div class="text-content">You can edit this information later</div>+ <div i18n class="text-content">You can edit this information later</div><form [formGroup]="form"><div class="form-group">diff --git a/client/src/app/modal/admin-config-wizard/steps/usage-type/community-based-config.component.ts b/client/src/app/modal/admin-config-wizard/steps/usage-type/community-based-config.component.tsindex 04d815cbff..45aab4fa54 100644--- a/client/src/app/modal/admin-config-wizard/steps/usage-type/community-based-config.component.ts+++ b/client/src/app/modal/admin-config-wizard/steps/usage-type/community-based-config.component.ts@@ -47,59 +47,59 @@ export class CommunityBasedConfigComponent implements OnInit {registrationOptions: SelectOptionsItem<RegistrationType>[] = [{id: 'open',- label: 'Open',- description: 'Anyone can register and use the platform'+ label: $localize`Open`,+ description: $localize`Anyone can register and use the platform`},{id: 'approval',- label: 'Requires approval',- description: 'Anyone can register, but a moderator must approve their account before they can use the platform'+ label: $localize`Requires approval`,+ description: $localize`Anyone can register, but a moderator must approve their account before they can use the platform`},{id: 'closed',- label: 'Closed',- description: 'Only an administrator can create users on the platform'+ label: $localize`Closed`,+ description: $localize`Only an administrator can create users on the platform`}]importOptions: SelectOptionsItem<EnabledDisabled>[] = [{id: 'enabled',- label: 'Enabled',+ label: $localize`Enabled`,description:'Your community can import videos from remote platforms (YouTube, Vimeo...) and automatically synchronize remote channels'},{id: 'disabled',- label: 'Disabled',- description: 'Your community cannot import or synchronize content from remote platforms'+ label: $localize`Disabled`,+ description: $localize`Your community cannot import or synchronize content from remote platforms`}]liveOptions: SelectOptionsItem<EnabledDisabled>[] = [{id: 'enabled',- label: 'Yes',- description: 'Your community can live stream on the platform (this requires extra moderation work)'+ label: $localize`Yes`,+ description: $localize`Your community can live stream on the platform (this requires extra moderation work)`},{id: 'disabled',- label: 'No',- description: 'Your community is not permitted to run live streams on the platform'+ label: $localize`No`,+ description: $localize`Your community is not permitted to run live streams on the platform`}]globalSearchOptions: SelectOptionsItem<string>[] = [{id: 'enabled',- label: 'Enable global search',- description: 'Use https://sepiasearch.org as default search engine to search for content across all known peertube platforms'+ label: $localize`Enable global search`,+ description: $localize`Use https://sepiasearch.org as default search engine to search for content across all known peertube platforms`},{id: 'disabled',- label: 'Disable global search',- description: 'Use your platform search engine which only displays local content'+ label: $localize`Disable global search`,+ description: $localize`Use your platform search engine which only displays local content`}]diff --git a/client/src/app/modal/admin-config-wizard/steps/usage-type/institutional-config.component.ts b/client/src/app/modal/admin-config-wizard/steps/usage-type/institutional-config.component.tsindex 42f6997a03..8db82297a1 100644--- a/client/src/app/modal/admin-config-wizard/steps/usage-type/institutional-config.component.ts+++ b/client/src/app/modal/admin-config-wizard/steps/usage-type/institutional-config.component.ts@@ -45,62 +45,62 @@ export class InstitutionalConfigComponent implements OnInit {p2pOptions: SelectOptionsItem<EnabledDisabled>[] = [{id: 'enabled',- label: 'Enabled',- description: 'Enable P2P streaming by default for anonymous and new users'+ label: $localize`Enabled`,+ description: $localize`Enable P2P streaming by default for anonymous and new users`},{id: 'disabled',- label: 'Disabled',- description: 'Disable P2P streaming'+ label: $localize`Disabled`,+ description: $localize`Disable P2P streaming`}]transcriptionOptions: SelectOptionsItem<EnabledDisabled>[] = [{id: 'enabled',- label: 'Enabled',- description: 'Enable automatic transcription of videos to automatically generate subtitles'+ label: $localize`Enabled`,+ description: $localize`Enable automatic transcription of videos to automatically generate subtitles`},{id: 'disabled',- label: 'Disabled',- description: 'Disable automatic transcription of videos'+ label: $localize`Disabled`,+ description: $localize`Disable automatic transcription of videos`}]keepOriginalVideoOptions: SelectOptionsItem<EnabledDisabled>[] = [{id: 'enabled',- label: 'Yes',- description: 'Keep the original video file on the server'+ label: $localize`Yes`,+ description: $localize`Keep the original video file on the server`},{id: 'disabled',- label: 'No',- description: 'Delete the original video file after processing'+ label: $localize`No`,+ description: $localize`Delete the original video file after processing`}]authenticationOptions: SelectOptionsItem<AuthType>[] = [{id: 'local',- label: 'Disabled',- description: 'Your platform will manage user registration and login internally'+ label: $localize`Disabled`,+ description: $localize`Your platform will manage user registration and login internally`},{id: 'ldap',- label: 'LDAP',- description: 'Use LDAP for user authentication'+ label: $localize`LDAP`,+ description: $localize`Use LDAP for user authentication`},{id: 'oidc',- label: 'OIDC',- description: 'Use OpenID Connect for user authentication'+ label: $localize`OIDC`,+ description: $localize`Use OpenID Connect for user authentication`},{id: 'saml',- label: 'SAML',- description: 'Use SAML 2.0 for user authentication'+ label: $localize`SAML`,+ description: $localize`Use SAML 2.0 for user authentication`}]diff --git a/client/src/app/modal/admin-config-wizard/steps/usage-type/private-instance-config.component.ts b/client/src/app/modal/admin-config-wizard/steps/usage-type/private-instance-config.component.tsindex cde9eefbf1..16ee8ba5eb 100644--- a/client/src/app/modal/admin-config-wizard/steps/usage-type/private-instance-config.component.ts+++ b/client/src/app/modal/admin-config-wizard/steps/usage-type/private-instance-config.component.ts@@ -44,37 +44,38 @@ export class PrivateInstanceConfigComponent implements OnInit {importOptions: SelectOptionsItem<EnabledDisabled>[] = [{id: 'enabled',- label: 'Enabled',- description: 'Users can import videos from remote platforms (YouTube, Vimeo...) and automatically synchronize remote channels'+ label: $localize`Enabled`,+ description:+ $localize`Users can import videos from remote platforms (YouTube, Vimeo...) and automatically synchronize remote channels`},{id: 'disabled',- label: 'Disabled',- description: 'Disable video import and channel synchronization'+ label: $localize`Disabled`,+ description: $localize`Disable video import and channel synchronization`}]liveOptions: SelectOptionsItem<EnabledDisabled>[] = [{id: 'enabled',- label: 'Yes'+ label: $localize`Yes`},{id: 'disabled',- label: 'No'+ label: $localize`No`}]keepOriginalVideoOptions: SelectOptionsItem<EnabledDisabled>[] = [{id: 'enabled',- label: 'Yes',- description: 'Keep the original video file on the server'+ label: $localize`Yes`,+ description: $localize`Keep the original video file on the server`},{id: 'disabled',- label: 'No',- description: 'Delete the original video file after processing'+ label: $localize`No`,+ description: $localize`Delete the original video file after processing`}]