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)

View File

@@ -99,7 +99,7 @@ MiniWindow
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 5
padding-right: 5
layout:
type: verticalBox
fit-children: true

View File

@@ -1,7 +1,6 @@
BattleButton < UIButton
height: 20
margin-top: 5
margin-right: 4
margin-bottom: 5
&isBattleButton: true
UICreature