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

@@ -20,7 +20,7 @@ class ClassesPage extends GenericPage
{
parent::__construct($pageCall, $pageParam);
$this->name = Util::ucFirst(Lang::$game['classes']);
$this->name = Util::ucFirst(Lang::game('classes'));
}
protected function generateContent()
@@ -38,7 +38,7 @@ class ClassesPage extends GenericPage
protected function generateTitle()
{
array_unshift($this->title, Util::ucFirst(Lang::$game['classes']));
array_unshift($this->title, Util::ucFirst(Lang::game('classes')));
}
protected function generatePath() {}