fix lua error, add pt translations

This commit is contained in:
Henrique Santiago
2012-06-03 19:55:26 -03:00
parent 3f95d62467
commit 9548ce78c6
2 changed files with 45 additions and 1 deletions

View File

@@ -4,9 +4,29 @@ locale = {
-- As tradu<64><75>es devem vir sempre em ordem alfab<61>tica.
translation = {
["1a) Offensive Name"] = "1a) Nome ofensivo",
["1b) Invalid Name Format"] = "1b) Nome com formato inv<6E>lido",
["1c) Unsuitable Name"] = "1c) Nome n<>o adequado",
["1d) Name Inciting Rule Violation"] = "1d) Nome estimulando viola<6C><61>o de regra",
["2a) Offensive Statement"] = "2a) Afirma<6D><61>o ofensiva",
["2b) Spamming"] = "2b) Spamming",
["2c) Illegal Advertising"] = "2c) An<41>ncio ilegal",
["2d) Off-Topic Public Statement"] = "2d) Afirma<6D><61>o p<>blica fora de contexto",
["2e) Non-English Public Statement"] = "2e) Afirma<6D><61>o p<>blica em lingua n<>o inglesa",
["2f) Inciting Rule Violation"] = "2f) Estimulando viola<6C><61>o de regra",
["3a) Bug Abuse"] = "3a) Abuso de falhas",
["3b) Game Weakness Abuse"] = "3b) Abuso de falhas no jogo",
["3c) Using Unofficial Software to Play"] = "3c) Uso de programas ilegais para jogar",
["3d) Hacking"] = "3d) Hacking",
["3e) Multi-Clienting"] = "3e) Uso de mais de um cliente para jogar",
["3f) Account Trading or Sharing"] = "3f) Troca de contas ou compartilhamento",
["4a) Threatening Gamemaster"] = "4a) Amea<65>ar Gamemaster",
["4b) Pretending to Have Influence on Rule Enforcement"] = "4b) Fingir ter influencia sobre a execu<63><75>o de regras",
["4c) False Report to Gamemaster"] = "4c) Relat<61>rio falso para Gamemaster",
["Account name"] = "Nome da conta",
["Account Status:\nFree Account"] = "Estado da conta:\nGr<EFBFBD>tis",
["Account Status:\nPremium Account (%s) days left"] = "Estado da conta:\nConta premium (%s) dias faltando",
["Action:"] = "A<EFBFBD><EFBFBD>o:",
["Add"] = "Adicionar",
["Add new VIP"] = "Adicionar nova VIP",
["Addon 1"] = "Addon 1",
@@ -23,6 +43,9 @@ locale = {
["Auto login"] = "Entrar automaticamente",
["Auto login selected character on next charlist load"] = "Entrar automaticamente com o personagem quando reabrir a lista de personagens",
["Axe Fighting"] = "Combate com Machado",
["Background pane framerate limit: %s"] = "Limite da taxa de quadros no segundo plano: %s",
["Banishment"] = "Banimento",
["Banishment + Final Warning"] = "Banimento + Aviso final",
["Battle"] = "Batalha",
["Button Assign"] = "Selecionar bot<6F>o",
["Buy"] = "Comprar",
@@ -39,6 +62,7 @@ locale = {
["Close this channel"] = "Fechar esse canal",
["Club Fighting"] = "Combate com Porrete",
["Combat Controls"] = "Controles de combate",
["Comment:"] = "Coment<EFBFBD>rio:",
["Connecting to game server..."] = "Conectando no servidor do jogo...",
["Connecting to login server..."] = "Conectando no servidor de autentica<63><61>o...",
["Consider capacity"] = "Considerar capacidade",
@@ -48,6 +72,7 @@ locale = {
["Current hotkey to add: %s"] = "Atalho atual para adicionar: %s",
["Default"] = "Padr<EFBFBD>o",
["Description"] = "Descri<EFBFBD><EFBFBD>o",
["Destructive Behaviour"] = "Comportamento destrutivo",
["Detail"] = "Detalhe",
["Disable Shared Experience"] = "Desativar experi<72>ncia compartilhada",
["Distance Fighting"] = "Combate a Dist<73>ncia",
@@ -57,15 +82,18 @@ locale = {
["Enable vertical synchronization"] = "Ativar sincroniza<7A><61>o vertical",
["Enter Game"] = "Entrar no jogo",
["Error"] = "Erro",
["Excessive Unjustified Player Killing"] = "Assassinato em excesso, sem justificativa, de jogadores",
["Exclude from private chat"] = "Excluir do canal privado",
["Experience"] = "Experi<EFBFBD>ncia",
["Fishing"] = "Pesca",
["Fist Fighting"] = "Porrada",
["Follow"] = "Seguir",
["Foreground pane framerate limit: %s"] = "Limite da taxa de quadros no primeiro plano: %s",
["Frame rate limit"] = "Limite de FPS",
["Fullscreen"] = "Tela cheia",
["General"] = "Geral",
["Graphics"] = "Gr<EFBFBD>ficos",
["Graphics Engine:"] = "Motor Gr<47>fico:",
["Head"] = "Cabe<EFBFBD>a",
["Health Bar"] = "Barra de Vida",
["Help"] = "Ajuda",
@@ -81,6 +109,7 @@ locale = {
["Inventory"] = "Invent<EFBFBD>rio",
["Invite to Party"] = "Convidar para o grupo",
["Invite to private chat"] = "Convidar para o canal privado",
["IP Address Banishment"] = "Banimento de endere<72>o IP",
["Join %s\"s Party"] = "Entrar no grupo do %s",
["Leave Party"] = "Sair do grupo",
["Level"] = "N<EFBFBD>vel",
@@ -105,6 +134,10 @@ locale = {
["Move Stackable Item"] = "Mover item cont<6E>vel",
["Move up"] = "Mover para cima",
["Name:"] = "Nome:",
["Name Report"] = "Reportar Nome",
["Name Report + Banishment"] = "Reportar Nome + Banimento",
["Name Report + Banishment + Final Warning"] = "Reportar Nome + Banimento + Aviso Final",
["Notation"] = "Nota<EFBFBD><EFBFBD>o",
["NPC Trade"] = "Troca com NPC",
["Ok"] = "Ok",
["Open"] = "Abrir",
@@ -118,17 +151,21 @@ locale = {
["Password"] = "Senha",
["Please enter a character name:"] = "Por favor, entre com o nome do personagem:",
["Please, press the key you wish to add onto your hotkeys manager"] = "Por favor, pressione a tecla que voc<6F> deseja adicionar no gerenciador de atalhos",
["Please use this dialog to only report bugs. Do not report rule violations here!"] = "Por favor, use este campo apenas para reportar defeitos. N<>o reporte viola<6C><61>o de regras aqui!",
["Please wait"] = "Por favor, espere",
["Port"] = "Porta",
["Price:"] = "Pre<EFBFBD>o",
["Primary"] = "Prim<EFBFBD>rio",
["Quantity:"] = "Quantidade:",
["Quest Log"] = "Registro de Quest",
["Reason:"] = "Motivo:",
["Refresh"] = "Atualizar",
["Reload All"] = "Recarregar Todos",
["Remember account and password when starts otclient"] = "Lembrar conta e senha quando o cliente iniciar",
["Remember password"] = "Lembrar senha",
["Remove"] = "Remover",
["Remove %s"] = "Remover %s",
["Report Bug"] = "Reportar defeito",
["Revoke %s\"s Invitation"] = "Rejeitar o convite de %s",
["Rotate"] = "Girar",
["Search:"] = "Procurar:",
@@ -136,6 +173,7 @@ locale = {
["Select object"] = "Selecionar objeto",
["Select Outfit"] = "Selecionar Roupa",
["Sell"] = "Vender",
["Send"] = "Enviar",
["Send automatically"] = "Vender automaticamente",
["Server"] = "Servidor",
["Server Log"] = "Registro do servidor",
@@ -153,6 +191,8 @@ locale = {
["Skills"] = "Habilidades",
["Soul Points"] = "Pontos de Alma",
["Stamina"] = "Vigor",
["Statement:"] = "Afirma<EFBFBD><EFBFBD>o:",
["Statement Report"] = "Afirmar Relato",
["Stop Attack"] = "Parar de Atacar",
["Stop Follow"] = "Parar de Seguir",
["%s: (use object)"] = "%s: (usar objeto)",
@@ -176,6 +216,7 @@ locale = {
["Website"] = "Website",
["Weight:"] = "Peso",
["With crosshair"] = "Com mira",
["You are bleeding"] = "Voc<EFBFBD> est<73> sangrando",
["You are burning"] = "Voc<EFBFBD> est<73> queimando",
["You are cursed"] = "Voc<EFBFBD> est<73> amaldi<64>oado",
["You are dazzled"] = "Voc<EFBFBD> est<73> deslumbrado",
@@ -184,6 +225,7 @@ locale = {
["You are electrified"] = "Voc<EFBFBD> est<73> eletrificado",
["You are freezing"] = "Voc<EFBFBD> est<73> congelando",
["You are hasted"] = "Voc<EFBFBD> est<73> com pressa",
["You are hungry"] = "Voc<EFBFBD> est<73> faminto",
["You are paralysed"] = "Voc<EFBFBD> est<73> paralizado",
["You are poisoned"] = "Voc<EFBFBD> est<73> envenenado",
["You are protected by a magic shield"] = "Voc<EFBFBD> est<73> protegido com um escudo m<>gico",
@@ -194,6 +236,8 @@ locale = {
["You may not logout during a fight"] = "Voc<EFBFBD> n<>o pode sair durante um combate",
["You may not logout or enter a protection zone"] = "Voc<EFBFBD> n<>o pode sair ou entrar em uma zona de prote<74><65>o",
["You must select a character to login!"] = "Voc<EFBFBD> deve selecionar um personagem para entrar!",
["Your Capacity:"] = "Sua capacidade:",
["Your Money:"] = "Seu dinheiro:",
}
}

View File

@@ -234,7 +234,7 @@ function Console.terminate()
onGameEnd = Console.clear })
for channelid, channelname in pairs(channels) do
if channelid ~= 0 then
if tonumber(channelid) and tonumber(channelid) ~= 0 then
g_game.leaveChannel(channelid)
end
end