mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
fixed erronous formating of armor & block on items
This commit is contained in:
@@ -349,13 +349,13 @@ class ItemList extends BaseType
|
||||
|
||||
// Armor
|
||||
if ($this->curTpl['class'] == ITEM_CLASS_ARMOR && $this->curTpl['ArmorDamageModifier'] > 0)
|
||||
$x .= '<span class="q2"><!--addamr'.$this->curTpl['ArmorDamageModifier'].'--><span>'.($this->curTpl['armor'] + $this->curTpl['ArmorDamageModifier']).' '.Lang::$item['armor'].'</span></span><br />';
|
||||
$x .= '<span class="q2"><!--addamr'.$this->curTpl['ArmorDamageModifier'].'--><span>'.sprintf(Lang::$item['armor'], $this->curTpl['armor'] + $this->curTpl['ArmorDamageModifier']).'</span></span><br />';
|
||||
else if ($this->curTpl['armor'])
|
||||
$x .= '<span><!--amr-->'.$this->curTpl['armor'].' '.Lang::$item['armor'].'</span><br />';
|
||||
$x .= '<span><!--amr-->'.sprintf(Lang::$item['armor'], $this->curTpl['armor']).'</span><br />';
|
||||
|
||||
// Block
|
||||
if ($this->curTpl['block'])
|
||||
$x .= '<span>'.$this->curTpl['block'].' '.Lang::$item['block'].'</span><br />';
|
||||
$x .= '<span>'.sprintf(Lang::$item['block'], $this->curTpl['block']).'</span><br />';
|
||||
|
||||
// Item is a gem (don't mix with sockets)
|
||||
if ($this->curTpl['GemProperties'])
|
||||
|
||||
@@ -401,8 +401,8 @@ $lang = array(
|
||||
)
|
||||
),
|
||||
'item' => array(
|
||||
'armor' => "Rüstung",
|
||||
'block' => "Blocken",
|
||||
'armor' => "%s Rüstung",
|
||||
'block' => "%s Blocken",
|
||||
'charges' => "Aufladungen",
|
||||
'expend' => "Verbrauchen",
|
||||
'locked' => "Verschlossen",
|
||||
|
||||
@@ -396,8 +396,8 @@ $lang = array(
|
||||
)
|
||||
),
|
||||
'item' => array(
|
||||
'armor' => "Armor",
|
||||
'block' => "Block",
|
||||
'armor' => "%s Armor",
|
||||
'block' => "%s Block",
|
||||
'charges' => "Charges",
|
||||
'expend' => "expendable",
|
||||
'locked' => "Locked",
|
||||
|
||||
@@ -354,8 +354,8 @@ $lang = array(
|
||||
)
|
||||
),
|
||||
'item' => array(
|
||||
'armor' => "armadura",
|
||||
'block' => "bloqueo",
|
||||
'armor' => "%s armadura",
|
||||
'block' => "%s bloqueo",
|
||||
'charges' => "cargas",
|
||||
'expend' => "[expendable]", // drop this shit
|
||||
'locked' => "Cerrado",
|
||||
|
||||
@@ -353,8 +353,8 @@ $lang = array(
|
||||
)
|
||||
),
|
||||
'item' => array(
|
||||
'armor' => "Armure",
|
||||
'block' => "Bloquer",
|
||||
'armor' => "Armure : %s",
|
||||
'block' => "Bloquer : %s",
|
||||
'charges' => "Charges",
|
||||
'expend' => "expendable",
|
||||
'locked' => "Verrouillé",
|
||||
@@ -474,7 +474,7 @@ $lang = array(
|
||||
"Stat Inutilisée #%d (%d)",
|
||||
)
|
||||
),
|
||||
'colon' => ' : '
|
||||
'colon' => ' : '
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
@@ -353,8 +353,8 @@ $lang = array(
|
||||
)
|
||||
),
|
||||
'item' => array(
|
||||
'armor' => "Броня",
|
||||
'block' => "Блок",
|
||||
'armor' => "Броня: %s",
|
||||
'block' => "Блок: %s",
|
||||
'charges' => "зарядов",
|
||||
'expend' => "expendable",
|
||||
'locked' => "Заперт",
|
||||
|
||||
Reference in New Issue
Block a user