Fix test suite gettext handler.

This commit is contained in:
Buster "Silver Eagle" Neece 2022-04-27 13:58:53 -05:00
parent dfc4ae89ff
commit 62d1f48e4c
No known key found for this signature in database
GPG Key ID: 9FC8B9E008872109
1 changed files with 1 additions and 2 deletions

View File

@ -10,8 +10,7 @@ $autoloader->addClassMap([
$GLOBALS['autoloader'] = $autoloader;
if (!function_exists('__')) {
$translator = new \Gettext\Translator();
$translator->register();
\Gettext\TranslatorFunctions::register(new \Gettext\Translator());
}
// Clear output directory