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->applyOptions($options);
|
||||||
$this->getEnv();
|
$this->getEnv();
|
||||||
|
$localeManager = LocaleManager::getInstance();
|
||||||
|
|
||||||
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' => $localeManager->t('Best'),
|
||||||
'bestvideo+bestaudio' => _('Remux best video with best audio'),
|
'bestvideo+bestaudio' => $localeManager->t('Remux best video with best audio'),
|
||||||
'worst' => _('Worst'),
|
'worst' => $localeManager->t('Worst'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue