Englische Uebersetzung

Scoreproblem gefixt
This commit is contained in:
seba 2009-01-21 01:03:01 +01:00
parent 1ea8b01057
commit 0987d120bd
5 changed files with 76 additions and 67 deletions

View File

@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: viergewinnt-qt
# Generated by qmake (2.01a) (Qt 4.4.3) on: Sa Nov 1 16:10:13 2008
# Generated by qmake (2.01a) (Qt 4.4.3) on: Di Jan 20 23:09:39 2009
# Project: viergewinnt-qt.pro
# Template: app
# Command: /usr/bin/qmake -unix -o Makefile viergewinnt-qt.pro
@ -173,7 +173,7 @@ qmake: FORCE
dist:
@$(CHK_DIR_EXISTS) .tmp/viergewinnt-qt1.0.0 || $(MKDIR) .tmp/viergewinnt-qt1.0.0
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/viergewinnt-qt1.0.0/ && $(COPY_FILE) --parents about.h creategame.h findserver.h newgame.h playerwait.h renderarea.h selectmaster.h viergewinnt.h .tmp/viergewinnt-qt1.0.0/ && $(COPY_FILE) --parents about.cpp creategame.cpp findserver.cpp main.cpp newgame.cpp playerwait.cpp renderarea.cpp selectmaster.cpp viergewinnt.cpp .tmp/viergewinnt-qt1.0.0/ && $(COPY_FILE) --parents viergewinnt-qt_en.ts .tmp/viergewinnt-qt1.0.0/ && (cd `dirname .tmp/viergewinnt-qt1.0.0` && $(TAR) viergewinnt-qt1.0.0.tar viergewinnt-qt1.0.0 && $(COMPRESS) viergewinnt-qt1.0.0.tar) && $(MOVE) `dirname .tmp/viergewinnt-qt1.0.0`/viergewinnt-qt1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/viergewinnt-qt1.0.0
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/viergewinnt-qt1.0.0/ && $(COPY_FILE) --parents about.h creategame.h findserver.h newgame.h playerwait.h renderarea.h selectmaster.h viergewinnt.h .tmp/viergewinnt-qt1.0.0/ && $(COPY_FILE) --parents about.cpp creategame.cpp findserver.cpp main.cpp newgame.cpp playerwait.cpp renderarea.cpp selectmaster.cpp viergewinnt.cpp .tmp/viergewinnt-qt1.0.0/ && $(COPY_FILE) --parents trans/viergewinnt-qt_en.ts .tmp/viergewinnt-qt1.0.0/ && (cd `dirname .tmp/viergewinnt-qt1.0.0` && $(TAR) viergewinnt-qt1.0.0.tar viergewinnt-qt1.0.0 && $(COMPRESS) viergewinnt-qt1.0.0.tar) && $(MOVE) `dirname .tmp/viergewinnt-qt1.0.0`/viergewinnt-qt1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/viergewinnt-qt1.0.0
clean:compiler_clean

View File

