fixup! feat: Make generic formats dynamic

This commit is contained in:
Pierre Rudloff 2019-05-08 19:55:18 +02:00
parent 1126239263
commit d35801d9a0

View file

@ -146,9 +146,9 @@ class Config
if (empty($this->genericFormats)) { if (empty($this->genericFormats)) {
// We don't put this in the class definition so it can be detected by xgettext. // We don't put this in the class definition so it can be detected by xgettext.
$this->genericFormats = [ $this->genericFormats = [
'best' => _('Best'), 'best' => _('Best'),
'bestvideo+bestaudio' => _('Remux best video with best audio'), 'bestvideo+bestaudio' => _('Remux best video with best audio'),
'worst' => _('Worst') 'worst' => _('Worst'),
]; ];
} }