mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup/Realms
* force use of Locale EN instead of last used locale (usually RU)
This commit is contained in:
@@ -74,6 +74,9 @@ CLISetup::registerSetup("build", new class extends SetupScript
|
||||
CLI::write('[realmmenu] no viable realms found .. realm menu will be empty', CLI::LOG_WARN);
|
||||
|
||||
// why is this file not localized!?
|
||||
User::useLocale(LOCALE_EN);
|
||||
Lang::load(LOCALE_EN);
|
||||
|
||||
foreach (Util::$regions as $idx => $n)
|
||||
if ($set & (1 << $idx))
|
||||
$menu[] = [$n, Lang::profiler('regions', $n), null, &$subs[$idx]];
|
||||
|
||||
1
setup/updates/1720449931_01.sql
Normal file
1
setup/updates/1720449931_01.sql
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `aowow_dbversion` SET `build` = CONCAT(IFNULL(`build`, ''), ' realmmenu');
|
||||
Reference in New Issue
Block a user