mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Localization/WoW strings
* generalize WoW UI escape sequence handling * implement use of declinated words from dbc for locale 8 (ruRU)
This commit is contained in:
@@ -262,7 +262,7 @@ if (!CLI)
|
||||
User::useLocale($loc);
|
||||
}
|
||||
|
||||
Lang::load(User::$localeString);
|
||||
Lang::load(User::$localeId);
|
||||
}
|
||||
|
||||
// parse page-parameters .. sanitize before use!
|
||||
@@ -274,7 +274,7 @@ if (!CLI)
|
||||
Util::$wowheadLink = 'https://www.wowhead.com/wotlk/'.(User::$localeId ? Util::$subDomains[User::$localeId].'/' : '').$str;
|
||||
}
|
||||
else if (!empty($AoWoWconf['aowow']))
|
||||
Lang::load('enus');
|
||||
Lang::load(LOCALE_EN);
|
||||
|
||||
$AoWoWconf = null; // empty auths
|
||||
|
||||
|
||||
Reference in New Issue
Block a user