Better label for default transcoding profile

pull/5817/head
Chocobozzz 2023-05-24 17:35:39 +02:00
parent b14e3c3de9
commit b99ee1b150
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 8 additions and 8 deletions

View File

@ -51,11 +51,11 @@ export class EditLiveConfigurationComponent implements OnInit, OnChanges {
const profiles = this.serverConfig.live.transcoding.availableProfiles const profiles = this.serverConfig.live.transcoding.availableProfiles
return profiles.map(p => { return profiles.map(p => {
const description = p === 'default' if (p === 'default') {
? $localize`x264, targeting maximum device compatibility` return { id: p, label: $localize`Default`, description: $localize`x264, targeting maximum device compatibility` }
: '' }
return { id: p, label: p, description } return { id: p, label: p }
}) })
} }

View File

@ -46,11 +46,11 @@ export class EditVODTranscodingComponent implements OnInit, OnChanges {
const profiles = this.serverConfig.transcoding.availableProfiles const profiles = this.serverConfig.transcoding.availableProfiles
return profiles.map(p => { return profiles.map(p => {
const description = p === 'default' if (p === 'default') {
? $localize`x264, targeting maximum device compatibility` return { id: p, label: $localize`Default`, description: $localize`x264, targeting maximum device compatibility` }
: '' }
return { id: p, label: p, description } return { id: p, label: p }
}) })
} }