diff --git a/classes/Config.php b/classes/Config.php index e4454dc..0da9ada 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -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'), ]; }