mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Javascript:
- reviewed and used objects PageTemplate and Locale - removed associated workarounds - replaced ~12k tabs with ~48k spaces - fixed some localization errors - whoops, forgot to update some Util::$pageTemplate calls to $this
This commit is contained in:
@@ -2243,7 +2243,7 @@ function TalentCalc() {
|
||||
c.div.style.display = "";
|
||||
}
|
||||
else {
|
||||
$WH.g_ajaxIshRequest('?data=talents&class=' + classId + '&locale=' + g_locale.id + '&t=' + g_dataKey + '&' + _versionBuild);
|
||||
$WH.g_ajaxIshRequest('?data=talents&class=' + classId + '&locale=' + Locale.getId() + '&t=' + g_dataKey + '&' + _versionBuild);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2529,7 +2529,7 @@ function TalentCalc() {
|
||||
function _simplifyGlyphName(name) {
|
||||
var str;
|
||||
|
||||
switch (g_locale.id) {
|
||||
switch (Locale.getId()) {
|
||||
case 0:
|
||||
str = name.replace(/^Glyph of (the )?/i, '');
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user