@ -28,7 +28,7 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent) {
ok = new QPushButton(tr("Ok"));
connect(ok, SIGNAL(clicked()), this, SLOT(accept()));
head = new QLabel(tr("Netzwerk-VierGewinnt Client\nProgrammiert von seba\nwww.seba-geek.de"));
head = new QLabel(tr("Netzwerk-VierGewinnt Client V0.8\nProgrammiert von seba\nwww.seba-geek.de"));
head->setAlignment(Qt::AlignHCenter);
body = new QLabel(tr("Erstes QT-Programm!\nDies ist ein Client für das VierGewinnt-Modul vom \"Generic Network-Server\". Endlich eine Verbesserung zum SDL-Client..."));
body->setWordWrap(true);

View File

@ -4,12 +4,12 @@
<context>
<name>AboutDialog</name>
<message>
<location filename="about.cpp" line="26"/>
<location filename="../about.cpp" line="26"/>
<source>&#xdc;ber</source>
<translation>About</translation>
</message>
<message>
<location filename="about.cpp" line="29"/>
<location filename="../about.cpp" line="29"/>
<source>Ok</source>
<translation>Ok</translation>
</message>
@ -18,42 +18,51 @@
<source>Netzwerk-VierGewinnt Client
Programmiert von seba
www.seba-geek.de</source>
<translation>Network-VierGewinnt Client
<translation type="obsolete">Network-VierGewinnt Client
Programmed by seba
www.seba-geek.de</translation>
</message>
<message>
<location filename="about.cpp" line="33"/>
<location filename="../about.cpp" line="33"/>
<source>Erstes QT-Programm!
Dies ist ein Client f&#xfc;r das VierGewinnt-Modul vom &quot;Generic Network-Server&quot;. Endlich eine Verbesserung zum SDL-Client...</source>
<translation>First QT-Programm!
This is a client for the VierGewinnt-Module from the &quot;Generic Network-Server&quot;. At last an improvement to the SDL-Client...</translation>
</message>
<message>
<location filename="../about.cpp" line="31"/>
<source>Netzwerk-VierGewinnt Client V0.8
Programmiert von seba
www.seba-geek.de</source>
<translation>Network-VierGewinnt Client V0.8
Programmed by seba
www.seba-geek.de</translation>
</message>
</context>
<context>
<name>CreateGameDialog</name>
<message>
<location filename="creategame.cpp" line="26"/>
<location filename="../creategame.cpp" line="26"/>
<source>Neues Spiel</source>
<translation>New Game</translation>
</message>
<message>
<location filename="creategame.cpp" line="29"/>
<location filename="../creategame.cpp" line="29"/>
<source>Spielname</source>
<translation>Gamename</translation>
</message>
<message>
<location filename="creategame.cpp" line="31"/>
<location filename="../creategame.cpp" line="31"/>
<source>Ok</source>
<translation>Ok</translation>
</message>
<message>
<location filename="creategame.cpp" line="33"/>
<location filename="../creategame.cpp" line="33"/>
<source>Abbrechen</source>
<translation>Cancel</translation>
</message>
<message>
<location filename="creategame.cpp" line="55"/>
<location filename="../creategame.cpp" line="55"/>
<source>Unbenanntes Spiel</source>
<translation>Unknown Game</translation>
</message>
@ -61,147 +70,147 @@ This is a client for the VierGewinnt-Module from the &quot;Generic Network-Serve
<context>
<name>FindServerWidget</name>
<message>
<location filename="findserver.cpp" line="30"/>
<location filename="../findserver.cpp" line="30"/>
<source>Sebas Netzwerk-VierGewinnt Client</source>
<translation>Sebas Network-VierGewinnt Client</translation>
</message>
<message>
<location filename="findserver.cpp" line="30"/>
<location filename="../findserver.cpp" line="30"/>
<source>Serverliste</source>
<translation>Serverlist</translation>
</message>
<message>
<location filename="findserver.cpp" line="52"/>
<location filename="../findserver.cpp" line="52"/>
<source>Id</source>
<translation>Id</translation>
</message>
<message>
<location filename="findserver.cpp" line="52"/>
<location filename="../findserver.cpp" line="52"/>
<source>Spielname</source>
<translation>Gamename</translation>
</message>
<message>
<location filename="findserver.cpp" line="52"/>
<location filename="../findserver.cpp" line="52"/>
<source>Spieler</source>
<translation>Players</translation>
</message>
<message>
<location filename="findserver.cpp" line="52"/>
<location filename="../findserver.cpp" line="52"/>
<source>Spielfeld</source>
<translation>Field</translation>
</message>
<message>
<location filename="findserver.cpp" line="52"/>
<location filename="../findserver.cpp" line="52"/>
<source>Gewinnt</source>
<translation>Wins</translation>
</message>
<message>
<location filename="findserver.cpp" line="60"/>
<location filename="../findserver.cpp" line="60"/>
<source>Erneuern</source>
<translation>Refresh</translation>
</message>
<message>
<location filename="findserver.cpp" line="62"/>
<location filename="../findserver.cpp" line="62"/>
<source>Erstellen</source>
<translation>Create</translation>
</message>
<message>
<location filename="findserver.cpp" line="64"/>
<location filename="../findserver.cpp" line="64"/>
<source>Beitreten</source>
<translation>Join</translation>
</message>
<message>
<location filename="findserver.cpp" line="66"/>
<location filename="../findserver.cpp" line="66"/>
<source>Anderer Masterserver</source>
<translation>Change masterserver</translation>
</message>
<message>
<location filename="findserver.cpp" line="68"/>
<location filename="../findserver.cpp" line="68"/>
<source>&#xdc;ber</source>
<translation>About</translation>
</message>
<message>
<location filename="findserver.cpp" line="85"/>
<location filename="../findserver.cpp" line="85"/>
<source>Dr&#xfc;cke Erneuern um eine Serverliste zu erhalten</source>
<translation>Press Refresh to get the serverlist</translation>
</message>
<message>
<location filename="findserver.cpp" line="107"/>
<location filename="../findserver.cpp" line="107"/>
<source>Fordere Liste an...</source>
<translation>Requesting list...</translation>
</message>
<message>
<location filename="findserver.cpp" line="133"/>
<location filename="../findserver.cpp" line="133"/>
<source>Spiel erstellt</source>
<translation>Game created</translation>
</message>
<message>
<location filename="findserver.cpp" line="147"/>
<location filename="../findserver.cpp" line="147"/>
<source>Es wurde kein Spiel zum beitreten ausgew&#xe4;hlt</source>
<translation>No Game was selected</translation>
</message>
<message>
<location filename="findserver.cpp" line="160"/>
<location filename="../findserver.cpp" line="160"/>
<source>Trete Spiel bei..</source>
<translation>Joining game..</translation>
</message>
<message>
<location filename="findserver.cpp" line="176"/>
<location filename="../findserver.cpp" line="176"/>
<source>Version akzeptiert</source>
<translation>Version accepted</translation>
</message>
<message>
<location filename="findserver.cpp" line="180"/>
<location filename="../findserver.cpp" line="180"/>
<source>Version nicht akzeptiert, kein GNS-Server!</source>
<translation>Version rejected, not a GNS-Server!</translation>
</message>
<message>
<location filename="findserver.cpp" line="188"/>
<location filename="../findserver.cpp" line="188"/>
<source>Modul ausgew&#xe4;hlt</source>
<translation>Module selected</translation>
</message>
<message>
<location filename="findserver.cpp" line="195"/>
<location filename="../findserver.cpp" line="195"/>
<source>VierGewinnt-Modul nicht gefunden!</source>
<translation>VierGewinnt-Module not found!</translation>
</message>
<message>
<location filename="findserver.cpp" line="213"/>
<location filename="../findserver.cpp" line="213"/>
<source>Keine Spiele offen :(</source>
<translation>No games open :(</translation>
</message>
<message>
<location filename="findserver.cpp" line="215"/>
<location filename="../findserver.cpp" line="215"/>
<source>Konnte nicht beitreten: Spiel voll</source>
<translation>Could not join: Game full</translation>
</message>
<message>
<location filename="findserver.cpp" line="217"/>
<location filename="../findserver.cpp" line="217"/>
<source>Spiel konnte nicht gefunden werden</source>
<translation>Could not find game</translation>
</message>
<message>
<location filename="findserver.cpp" line="309"/>
<location filename="../findserver.cpp" line="309"/>
<source>Fehler: Der Master-Server Hostname konnte nicht aufgel&#xf6;st werden!</source>
<translation>Error: The masterserver hostname could not be resolved!</translation>
</message>
<message>
<location filename="findserver.cpp" line="312"/>
<location filename="../findserver.cpp" line="312"/>
<source>Fehler: Verbindungsversuch zum Master-Server ist fehlgeschlagen!</source>
<translation>Error: Could not connect to masterserver!</translation>
</message>
<message>
<location filename="findserver.cpp" line="318"/>
<location filename="../findserver.cpp" line="318"/>
<source>Netzwerkfehler: &apos;%1&apos;</source>
<translation>Networkerror: &apos;%1&apos;</translation>
</message>
<message>
<location filename="findserver.cpp" line="328"/>
<location filename="../findserver.cpp" line="328"/>
<source>Die Verbindung zum Masterserver wurde getrennt.</source>
<translation>Disconnected from masterserver.</translation>
</message>
<message>
<location filename="findserver.cpp" line="339"/>
<location filename="../findserver.cpp" line="339"/>
<source>Versuche Verbindung zu </source>
<translation>Trying to connect to </translation>
</message>
@ -209,42 +218,42 @@ This is a client for the VierGewinnt-Module from the &quot;Generic Network-Serve
<context>
<name>NewGameDialog</name>
<message>
<location filename="newgame.cpp" line="28"/>
<location filename="../newgame.cpp" line="28"/>
<source>Ein neues Spiel?</source>
<translation>A new game?</translation>
</message>
<message>
<location filename="newgame.cpp" line="30"/>
<location filename="../newgame.cpp" line="30"/>
<source>Ok</source>
<translation>Ok</translation>
</message>
<message>
<location filename="newgame.cpp" line="32"/>
<location filename="../newgame.cpp" line="32"/>
<source>Abbrechen</source>
<translation>Cancel</translation>
</message>
<message>
<location filename="newgame.cpp" line="35"/>
<location filename="../newgame.cpp" line="35"/>
<source>Neues Spiel?</source>
<translation>New game?</translation>
</message>
<message>
<location filename="newgame.cpp" line="65"/>
<location filename="../newgame.cpp" line="65"/>
<source>Dein Mispieler hat bisher noch nicht zugestimmt.</source>
<translation>Your opponent did not agree to a new game right now.</translation>
</message>
<message>
<location filename="newgame.cpp" line="68"/>
<location filename="../newgame.cpp" line="68"/>
<source>Whee, du hast gewonnen! :)</source>
<translation>Whee, you won! :)</translation>
</message>
<message>
<location filename="newgame.cpp" line="70"/>
<location filename="../newgame.cpp" line="70"/>
<source>Du hast verloren -.-</source>
<translation>You have lost -.-</translation>
</message>
<message>
<location filename="newgame.cpp" line="75"/>
<location filename="../newgame.cpp" line="75"/>
<source>Dein Mispieler hat zugestimmt.</source>
<translation>Your opponent agreed.</translation>
</message>
@ -252,17 +261,17 @@ This is a client for the VierGewinnt-Module from the &quot;Generic Network-Serve
<context>
<name>PlayerWaitDialog</name>
<message>
<location filename="playerwait.cpp" line="26"/>
<location filename="../playerwait.cpp" line="26"/>
<source>Abbrechen</source>
<translation>Cancel</translation>
</message>
<message>
<location filename="playerwait.cpp" line="29"/>
<location filename="../playerwait.cpp" line="29"/>
<source>Warte auf anderen Spieler...</source>
<translation>Waiting for other player...</translation>
</message>
<message>
<location filename="playerwait.cpp" line="30"/>
<location filename="../playerwait.cpp" line="30"/>
<source>Auf Spieler warten</source>
<translation>Waiting for other player</translation>
</message>
@ -270,32 +279,32 @@ This is a client for the VierGewinnt-Module from the &quot;Generic Network-Serve
<context>
<name>SelectMasterDialog</name>
<message>
<location filename="selectmaster.cpp" line="25"/>
<location filename="../selectmaster.cpp" line="25"/>
<source>Bitte gib einen anderen Masterserver an</source>
<translation>Please enter another masterserver</translation>
</message>
<message>
<location filename="selectmaster.cpp" line="26"/>
<location filename="../selectmaster.cpp" line="26"/>
<source>Master-Server:</source>
<translation>Masterserver:</translation>
</message>
<message>
<location filename="selectmaster.cpp" line="27"/>
<location filename="../selectmaster.cpp" line="27"/>
<source>Master-Port:</source>
<translation>Masterport:</translation>
</message>
<message>
<location filename="selectmaster.cpp" line="44"/>
<location filename="../selectmaster.cpp" line="44"/>
<source>Master-Server &#xe4;ndern</source>
<translation>Change masterserver</translation>
</message>
<message>
<location filename="selectmaster.cpp" line="52"/>
<location filename="../selectmaster.cpp" line="52"/>
<source>Der Master-Server ist ung&#xfc;ltig</source>
<translation>The masterserver is invalid</translation>
</message>
<message>
<location filename="selectmaster.cpp" line="60"/>
<location filename="../selectmaster.cpp" line="60"/>
<source>Der Master-Port ist ung&#xfc;ltig</source>
<translation>The masterport is invalid</translation>
</message>
@ -303,37 +312,37 @@ This is a client for the VierGewinnt-Module from the &quot;Generic Network-Serve
<context>
<name>VierGewinntWidget</name>
<message>
<location filename="viergewinnt.cpp" line="29"/>
<location filename="../viergewinnt.cpp" line="27"/>
<source>Sebas Netzwerk-VierGewinnt Client</source>
<translation>Sebas Network-VierGewinnt Client</translation>
</message>
<message>
<location filename="viergewinnt.cpp" line="29"/>
<location filename="../viergewinnt.cpp" line="27"/>
<source>Spielfenster</source>
<translation>Gamewindow</translation>
</message>
<message>
<location filename="viergewinnt.cpp" line="36"/>
<location filename="../viergewinnt.cpp" line="34"/>
<source>Spiel ist gestartet</source>
<translation>The game has been started</translation>
</message>
<message>
<location filename="viergewinnt.cpp" line="41"/>
<location filename="../viergewinnt.cpp" line="39"/>
<source>zu</source>
<translation>to</translation>
</message>
<message>
<location filename="viergewinnt.cpp" line="43"/>
<location filename="../viergewinnt.cpp" line="41"/>
<source>Spiel Beenden</source>
<translation>Quit game</translation>
</message>
<message>
<location filename="viergewinnt.cpp" line="133"/>
<location filename="../viergewinnt.cpp" line="131"/>
<source>Du bist am Zug</source>
<translation>It&apos;s your move</translation>
</message>
<message>
<location filename="viergewinnt.cpp" line="135"/>
<location filename="../viergewinnt.cpp" line="133"/>
<source>Dein Mitspieler ist am Zug</source>
<translation>It&apos;s your opponents move</translation>
</message>

View File

@ -11,7 +11,7 @@ QT += network
CONFIG += qt warn_on release
# Input
TRANSLATIONS = viergewinnt-qt_en.ts
TRANSLATIONS = trans/viergewinnt-qt_en.ts
CODECFORTR = ISO-8859-15
HEADERS += about.h \

View File

@ -94,7 +94,7 @@ void VierGewinntWidget::startGame() {
cleanFeld();
QTextStream sockstream(mysock);
sockstream << "TURN\n";
sockstream << "SHOWSCORE\n";
sockstream << "SHOWMYSCORE\n";
}
void VierGewinntWidget::add(int row, Stein st) {