rename /gameObjects?/ => /objects?/ so it can be localized via typeString
This commit is contained in:
Sarjuuk
2015-07-05 21:17:55 +02:00
parent ed67493bb8
commit f2ec843f7e
13 changed files with 19 additions and 19 deletions

View File

@@ -179,8 +179,8 @@ $lang = array(
'difficulty' => "Modus",
'dispelType' => "Bannart",
'duration' => "Dauer",
'gameObject' => "Objekt",
'gameObjects' => "Objekte",
'object' => "Objekt",
'objects' => "Objekte",
'glyphType' => "Glyphenart",
'race' => "Volk",
'races' => "Völker",

View File

@@ -174,8 +174,8 @@ $lang = array(
'difficulty' => "Difficulty",
'dispelType' => "Dispel type",
'duration' => "Duration",
'gameObject' => "object",
'gameObjects' => "Objects",
'object' => "object",
'objects' => "Objects",
'glyphType' => "Glyph type",
'race' => "race",
'races' => "Races",

View File

@@ -179,8 +179,8 @@ $lang = array(
'difficulty' => "Dificultad",
'dispelType' => "Tipo de disipación",
'duration' => "Duración",
'gameObject' => "entidad",
'gameObjects' => "Entidades",
'object' => "entidad",
'objects' => "Entidades",
'glyphType' => "Tipo de glifo",
'race' => "raza",
'races' => "Razas",

View File

@@ -179,8 +179,8 @@ $lang = array(
'difficulty' => "Difficulté",
'dispelType' => "Type de dissipation",
'duration' => "Durée",
'gameObject' => "entité",
'gameObjects' => "Entités",
'object' => "entité",
'objects' => "Entités",
'glyphType' => "Type de glyphe",
'race' => "race",
'races' => "Races",

View File

@@ -179,8 +179,8 @@ $lang = array(
'difficulty' => "Сложность",
'dispelType' => "Тип рассеивания",
'duration' => "Длительность",
'gameObject' => "объект",
'gameObjects' => "Объекты",
'object' => "объект",
'objects' => "Объекты",
'glyphType' => "Тип символа",
'race' => "раса",
'races' => "Расы",

View File

@@ -49,7 +49,7 @@ class ObjectPage extends GenericPage
protected function generateTitle()
{
array_unshift($this->title, $this->name, Util::ucFirst(Lang::game('gameObject')));
array_unshift($this->title, $this->name, Util::ucFirst(Lang::game('object')));
}
protected function generateContent()
@@ -489,7 +489,7 @@ class ObjectPage extends GenericPage
public function notFound()
{
if ($this->mode != CACHE_TYPE_TOOLTIP)
return parent::notFound(Lang::game('gameObject'), Lang::gameObject('notFound'));
return parent::notFound(Lang::game('object'), Lang::gameObject('notFound'));
header('Content-type: application/x-javascript; charset=utf-8');
echo $this->generateTooltip(true);

View File

@@ -25,7 +25,7 @@ class ObjectsPage extends GenericPage
parent::__construct($pageCall, $pageParam);
$this->name = Util::ucFirst(Lang::game('gameObjects'));
$this->name = Util::ucFirst(Lang::game('objects'));
$this->subCat = $pageParam ? '='.$pageParam : '';
}

View File

@@ -1690,7 +1690,7 @@ class SpellPage extends GenericPage
case 105: // Summon Object (slot 2)
case 106: // Summon Object (slot 3)
case 107: // Summon Object (slot 4)
$_ = Util::ucFirst(Lang::game('gameObject')).' #'.$effMV;
$_ = Util::ucFirst(Lang::game('object')).' #'.$effMV;
if ($summon = $this->subject->getModelInfo($this->typeId, $i))
{
$_ = $summon['typeId'] ? ' (<a href="?object='.$summon['typeId'].'">'.$summon['displayName'].'</a>)' : ' (#0)';

View File

@@ -2235,7 +2235,7 @@ var g_operators = {
var g_world_object_types = {
3: 'Kreatur',
4: 'Spieler',
5: 'Gameobject',
5: 'Objekt',
7: 'Spielerleiche'
};

View File

@@ -2282,7 +2282,7 @@ var g_operators = {
var g_world_object_types = {
3: 'Creature',
4: 'Player',
5: 'Gameobject',
5: 'Object',
7: 'Player Corpse'
};

View File

@@ -2238,7 +2238,7 @@ var g_operators = {
var g_world_object_types = {
3: 'Creature',
4: 'Player',
5: 'Gameobject',
5: 'Entidad',
7: 'Player Corpse'
};

View File

@@ -2225,7 +2225,7 @@ var g_operators = {
var g_world_object_types = {
3: 'Creature',
4: 'Player',
5: 'Gameobject',
5: 'Entité',
7: 'Player Corpse'
};

View File

@@ -2225,7 +2225,7 @@ var g_operators = {
var g_world_object_types = {
3: 'Creature',
4: 'Player',
5: 'Gameobject',
5: 'Объект',
7: 'Player Corpse'
};