bulk replacement: accesing locale strings by function

This commit is contained in:
Sarjuuk
2015-03-29 00:46:46 +01:00
parent d47fa93806
commit 27bc09f136
95 changed files with 1000 additions and 992 deletions

View File

@@ -155,7 +155,7 @@ class ProfileList extends BaseType
$x .= '<tr><td>&lt;'.$g.'&gt; ('.$this->getField('guildrank').')</td></tr>';
else if ($d = $this->getField('description'))
$x .= '<tr><td>'.$d.'</td></tr>';
$x .= '<tr><td>'.Lang::$game['level'].' '.$this->getField('level').' '.Lang::$game['ra'][$this->curTpl['race']].' '.Lang::$game['cl'][$this->curTpl['classs']].'</td></tr>';
$x .= '<tr><td>'.Lang::game('level').' '.$this->getField('level').' '.Lang::game('ra', $this->curTpl['race']).' '.Lang::game('cl', $this->curTpl['classs']).'</td></tr>';
$x .= '</table>';
return $x;