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:
Sarjuuk
2023-08-16 03:59:42 +02:00
parent cc594e3415
commit 9b16f2d84a
10 changed files with 306 additions and 98 deletions

View File

@@ -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