# HG changeset patch # User unc0rr # Date 1224320383 0 # Node ID f5b1b3fd70cc1f5f979e0403cba85d0c7a13ebb1 # Parent a734715a777a189a76e93034ea1b4261c2365cfe - Add brazilian translation - Comment network debug messages diff -r a734715a777a -r f5b1b3fd70cc QTfrontend/game.cpp --- a/QTfrontend/game.cpp Thu Oct 16 19:48:11 2008 +0000 +++ b/QTfrontend/game.cpp Sat Oct 18 08:59:43 2008 +0000 @@ -157,7 +157,6 @@ void HWGame::ParseMessage(const QByteArray & msg) { -qDebug() << msg; switch(msg.at(1)) { case '?': { SendIPC("!"); diff -r a734715a777a -r f5b1b3fd70cc QTfrontend/hedgewars.pro --- a/QTfrontend/hedgewars.pro Thu Oct 16 19:48:11 2008 +0000 +++ b/QTfrontend/hedgewars.pro Sat Oct 18 08:59:43 2008 +0000 @@ -1,96 +1,97 @@ -TEMPLATE = app -TARGET = hedgewars -DEPENDPATH += . -INCLUDEPATH += . -DESTDIR = ../bin - -win32 { - RC_FILE = ./res/hedgewars.rc -} - -QT += network svg xml - -HEADERS += binds.h \ - game.h \ - hwform.h \ - sdlkeys.h \ - team.h \ - teamselect.h \ - teamselhelper.h \ - frameTeam.h \ - vertScrollArea.h \ - gameuiconfig.h \ - ui_hwform.h \ - gamecfgwidget.h \ - predefteams.h \ - pages.h \ - SquareLabel.h \ - hedgehogerWidget.h \ - hwmap.h \ - mapContainer.h \ - tcpBase.h \ - about.h \ - KB.h \ - proto.h \ - fpsedit.h \ - netserver.h \ - netconnectedclient.h \ - newnetclient.h \ - netudpserver.h \ - netudpwidget.h \ - netserverslist.h \ - chatwidget.h \ - SDLs.h \ - playrecordpage.h \ - hwconsts.h \ - selectWeapon.h \ - itemNum.h \ - input_ip.h - -SOURCES += binds.cpp \ - game.cpp \ - main.cpp \ - hwform.cpp \ - team.cpp \ - teamselect.cpp \ - teamselhelper.cpp \ - frameTeam.cpp \ - vertScrollArea.cpp \ - gameuiconfig.cpp \ - ui_hwform.cpp \ - gamecfgwidget.cpp \ - pages.cpp \ - SquareLabel.cpp \ - hedgehogerWidget.cpp \ - hwmap.cpp \ - mapContainer.cpp \ - tcpBase.cpp \ - about.cpp \ - proto.cpp \ - fpsedit.cpp \ - netserver.cpp \ - netconnectedclient.cpp \ - newnetclient.cpp \ - netudpserver.cpp \ - netudpwidget.cpp \ - netserverslist.cpp \ - chatwidget.cpp \ - SDLs.cpp \ - playrecordpage.cpp \ - hwconsts.cpp \ - selectWeapon.cpp \ - itemNum.cpp \ - input_ip.cpp - -TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts -TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts -TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts -TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts -TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts -TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts -TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts -TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts - -RESOURCES += hedgewars.qrc - -LIBS += libSDL +TEMPLATE = app +TARGET = hedgewars +DEPENDPATH += . +INCLUDEPATH += . +DESTDIR = ../bin + +win32 { + RC_FILE = ./res/hedgewars.rc +} + +QT += network svg xml + +HEADERS += binds.h \ + game.h \ + hwform.h \ + sdlkeys.h \ + team.h \ + teamselect.h \ + teamselhelper.h \ + frameTeam.h \ + vertScrollArea.h \ + gameuiconfig.h \ + ui_hwform.h \ + gamecfgwidget.h \ + predefteams.h \ + pages.h \ + SquareLabel.h \ + hedgehogerWidget.h \ + hwmap.h \ + mapContainer.h \ + tcpBase.h \ + about.h \ + KB.h \ + proto.h \ + fpsedit.h \ + netserver.h \ + netconnectedclient.h \ + newnetclient.h \ + netudpserver.h \ + netudpwidget.h \ + netserverslist.h \ + chatwidget.h \ + SDLs.h \ + playrecordpage.h \ + hwconsts.h \ + selectWeapon.h \ + itemNum.h \ + input_ip.h + +SOURCES += binds.cpp \ + game.cpp \ + main.cpp \ + hwform.cpp \ + team.cpp \ + teamselect.cpp \ + teamselhelper.cpp \ + frameTeam.cpp \ + vertScrollArea.cpp \ + gameuiconfig.cpp \ + ui_hwform.cpp \ + gamecfgwidget.cpp \ + pages.cpp \ + SquareLabel.cpp \ + hedgehogerWidget.cpp \ + hwmap.cpp \ + mapContainer.cpp \ + tcpBase.cpp \ + about.cpp \ + proto.cpp \ + fpsedit.cpp \ + netserver.cpp \ + netconnectedclient.cpp \ + newnetclient.cpp \ + netudpserver.cpp \ + netudpwidget.cpp \ + netserverslist.cpp \ + chatwidget.cpp \ + SDLs.cpp \ + playrecordpage.cpp \ + hwconsts.cpp \ + selectWeapon.cpp \ + itemNum.cpp \ + input_ip.cpp + +TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts +TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts +TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts +TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts +TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts +TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts +TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts +TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts +TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts + +RESOURCES += hedgewars.qrc + +LIBS += libSDL diff -r a734715a777a -r f5b1b3fd70cc QTfrontend/newnetclient.cpp --- a/QTfrontend/newnetclient.cpp Thu Oct 16 19:48:11 2008 +0000 +++ b/QTfrontend/newnetclient.cpp Sat Oct 18 08:59:43 2008 +0000 @@ -132,9 +132,9 @@ void HWNewNet::RawSendNet(const QByteArray & buf) { - qDebug() << "Client: " << QString(buf).split("\n"); - NetSocket.write(buf); - NetSocket.write("\n\n", 2); + //qDebug() << "Client: " << QString(buf).split("\n"); + NetSocket.write(buf); + NetSocket.write("\n\n", 2); } void HWNewNet::ClientRead() @@ -184,7 +184,7 @@ void HWNewNet::ParseCmd(const QStringList & lst) { - qDebug() << "Server: " << lst; + //qDebug() << "Server: " << lst; if(!lst.size()) { diff -r a734715a777a -r f5b1b3fd70cc share/hedgewars/Data/Locale/hedgewars_pt_BR.qm Binary file share/hedgewars/Data/Locale/hedgewars_pt_BR.qm has changed diff -r a734715a777a -r f5b1b3fd70cc share/hedgewars/Data/Locale/hedgewars_pt_BR.ts --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/share/hedgewars/Data/Locale/hedgewars_pt_BR.ts Sat Oct 18 08:59:43 2008 +0000 @@ -0,0 +1,906 @@ + + + + HWForm + + Error + Erro + + + Please, select record from the list above + Por favor, selecione um entrada na lista acima + + + OK + OK + + + Unable to start the server + Falha ao iniciar o servidor + + + Cannot save record to file %1 + Falha ao salvar o recorde no arquivo %1 + + + + HWGame + + Error reading training config file + Erro ao ler o arquivo de configuração dos treinos + + + en.txt + pt-br.txt + + + Cannot open demofile %1 + Falha ao abrir o arquivo de demonstração %1 + + + + HWMapContainer + + Map + Mapa + + + Themes + Temas + + + + HWNetServersModel + + Title + Título + + + IP + Endereço IP + + + Port + Porta + + + + HWNewNet + + Error + Erro + + + The host was not found. Please check the host name and port settings. + O servidor nao foi encontrado. Por favor, verifique o nome do servidor e as configurações de porta. + + + Connection refused + Conexão negada + + + + KB + + SDL_ttf returned error while rendering text, most propably it is related to the bug in freetype2. It's recommended to update your freetype lib. + SDL_ttf retornou um erro enquanto renderizava texo, o mais provável é que esse esteja relacionado a um problema na freetype2. Recomendamos que você atualize sua biblioteca freetype. + + + + PageEditTeam + + Discard + Descartar + + + Save + Guardar + + + + PageMain + + Single Player + Un Jugador + + + Multiplayer + Multijugador + + + Net game + Juego en red + + + Saved games + Partidas guardadas + + + Demos + Demo + + + Setup + Configuración + + + About + Acerca de... + + + Exit + Salir + + + + PageMultiplayer + + Back + Volver + + + Start + Começar + + + + PageNet + + Local + Local + + + Internet + Internet + + + Error + Erro + + + Please, select server from the list above + Por favor, selecione o servidor na lista acima + + + + PageOptions + + New team + Nova equipe + + + Edit team + Editar equipe + + + Save + Guardar + + + Back + Volver + + + Weapons set + Set de armas + + + Edit + Editar + + + + PagePlayDemo + + Error + Erro + + + Please, select record from the list + Por favor, selecione uma entrada da lista + + + OK + OK + + + Rename dialog + Renomear + + + Enter new file name: + Especifique o novo nome do arquivo: + + + Cannot rename to + Não foi possível renomear para + + + Cannot delete file + Não foi possível excluir o arquivo + + + + PageSelectWeapon + + Back + Volver + + + Default + Padrão + + + Delete + Excluir + + + Save + Guardar + + + + PageSinglePlayer + + Simple Game + Partida simples + + + Training + Treinamento + + + Multiplayer + Multi jogador + + + Saved games + Partidas Guardadas + + + Demos + Demonstrações + + + + QCheckBox + + Forts mode + Modo de Fortes + + + Fullscreen + Tela cheia + + + Enable sound + Habilitar sons + + + Show FPS + Mostrar FPS (Performance) + + + Alternative damage show + Mostrar dano de maneira alternativa + + + Enable music + Habilitar música + + + Frontend fullscreen + Interface em tela cheia + + + + QComboBox + + generated map... + gerando mapa... + + + Human + Humano + + + Level 5 + Nivel 5 + + + Level 4 + Nivel 4 + + + Level 3 + Nivel 3 + + + Level 2 + Nivel 2 + + + Level 1 + Nivel 1 + + + + QGroupBox + + Landscape + Paisagem + + + Game scheme + Esquema de jogo + + + Team + Equipe + + + Team Members + Membros da equipe + + + Key binds + Associação de teclas + + + Grave + Lápide + + + Team level + Nivel da equipe + + + Fort + Forte + + + Teams + Equipes + + + Audio/Graphic options + Opções de audi e gráficos + + + Weapons + Armas + + + Net options + Opciones de red + + + Servers list + Lista de servidores + + + Net game + Jogo em ree + + + Playing teams + Equipes em jogo + + + + QLabel + + <h3>Version 0.9.2</h3> + <h3>Versión 0.9.2</h3> + + + This program is distributed under the GNU General Public License + Este programa é distribuido sob a GNU General Public License + + + Developers: + Desenvolvedores: + + + Art: + Gráficos: + + + Translations: + Traduções: + + + Special thanks: + Agradecimentos especiais: + + + Turn time + Duração do turno + + + Initial health + Vida inicial + + + Weapons + Armas + + + <p>The best shot award was won by <b>%1</b> with <b>%2</b> pts.</p> + <p>O prêmio de melhor disparo foi ganho por <b>%1</b> , com <b>%2</b> pontos.</p> + + + <p>A total of <b>%1</b> Hedgehog(s) were killed during this round.</p> + <p>Um total de <b>%1</b> porco(s) espinho foram mortos durante esta rodada.</p> + + + Host: + Anfitrião: + + + Port: + Porta: + + + Resolution + Resolução + + + FPS limit + Limite de FPS + + + Net nick + Apelido de rede + + + Server name: + Nome do servidor: + + + Server port: + Porta do servidor: + + + Version + Versão + + + <p>The best shot award was won by <b>%1</b> with <b>%2</b> kills.</p> + <p>O prêmio de melhor disparo foi ganho por <b>%1</b> com <b>%2</b> mortes.</p> + + + Sounds: + Sons: + + + + QLineEdit + + unnamed + sem nome + + + + QMainWindow + + Hedgewars + Porcos Espinho + + + + QMessageBox + + Network + Rede + + + Connection to server is lost + A conexão com o servidor foi perdida + + + Error + Erro + + + Failed to open data directory: +%1 +Please check your installation + Não foi possível abrir diretório de dados: +%1 +Por favor verifique sua instalação + + + Weapons + Armas + + + Can not edit default weapon set + Não foi possível editar o set de armas padrão + + + Can not delete default weapon set + Não foi possível excluir o set padrão de armas + + + Really delete this weapon set? + Realmente deseja remover este set de armas? + + + + QObject + + Error + Erro + + + Cannot create directory %1 + Não foi possível criar o diretório %1 + + + OK + OK + + + + QPushButton + + Waiting + Aguardando + + + Go! + Avançar! + + + default + pre-determinado + + + OK + OK + + + Cancel + Cancelar + + + Start server + Iniciar servidor + + + Connect + Conectar + + + Update + Atualizar + + + Specify + Especificar + + + Back + Volver + + + Start + Iniciar + + + Simple Game + Partida sencilla + + + Training + Entrenamiento + + + Play demo + Visualizar Demonstração + + + Rename + Renomear + + + Delete + Excluir + + + Load + Carregar + + + Setup + Configuração + + + + QToolBox + + Actions + Ações + + + Weapons + Armas + + + Weapon properties + Propriedades da arma + + + Other + Outros + + + + TCPBase + + Error + Erro + + + Unable to start the server: %1. + Não foi possível iniciar o servidor: %1. + + + Unable to run engine: %1 ( + Não foi possível iniciar o motor: %1 ( + + + + binds + + up + acima + + + left + esquerda + + + right + direita + + + down + abaixo + + + jump + pular + + + attack + atacar + + + put + usar + + + switch + trocar + + + find hedgehog + encontrar porco espinho + + + ammo menu + menu de munições + + + slot 1 + posição 1 + + + slot 2 + posição 2 + + + slot 3 + posição 3 + + + slot 4 + posição 4 + + + slot 5 + posição 5 + + + slot 6 + posição 6 + + + slot 7 + posição 7 + + + slot 8 + posição 8 + + + slot 9 + posição 9 + + + timer 1 sec + temporizador 1 seg + + + timer 2 sec + temporizador 2 seg + + + timer 3 sec + temporizador 3 seg + + + timer 4 sec + temporizador 4 seg + + + timer 5 sec + temporizador 5 seg + + + pause + pausa + + + volume down + diminuir volume + + + volume up + aumentar volume + + + change mode + alterar modo + + + capture + capturar + + + hedgehogs +info + informação dos +porcos espinho + + + quit + sair + + + chat + bate-papo + + + chat history + histórico de bate-papo + + + confirmation + confirmação + + + + teams + + Hedgehogs + Porcos espinho + + + hedgehog 1 + porco espinho 1 + + + hedgehog 2 + porco espinho 2 + + + hedgehog 3 + porco espinho 3 + + + hedgehog 4 + porco espinho 4 + + + hedgehog 5 + porco espinho 5 + + + hedgehog 6 + porco espinho 6 + + + hedgehog 7 + porco espinho 7 + + + hedgehog 8 + porco espinho 8 + + + Goddess + Deusa + + + Isis + Isis + + + Astarte + Astarte + + + Diana + Diana + + + Aphrodite + Afrodite + + + Hecate + Hécate + + + Demeter + Deméter + + + Kali + Kali + + + Inanna + Inanna + + + Fruits + Frutas + + + Banana + Banana + + + Apple + Maçã + + + Orange + Laranja + + + Lemon + Limão + + + Pineapple + Abacaxi + + + Mango + Manga + + + Peach + Peira + + + Plum + Ameixa + + + diff -r a734715a777a -r f5b1b3fd70cc share/hedgewars/Data/Locale/pt-br.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/share/hedgewars/Data/Locale/pt-br.txt Sat Oct 18 08:59:43 2008 +0000 @@ -0,0 +1,38 @@ +; Brazilian Portuguese locale + +00:00=Granada +00:01=Bomba de estilhaço +00:02=Bazooka +00:03=Disco Voador +00:04=Escopeta +00:05=Cavadeira +00:06=Pula a Vez +00:07=Corda +00:08=Mina +00:09=Desert Eagle (Pistola) +00:10=Dinamite +00:11=Taco de Baseball +00:12=Soco de Fogo +00:13=seg +00:14=Para-quedas +00:15=Ataque Aéreo +00:16=Mine Strike +00:17=Maçarico +00:18=Construção +00:19=Teleporte +00:20=Trocar de Jogador +00:21=Morteiro +00:22=Empurrão +00:23=Suicídio +00:24=Bolo de aniversário +00:25=Sedução +00:26=Bomba de Melância +00:27=Granada infernal + +01:00=Hora de lutar! +01:01=Partida empatou +01:02=%1 ganhou! +01:03=Volume %1% +01:04=Pausado +01:05=Realmente sair (Y/Esc)? +01:06=Morte Súbita!