mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Lang
rename /gameObjects?/ => /objects?/ so it can be localized via typeString
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -179,8 +179,8 @@ $lang = array(
|
||||
'difficulty' => "Сложность",
|
||||
'dispelType' => "Тип рассеивания",
|
||||
'duration' => "Длительность",
|
||||
'gameObject' => "объект",
|
||||
'gameObjects' => "Объекты",
|
||||
'object' => "объект",
|
||||
'objects' => "Объекты",
|
||||
'glyphType' => "Тип символа",
|
||||
'race' => "раса",
|
||||
'races' => "Расы",
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 : '';
|
||||
}
|
||||
|
||||
|
||||
@@ -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)';
|
||||
|
||||
@@ -2235,7 +2235,7 @@ var g_operators = {
|
||||
var g_world_object_types = {
|
||||
3: 'Kreatur',
|
||||
4: 'Spieler',
|
||||
5: 'Gameobject',
|
||||
5: 'Objekt',
|
||||
7: 'Spielerleiche'
|
||||
};
|
||||
|
||||
|
||||
@@ -2282,7 +2282,7 @@ var g_operators = {
|
||||
var g_world_object_types = {
|
||||
3: 'Creature',
|
||||
4: 'Player',
|
||||
5: 'Gameobject',
|
||||
5: 'Object',
|
||||
7: 'Player Corpse'
|
||||
};
|
||||
|
||||
|
||||
@@ -2238,7 +2238,7 @@ var g_operators = {
|
||||
var g_world_object_types = {
|
||||
3: 'Creature',
|
||||
4: 'Player',
|
||||
5: 'Gameobject',
|
||||
5: 'Entidad',
|
||||
7: 'Player Corpse'
|
||||
};
|
||||
|
||||
|
||||
@@ -2225,7 +2225,7 @@ var g_operators = {
|
||||
var g_world_object_types = {
|
||||
3: 'Creature',
|
||||
4: 'Player',
|
||||
5: 'Gameobject',
|
||||
5: 'Entité',
|
||||
7: 'Player Corpse'
|
||||
};
|
||||
|
||||
|
||||
@@ -2225,7 +2225,7 @@ var g_operators = {
|
||||
var g_world_object_types = {
|
||||
3: 'Creature',
|
||||
4: 'Player',
|
||||
5: 'Gameobject',
|
||||
5: 'Объект',
|
||||
7: 'Player Corpse'
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user