Polish interface, pt translations

master
Henrique Santiago 12 years ago
parent 518e123a08
commit ac8d6891ca

@ -98,7 +98,7 @@ function EnterGame.init()
end end
function EnterGame.firstShow() function EnterGame.firstShow()
enterGame:show() EnterGame.show()
local account = g_crypt.decrypt(g_settings.get('account')) local account = g_crypt.decrypt(g_settings.get('account'))
local password = g_crypt.decrypt(g_settings.get('password')) local password = g_crypt.decrypt(g_settings.get('password'))

@ -186,6 +186,7 @@ locale = {
["Offer History"] = "Histórico de ofertas", ["Offer History"] = "Histórico de ofertas",
["Offers"] = "Ofertas", ["Offers"] = "Ofertas",
["Offer Type:"] = "Tipo de oferta:", ["Offer Type:"] = "Tipo de oferta:",
["Offline Training"] = "Treino Offline",
["Ok"] = "Ok", ["Ok"] = "Ok",
["Okay"] = "Okay", ["Okay"] = "Okay",
["on %s.\n"] = "em %s.\n", ["on %s.\n"] = "em %s.\n",
@ -217,6 +218,8 @@ locale = {
["Randomize characters outfit"] = "Gerar roupa aleatória", ["Randomize characters outfit"] = "Gerar roupa aleatória",
["Reason:"] = "Motivo:", ["Reason:"] = "Motivo:",
["Refresh"] = "Atualizar", ["Refresh"] = "Atualizar",
["Refresh Offers"] = "Atualizar Ofertas",
["Regeneration Time"] = "Tempo de Regeneração",
["Reject"] = "Rejeitar", ["Reject"] = "Rejeitar",
["Reload"] = "Recarregar", ["Reload"] = "Recarregar",
["Reload All"] = "Recarregar Todos", ["Reload All"] = "Recarregar Todos",
@ -226,6 +229,7 @@ locale = {
["Remove %s"] = "Remover %s", ["Remove %s"] = "Remover %s",
["Report Bug"] = "Reportar defeito", ["Report Bug"] = "Reportar defeito",
["Reserved for more functionality later."] = "Reservado para futura maior funcionalidade.", ["Reserved for more functionality later."] = "Reservado para futura maior funcionalidade.",
["Reset Market"] = "Resetar Mercado",
["Revoke %s's Invitation"] = "Não aceitar o convite do %s", ["Revoke %s's Invitation"] = "Não aceitar o convite do %s",
["Rotate"] = "Girar", ["Rotate"] = "Girar",
["Rule Violation"] = "Violação de regra", ["Rule Violation"] = "Violação de regra",
@ -260,6 +264,7 @@ locale = {
["Skills"] = "Habilidades", ["Skills"] = "Habilidades",
["Soul"] = "Alma", ["Soul"] = "Alma",
["Soul Points"] = "Pontos de Alma", ["Soul Points"] = "Pontos de Alma",
["Speed"] = "Velocidade",
["Stamina"] = "Vigor", ["Stamina"] = "Vigor",
["Start"] = "Começar", ["Start"] = "Começar",
["Statement:"] = "Afirmação:", ["Statement:"] = "Afirmação:",

@ -62,12 +62,13 @@ MiniWindow < UIMiniWindow
anchors.right: parent.right anchors.right: parent.right
step: 14 step: 14
margin-top: 22 margin-top: 22
margin-right: 2 margin-right: 3
margin-bottom: 3 margin-bottom: 3
pixels-scroll: true pixels-scroll: true
$!on: $!on:
width: 0 width: 0
margin-right: 4
ResizeBorder ResizeBorder
id: bottomResizeBorder id: bottomResizeBorder
@ -76,16 +77,17 @@ MiniWindow < UIMiniWindow
anchors.right: parent.right anchors.right: parent.right
height: 3 height: 3
minimum: 48 minimum: 48
margin-left: 3
margin-right: 3
background: #ffffff88 background: #ffffff88
MiniWindowContents < ScrollablePanel MiniWindowContents < ScrollablePanel
id: contentsPanel id: contentsPanel
anchors.fill: parent anchors.fill: parent
anchors.right: miniwindowScrollBar.left anchors.right: miniwindowScrollBar.left
margin-right: -1 margin-left: 3
margin-top: 21 margin-bottom: 3
padding: 4 margin-top: 22
padding-top: 2
vertical-scrollbar: miniwindowScrollBar vertical-scrollbar: miniwindowScrollBar
BorderlessGameWindow < UIWindow BorderlessGameWindow < UIWindow

@ -70,7 +70,7 @@ TopPanel
id: frameCounter id: frameCounter
anchors.top: parent.top anchors.top: parent.top
anchors.left: prev.right anchors.left: prev.right
margin-top: 8 margin-top: 10
margin-right: 5 margin-right: 5
@onSetup: | @onSetup: |
cycleEvent(function() cycleEvent(function()

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

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

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

@ -93,6 +93,13 @@ function toggle()
end end
end end
function hideLabels()
capLabel:hide()
soulLabel:hide()
local removeHeight = capLabel:getHeight() + capLabel:getMarginTop() + capLabel:getMarginBottom()
healthInfoWindow:setHeight(healthInfoWindow:getHeight() - removeHeight)
end
function onMiniWindowClose() function onMiniWindowClose()
healthInfoButton:setOn(false) healthInfoButton:setOn(false)
end end

@ -42,6 +42,7 @@ SoulLabel < GameLabel
anchors.right: parent.right anchors.right: parent.right
anchors.left: parent.horizontalCenter anchors.left: parent.horizontalCenter
margin-top: 5 margin-top: 5
margin-right: 3
text: Soul: text: Soul:
CapLabel < GameLabel CapLabel < GameLabel
@ -52,6 +53,7 @@ CapLabel < GameLabel
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.horizontalCenter anchors.right: parent.horizontalCenter
margin-top: 5 margin-top: 5
margin-left: 3
text: Cap: text: Cap:
ConditionWidget < UIWidget ConditionWidget < UIWidget

@ -38,7 +38,6 @@ MainWindow
anchors.right: prev.left anchors.right: prev.left
anchors.top: prev.top anchors.top: prev.top
anchors.bottom: prev.bottom anchors.bottom: prev.bottom
margin-top: 2
padding: 1 padding: 1
focusable: false focusable: false
@ -160,6 +159,13 @@ MainWindow
margin-top: 2 margin-top: 2
@onCheckChange: modules.game_hotkeys.changeUseType(HOTKEY_MANAGER_USEWITH, self:isChecked()) @onCheckChange: modules.game_hotkeys.changeUseType(HOTKEY_MANAGER_USEWITH, self:isChecked())
HorizontalSeparator
id: separator
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: next.top
margin-bottom: 10
Button Button
!text: tr('Close') !text: tr('Close')
width: 64 width: 64

@ -39,7 +39,6 @@ MiniWindow
size: 14 14 size: 14 14
MiniWindowContents MiniWindowContents
padding: 2
UIMap UIMap
id: minimap id: minimap
anchors.fill: parent anchors.fill: parent

@ -16,20 +16,19 @@ QuestLineWindow < MainWindow
TextList TextList
id: missionList id: missionList
anchors.fill: parent anchors.top: parent.top
anchors.bottom: none anchors.left: parent.left
width: 200 anchors.right: missionListScrollBar.left
height: 200 height: 200
padding: 1 padding: 1
focusable: false focusable: false
margin-right: 20
vertical-scrollbar: missionListScrollBar vertical-scrollbar: missionListScrollBar
VerticalScrollBar VerticalScrollBar
id: missionListScrollBar id: missionListScrollBar
anchors.top: missionList.top anchors.top: parent.top
anchors.bottom: missionList.bottom anchors.right: parent.right
anchors.left: missionList.right height: 200
step: 14 step: 14
pixels-scroll: true pixels-scroll: true
@ -38,8 +37,8 @@ QuestLineWindow < MainWindow
anchors.top: missionList.bottom anchors.top: missionList.bottom
anchors.left: parent.left anchors.left: parent.left
anchors.right: missionListScrollBar.right anchors.right: missionListScrollBar.right
anchors.bottom: parent.bottom anchors.bottom: closeButton.top
margin-bottom: 30 margin-bottom: 10
margin-top: 10 margin-top: 10
text-wrap: true text-wrap: true

@ -39,10 +39,12 @@ MiniWindow
&save: true &save: true
MiniWindowContents MiniWindowContents
anchors.fill: parent padding-left: 5
padding-right: 5
layout: verticalBox layout: verticalBox
SkillButton SkillButton
margin-top: 5
id: experience id: experience
height: 15 height: 15
SkillNameLabel SkillNameLabel

@ -1,7 +1,11 @@
VipListLabel < GameLabel VipListLabel < GameLabel
margin-top: 2
font: verdana-11px-monochrome font: verdana-11px-monochrome
phantom: false phantom: false
$first:
margin-top: 5
MiniWindow MiniWindow
id: vipWindow id: vipWindow
!text: tr('VIP List') !text: tr('VIP List')
@ -12,5 +16,6 @@ MiniWindow
MiniWindowContents MiniWindowContents
layout: verticalBox layout: verticalBox
anchors.fill: parent padding-left: 5
padding-right: 5
&onMousePress: modules.game_viplist.onVipListMousePress &onMousePress: modules.game_viplist.onVipListMousePress

@ -515,7 +515,7 @@ bool Map::loadOtcm(const std::string& fileName)
fin->close(); fin->close();
g_logger.debug(stdext::format("Otcm load time: %.2f seconds", loadTimer.elapsed_seconds())); //g_logger.debug(stdext::format("Otcm load time: %.2f seconds", loadTimer.elapsed_seconds()));
return true; return true;
} catch(stdext::exception& e) { } catch(stdext::exception& e) {
g_logger.error(stdext::format("failed to load OTCM map: %s", e.what())); g_logger.error(stdext::format("failed to load OTCM map: %s", e.what()));

@ -192,4 +192,3 @@ void UIMap::updateMapSize()
if(m_aspectRatio == 0.0f) if(m_aspectRatio == 0.0f)
updateVisibleDimension(); updateVisibleDimension();
} }

Loading…
Cancel
Save