diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-22 16:58:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-22 17:24:32 +0100 |
commit | 92e66e04f7f51d37b465cff442ce47f6d6d7cadd (patch) | |
tree | 4475c5c601c0f6673ca56afba5b7f70a4fae4ec3 /client/src/app/+admin | |
parent | 1808a1f8e4b7b102823492a2007a46929aebf189 (diff) | |
download | PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.gz PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.zst PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.zip |
Rename studio to editor
Diffstat (limited to 'client/src/app/+admin')
3 files changed, 9 insertions, 9 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts index 94f1021bf..eb892bbfd 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts | |||
@@ -200,7 +200,7 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit { | |||
200 | resolutions: {} | 200 | resolutions: {} |
201 | } | 201 | } |
202 | }, | 202 | }, |
203 | videoEditor: { | 203 | videoStudio: { |
204 | enabled: null | 204 | enabled: null |
205 | }, | 205 | }, |
206 | autoBlacklist: { | 206 | autoBlacklist: { |
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html index 52d6c79f6..5c0bea4a5 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html | |||
@@ -193,9 +193,9 @@ | |||
193 | </div> | 193 | </div> |
194 | </div> | 194 | </div> |
195 | 195 | ||
196 | <div class="form-row mt-2"> <!-- video editor grid --> | 196 | <div class="form-row mt-2"> <!-- video studio grid --> |
197 | <div class="form-group col-12 col-lg-4 col-xl-3"> | 197 | <div class="form-group col-12 col-lg-4 col-xl-3"> |
198 | <div i18n class="inner-form-title">VIDEO EDITOR</div> | 198 | <div i18n class="inner-form-title">VIDEO STUDIO</div> |
199 | <div i18n class="inner-form-description"> | 199 | <div i18n class="inner-form-description"> |
200 | Allows your users to edit their video (cut, add intro/outro, add a watermark etc) | 200 | Allows your users to edit their video (cut, add intro/outro, add a watermark etc) |
201 | </div> | 201 | </div> |
@@ -203,14 +203,14 @@ | |||
203 | 203 | ||
204 | <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> | 204 | <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> |
205 | 205 | ||
206 | <ng-container formGroupName="videoEditor"> | 206 | <ng-container formGroupName="videoStudio"> |
207 | <div class="form-group" [ngClass]="getTranscodingDisabledClass()"> | 207 | <div class="form-group" [ngClass]="getTranscodingDisabledClass()"> |
208 | <my-peertube-checkbox | 208 | <my-peertube-checkbox |
209 | inputName="videoEditorEnabled" formControlName="enabled" | 209 | inputName="videoStudioEnabled" formControlName="enabled" |
210 | i18n-labelText labelText="Enable video editor" | 210 | i18n-labelText labelText="Enable video studio" |
211 | > | 211 | > |
212 | <ng-container ngProjectAs="description" *ngIf="!isTranscodingEnabled()"> | 212 | <ng-container ngProjectAs="description" *ngIf="!isTranscodingEnabled()"> |
213 | <span i18n>⚠️ You need to enable transcoding first to enable video editor</span> | 213 | <span i18n>⚠️ You need to enable transcoding first to enable video studio</span> |
214 | </ng-container> | 214 | </ng-container> |
215 | </my-peertube-checkbox> | 215 | </my-peertube-checkbox> |
216 | </div> | 216 | </div> |
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts index 948c10b69..a38438e3a 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts | |||
@@ -72,7 +72,7 @@ export class EditVODTranscodingComponent implements OnInit, OnChanges { | |||
72 | 72 | ||
73 | private checkTranscodingFields () { | 73 | private checkTranscodingFields () { |
74 | const transcodingControl = this.form.get('transcoding.enabled') | 74 | const transcodingControl = this.form.get('transcoding.enabled') |
75 | const videoEditorControl = this.form.get('videoEditor.enabled') | 75 | const videoStudioControl = this.form.get('videoStudio.enabled') |
76 | const hlsControl = this.form.get('transcoding.hls.enabled') | 76 | const hlsControl = this.form.get('transcoding.hls.enabled') |
77 | const webtorrentControl = this.form.get('transcoding.webtorrent.enabled') | 77 | const webtorrentControl = this.form.get('transcoding.webtorrent.enabled') |
78 | 78 | ||
@@ -101,7 +101,7 @@ export class EditVODTranscodingComponent implements OnInit, OnChanges { | |||
101 | transcodingControl.valueChanges | 101 | transcodingControl.valueChanges |
102 | .subscribe(newValue => { | 102 | .subscribe(newValue => { |
103 | if (newValue === false) { | 103 | if (newValue === false) { |
104 | videoEditorControl.setValue(false) | 104 | videoStudioControl.setValue(false) |
105 | } | 105 | } |
106 | }) | 106 | }) |
107 | } | 107 | } |