Remove remaining gettext functions
This commit is contained in:
parent
d5fcb3475d
commit
cc55fabe14
1 changed files with 4 additions and 3 deletions
|
@ -151,13 +151,14 @@ class Config
|
|||
{
|
||||
$this->applyOptions($options);
|
||||
$this->getEnv();
|
||||
$localeManager = LocaleManager::getInstance();
|
||||
|
||||
if (empty($this->genericFormats)) {
|
||||
// We don't put this in the class definition so it can be detected by xgettext.
|
||||
$this->genericFormats = [
|
||||
'best' => _('Best'),
|
||||
'bestvideo+bestaudio' => _('Remux best video with best audio'),
|
||||
'worst' => _('Worst'),
|
||||
'best' => $localeManager->t('Best'),
|
||||
'bestvideo+bestaudio' => $localeManager->t('Remux best video with best audio'),
|
||||
'worst' => $localeManager->t('Worst'),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue