Polish interface, pt translations

This commit is contained in:
Henrique Santiago
2012-08-20 18:58:43 -03:00
parent 518e123a08
commit ac8d6891ca
16 changed files with 52 additions and 27 deletions

View File

@@ -196,7 +196,7 @@ function addCreature(creature)
local creatureWidget = battleButton:getChildById('creature')
local labelWidget = battleButton:getChildById('label')
local lifeBarWidget = battleButton:getChildById('lifeBar')
battleButton.onHoverChange = onbattleButtonHoverChange
battleButton.onHoverChange = onBattleButtonHoverChange
battleButton.onMouseRelease = onMouseRelease
battleButton:setId('BattleButton_' .. creature:getName():gsub('%s','_'))
@@ -325,7 +325,7 @@ function setLifeBarPercent(battleButton, percent)
lifeBarWidget:setBackgroundColor(color)
end
function onbattleButtonHoverChange(widget, hovered)
function onBattleButtonHoverChange(widget, hovered)
if widget.isBattleButton then
widget.isHovered = hovered
checkBattleButton(widget)