Misc/Fixup

* lost changes from 5f4c62644d
This commit is contained in:
Sarjuuk
2024-05-04 18:52:56 +02:00
parent 5bb277bf2f
commit 92c51237c6
2 changed files with 1 additions and 3 deletions

View File

@@ -62,8 +62,7 @@ if (!CLI)
if (!$set)
CLI::write(' - realmMenu: Auth-DB not set up .. realm menu will be empty', CLI::LOG_WARN);
Lang::load(LOCALE_EN); // why is this file not localized!?
// why is this file not localized!?
foreach (Util::$regions as $idx => $n)
if ($set & (1 << $idx))
$menu[] = [$n, Lang::profiler('regions', $n), null, &$subs[$idx]];

View File

@@ -1161,7 +1161,6 @@ SqlGen::register(new class extends SetupScript
{
CLI::write(' * #13 cuStrings', CLI::LOG_BLANK, true, true);
Lang::load(LOCALE_EN);
foreach (Lang::game('pvpSources') as $src => $__)
$this->pushBuffer(Type::TITLE, $src, SRC_CUSTOM_STRING, $src);
}