From 3b0c54e5c668564cef15180759669308d4f14c20 Mon Sep 17 00:00:00 2001 From: doitux Date: Wed, 10 Oct 2007 10:06:09 +0000 Subject: [PATCH] nick-autocompletition with tab_key --- .../gamelobbydialog/gamelobbydialogimpl.cpp | 19 + .../qt/gamelobbydialog/gamelobbydialogimpl.h | 3 + .../gamelobbydialog/lobbychat/lobbychat.cpp | 44 +- .../qt/gamelobbydialog/lobbychat/lobbychat.h | 1 + ts/pokerth_nl.ts | 856 +++++++++--------- 5 files changed, 490 insertions(+), 433 deletions(-) diff --git a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp index 4f44bc2d..39cf5e47 100644 --- a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp +++ b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.cpp @@ -36,6 +36,9 @@ gameLobbyDialogImpl::gameLobbyDialogImpl(QWidget *parent, ConfigFile *c) connect( lineEdit_ChatInput, SIGNAL( returnPressed () ), this, SLOT( sendChatMessage() ) ); connect( lineEdit_ChatInput, SIGNAL( textChanged (QString) ), this, SLOT( checkChatInputLength(QString) ) ); + + lineEdit_ChatInput->installEventFilter(this); + clearDialog(); } @@ -564,9 +567,25 @@ void gameLobbyDialogImpl::keyPressEvent ( QKeyEvent * event ) { } else { keyUpCounter = 0; } +// if (event->key() == Qt::Key_Tab) event->ignore(); else { /*blah*/ } + } +bool gameLobbyDialogImpl::eventFilter(QObject *obj, QEvent *event) +{ + QKeyEvent *keyEvent = static_cast(event); + + if (obj == lineEdit_ChatInput && lineEdit_ChatInput->text() != "" && event->type() == QEvent::KeyPress && keyEvent->key() == Qt::Key_Tab) + { + myChat->nickAutoCompletition(); + return true; + } else { + // pass the event on to the parent class + return QDialog::eventFilter(obj, event); + } +} + bool gameLobbyDialogImpl::event ( QEvent * event ) { return QDialog::event(event); diff --git a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.h b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.h index b4ddf93c..066b0b2c 100644 --- a/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.h +++ b/src/gui/qt/gamelobbydialog/gamelobbydialogimpl.h @@ -106,6 +106,9 @@ private: LobbyChat *myChat; QString myAppDataPath; int keyUpCounter; + + protected: + bool eventFilter(QObject *obj, QEvent *event); }; diff --git a/src/gui/qt/gamelobbydialog/lobbychat/lobbychat.cpp b/src/gui/qt/gamelobbydialog/lobbychat/lobbychat.cpp index 87a04074..6580a4d8 100644 --- a/src/gui/qt/gamelobbydialog/lobbychat/lobbychat.cpp +++ b/src/gui/qt/gamelobbydialog/lobbychat/lobbychat.cpp @@ -33,9 +33,9 @@ LobbyChat::LobbyChat(gameLobbyDialogImpl* l, ConfigFile *c) : myLobby(l), myConf { chatInputCompleter = new QCompleter(myLobby->treeWidget_NickList->model()); - chatInputCompleter->setCaseSensitivity(Qt::CaseInsensitive); - chatInputCompleter->setCompletionMode(QCompleter::PopupCompletion); - myLobby->lineEdit_ChatInput->setCompleter(chatInputCompleter); +// chatInputCompleter->setCaseSensitivity(Qt::CaseInsensitive); +// chatInputCompleter->setCompletionMode(QCompleter::PopupCompletion); +// myLobby->lineEdit_ChatInput->setCompleter(chatInputCompleter); } @@ -249,10 +249,7 @@ void LobbyChat::fillChatLinesHistory(QString fillString) { chatLinesHistory << fillString; if(chatLinesHistory.size() > 50) chatLinesHistory.removeFirst(); -// QStringList::const_iterator constIterator; -// for (constIterator = chatLinesHistory.constBegin(); constIterator != chatLinesHistory.constEnd(); ++constIterator) { -// cout << (*constIterator).toLocal8Bit().constData() << endl; -// } + } void LobbyChat::showChatHistoryIndex(int index) { @@ -263,3 +260,36 @@ void LobbyChat::showChatHistoryIndex(int index) { myLobby->lineEdit_ChatInput->setText(chatLinesHistory.at(chatLinesHistory.size()-(index))); } } + +void LobbyChat::nickAutoCompletition() { + + QString myChatString = myLobby->lineEdit_ChatInput->text(); + QStringList myChatStringList = myChatString.split(" "); +// qDebug(myChatStringList.last().toLocal8Bit().constData()); + + QStringList matchStringList; +// QList matchItemsList = myLobby->treeWidget_NickList->findItems(myChatStringList.last(),Qt::MatchStartsWith); +// QListIterator it(matchItemsList); + + QTreeWidgetItemIterator it(myLobby->treeWidget_NickList); + while (*it) { + if ((*it)->text(0).startsWith(myChatStringList.last()) && myChatStringList.last() != "") + matchStringList << (*it)->text(0); + ++it; + } + +// QStringList::const_iterator constIterator; +// for (constIterator = matchStringList.constBegin(); constIterator != matchStringList.constEnd(); ++constIterator) { +// cout << (*constIterator).toLocal8Bit().constData() << endl; +// } + + if(!matchStringList.isEmpty()) { + myChatStringList.removeLast(); + if(myChatStringList.isEmpty()) + myLobby->lineEdit_ChatInput->setText(myChatStringList.join(" ")+matchStringList.first()+": "); + else + myLobby->lineEdit_ChatInput->setText(myChatStringList.join(" ")+" "+matchStringList.first()+": "); + } + +} + diff --git a/src/gui/qt/gamelobbydialog/lobbychat/lobbychat.h b/src/gui/qt/gamelobbydialog/lobbychat/lobbychat.h index 24f04d87..c858f85f 100644 --- a/src/gui/qt/gamelobbydialog/lobbychat/lobbychat.h +++ b/src/gui/qt/gamelobbydialog/lobbychat/lobbychat.h @@ -57,6 +57,7 @@ public slots: void showChatHistoryIndex(int index); int getChatLinesHistorySize() { return chatLinesHistory.size(); } + void nickAutoCompletition(); private: gameLobbyDialogImpl *myLobby; diff --git a/ts/pokerth_nl.ts b/ts/pokerth_nl.ts index fbd4f984..0586436e 100644 --- a/ts/pokerth_nl.ts +++ b/ts/pokerth_nl.ts @@ -1,64 +1,65 @@ + LobbyChat - + Successfully connected to Er is verbinding met - + Joined channel: Verbinding met kanaal: - + as user als gebruiker - + Network Notification Netwerkmelding - + You were kicked from the server. U bent verwijderd van de server. - + was kicked from the server by is van de server verwijderd door - + Connecting to Chat server... Verbinding maken met chatserver... - + An internal IRC error has occured: Er is een interne IRC-fout opgetreden: - + Could not connect to the IRC server. Chat will be unavailable. Kan geen verbinding maken met de IRC-server. Chatten is niet beschikbaar. - + The IRC server terminated the connection. Chat will be unavailable. De IRC-server heeft de verbinding verbroken. Chatten is niet beschikbaar. - + An IRC action timed out. Een IRC-actie duurde te lang. - + The IRC server reported an error: De IRC-server meldde een fout: @@ -66,17 +67,17 @@ aboutPokerth - + About Info - + Project Project - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -100,12 +101,12 @@ p, li { white-space: pre-wrap; } <html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Projectpagina: </span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> <a href="http://www.pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">http://www.pokerth.net</span></a></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">IRC: </span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> #pokerth (irc.freenode.net)</p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Makers: </span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Felix Hammer (<a href="mailto:doitux@pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">doitux@pokerth.net</span></a>)</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - idee, basisarchitectuur, implementatie van de grafische interface, Linuxpakket, webmaster@pokerth.net</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Florian Thauer (<a href="mailto:floty@pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">floty@pokerth.net</span></a>)</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - idee, basisarchitectuur, ontwikkeling van de simulator</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Lothar May (<a href="mailto:lotodore@pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">lotodore@pokerth.net</span></a>)</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - netwerkprogrammatuur, Windowspakket</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Oskar Lindqvist (<a href="mailto:tranberry@pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">tranberry@pokerth.net</span></a>)</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - ontwerp van de grafische interface, webdesign</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Erhard List (<a href="mailto:dunkanx@pokerth.net"><span style=" text-decoration: underline; color:#0000ff;">dunkanx@pokerth.net</span></a>)</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - MacOS-pakket</p></body></html> - + License Licentie - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -798,22 +799,22 @@ p, li { white-space: pre-wrap; } <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html> - + Close Sluiten - + Thanks to Met dank aan - + About PokerTH 0.5 Info over PokerTH 0.5 - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -842,12 +843,12 @@ p, li { white-space: pre-wrap; } <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html> - + Translation Vertaling - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -860,7 +861,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> &&gt;</p></body></html> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -891,12 +892,12 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - voor het zelf opgenomen geluid van fiches</p></body></html> - + About PokerTH 0.6 Info over PokerTH 0.6 - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal;"> @@ -907,7 +908,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">PokerTH 0.6</span></p></body></html> - + - Poker Engine for the popular "Texas Holdem" Poker - Singleplayer games with up to 6 computer-opponents - Multiplayer network games @@ -924,12 +925,12 @@ p, li { white-space: pre-wrap; } © 2006-2007, FHammer, FThauer, LMay - + <a href="http://www.pokerth.net" target="_blank">http://www.pokerth.net<a> <a href="http://www.pokerth.net" target="_blank">http://www.pokerth.net<a> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal;"> @@ -972,7 +973,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - MacOS-pakket</p></body></html> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal;"> @@ -983,7 +984,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Jan-Hein Dijkstra - Nederlands</p></body></html> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal;"> @@ -1014,7 +1015,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> - voor zelf opgenomen fichegeluiden</p></body></html> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal;"> @@ -1054,77 +1055,77 @@ p, li { white-space: pre-wrap; } changeCompleteBlindsDialog - + Change Blinds Settings Instellingen van de blinds wijzigen - + First small blind: Eerste kleine blind: - + Raise blinds: Blinds verhogen: - + Every: Na elke: - + hands rondes - + minutes minuten - + Raise mode: Verhoogmodus: - + Always double blinds Blinds altijd verdubbelen - + Manual blinds order: Handmatige blinds: - + Delete Verwijderen - + Add Toevoegen - + After this: Hierna: - + Always raise about: Blijven verhogen met: - + $ $ - + Stay at last blind Bij laatste blind blijven @@ -1132,12 +1133,12 @@ p, li { white-space: pre-wrap; } changeCompleteBlindsDialogImpl - + Manual Blinds Order Handmatige blinds - + You cannot set more than 30 manual blinds. U kunt niet meer dan 30 blinds handmatig instellen. @@ -1145,12 +1146,12 @@ p, li { white-space: pre-wrap; } changeHumanPlayerNameDialog - + Network Error Netwerkfout - + Name: Naam: @@ -1158,17 +1159,17 @@ p, li { white-space: pre-wrap; } connectToServerDialog - + Connect to Server Verbinding maken met de server - + Connecting to Server ... Verbinding maken met de server ... - + Cancel Annuleren @@ -1176,22 +1177,22 @@ p, li { white-space: pre-wrap; } connectToServerDialogImpl - + Resolving address... Adres opzoeken... - + Connecting to server... Verbinding maken met de server ... - + Starting session... Sessie starten... - + Connection established! Er is verbinding gemaakt! @@ -1199,82 +1200,82 @@ p, li { white-space: pre-wrap; } createInternetGameDialog - + Create Game Spel maken - + Game Settings Instellingen van spel - + Game Speed for computer opponents: Speelsnelheid van computertegenstanders: - + Hands before raise small blind: Rondes voordat blinds omhooggaan: - + Timeout for player action (sec): Bedenktijd voor de spelers (sec): - + Maximum number of players: Maximale aantal spelers: - + Start Cash: Startgeld: - + Small Blind: Kleine blind: - + Password: Wachtwoord: - + Cancel Annuleren - + Hands before raise blinds: Rondes voordat de blinds stijgen: - + Create Internet Game Internetspel maken - + Internet Game Settings Instellingen van internetspel - + Blinds Blinds - + Use saved blinds settings Opgeslagen instellingen gebruiken voor de blinds - + Change blinds settings ... Instellingen van de blinds wijzigen ... @@ -1282,72 +1283,72 @@ p, li { white-space: pre-wrap; } createNetworkGameDialog - + Create Network Game Nieuw netwerkspel maken - + Network Game Settings Instellingen van netwerkspel - + Start Cash: Startgeld: - + Small Blind: Kleine blind: - + Create Game Spel maken - + Cancel Annuleren - + Hands before raise small blind: Rondes voordat blinds omhooggaan: - + Timeout for player action (sec): Bedenktijd voor de spelers (sec): - + Maximum number of players: Maximale aantal spelers: - + Game Speed for computer opponents: Speelsnelheid van computertegenstanders: - + Hands before raise blinds: Rondes voordat de blinds stijgen: - + Blinds Blinds - + Use saved blinds settings Opgeslagen instellingen gebruiken voor de blinds - + Change blinds settings ... Instellingen van de blinds wijzigen ... @@ -1355,57 +1356,57 @@ p, li { white-space: pre-wrap; } gameLobbyDialog - + Game Lobby Spellobby - + Lobby-Chat Lobby - Chat - + Game Spel - + Player Speler - + Private Privé - + Game Info Spelinformatie - + Connected Players Spelers met verbinding - + Start Game Spel starten - + Kick Verwijderen - + Leave Weggaan - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -1416,7 +1417,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Rondes voordat blinds omhooggaan:</span></p></body></html> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -1427,7 +1428,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Maximale aantal spelers:</span></p></body></html> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -1438,7 +1439,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Kleine blind:</span></p></body></html> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -1449,7 +1450,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Startgeld:</span></p></body></html> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -1460,180 +1461,180 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Bedenktijd voor de spelers (sec):</span></p></body></html> - + Fill up with computer opponents - Tafel vol maken met computerspelers + Tafel vol maken met computerspelers - + Create Game Spel maken - + Join Game Meedoen met spel - + Hands to raise small blind: Rondes voordat blinds omhooggaan: - + Maximum number of players: Maximale aantal spelers: - + Small Blind: Kleine blind: - + Start Cash: Startgeld: - + Timeout for player action (sec): Bedenktijd voor de spelers (sec): - + Hands before raise blinds: Rondes voordat de blinds stijgen: - + Leave Game Spel verlaten - + Available Players Beschikbare spelers - + Kick Player Speler verwijderen - + Players Spelers - + State Status - + Maximum number of players: Maximale aantal spelers: - + Start Cash: Startgeld: - + First small blind: Eerste kleine blind: - + Blinds raise intervall: Interval verhoging blinds: - + Blinds raise mode: Verhoogmodus van de blinds: - + Manual blinds list: Handmatige lijst met blinds: - + Timeout for player action (sec): Bedenktijd voor de spelers (sec): - + Internet Game Lobby Lobby van internetspel - + Blinds raise interval: - + Interval verhoging blinds: gameLobbyDialogImpl - + Game Info Spelinformatie - + Server Error Serverfout - + You should not kick yourself from this game! U mag zichzelf niet uit dit spel verwijderen! - + game spel - + Joining a private Game Meedoen met een privéspel - + You are about to join a private game. Please enter the password! U wilt meedoen met een privéspel. Voer het wachtwoord in! - + running bezig - + open open - + hands rondes - + minutes minuten - + double blinds verdubbeling - + manual blinds order handmatige volgorde @@ -1641,102 +1642,102 @@ p, li { white-space: pre-wrap; } joinNetworkGameDialog - + Join Network Game Met netwerkspel meedoen - + Connect to Network Game Verbinding maken met netwerkspel - + Use IPv6 IPv6 gebruiken - + myServerProfile1 mijnServerProfiel1 - + Profile Name: Profielnaam: - + IP Address / Domain Name: IP-adres / Domeinnaam: - + Port: Poort: - + Password (optional): Wachtwoord (niet verplicht): - + Server Profiles Serverprofielen - + IPv6 IPv6 - + Save Opslaan - + Delete Verwijderen - + Connect Verbinding maken - + Close Sluiten - + Name Naam - + Address Adres - + Port Poort - + SCTP SCTP - + Use SCTP SCTP gebruiken - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -1747,7 +1748,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> <a href="http://nl.wikipedia.org/wiki/Stream_Control_Transmission_Protocol"><span style=" text-decoration: underline; color:#0000ff;">Wat is dit?</span></a></p></body></html> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -1761,51 +1762,51 @@ p, li { white-space: pre-wrap; } joinNetworkGameDialogImpl - + Load Server-Profile-File Error Fout bij het laden van het serverprofielbestand - + Could not load server-profiles-file: Kan het serverprofielbestand niet laden: - + Save Server Profile Error Fout bij het opslaan van het serverprofiel - + A profile with the name: " Een profiel met de naam: " - + Read Server-Profile List Error Fout bij het lezen van de lijst met serverprofielen - + Could not read server-profiles list Kan de lijst met serverprofielen niet lezen - + Save Server-Profile-File Error Fout bij het opslaan van het serverprofielbestand - + Could not save server-profiles-file: Kan het serverprofielbestand niet opslaan: - + A profile with the name: %1 already exists. Would you like to overwrite ? Er bestaat al een profiel met de naam %1. @@ -1815,182 +1816,182 @@ Wilt u dat profiel overschrijven? mainWindow - + QMainWindow { background-image: url(:/guiv2/resources/guiv2/table.png); background-position: bottom center; background-origin: content; } QMainWindow { background-image: url(:/guiv2/resources/guiv2/table.png); background-position: bottom center; background-origin: content; } - + QGroupBox { background-image: url(:/graphics/resources/graphics/toolboxFrameBG.png) } QGroupBox { background-image: url(:/graphics/resources/graphics/toolboxFrameBG.png) } - + Speed: Snelheid: - + Stop Stop - + View Beeld - + Game Spel - + Ctrl+N Ctrl+N - + Quit Afsluiten - + About PokerTH ... Info over PokerTH ... - + Settings ... Instellingen ... - + Create Network Game ... Netwerkspel maken ... - + Join Network Game ... Met netwerkspel meedoen ... - + Fullscreen Volledig scherm - + Hands Handen - + Chat Chat - + Log Log - + Start Local Game ... Lokaal spel starten ... - + Ctrl+Q Ctrl+Q - + PokerTH 0.5 - The Open-Source Texas Holdem Engine PokertTH 0.5 - De Open-Source Texas Holdem Simulator - + ⌘F ⌘F - + Show/Hide Chat Window Chatvenster Aan/Uit - + ⌘C ⌘C - + ⌘H ⌘H - + Show/Hide Log Window Logvenster Aan/Uit - + ⌘L ⌘L - + Show/Hide Hands Window Handenvenster Aan/Uit - + Ctrl+O Ctrl+O - + Ctrl+J Ctrl+J - + Ctrl+F Ctrl+F - + Ctrl+T Ctrl+T - + Ctrl+H Ctrl+H - + Ctrl+L Ctrl+L - + PokerTH 0.6 - The Open-Source Texas Holdem Engine PokertTH 0.6 - De Open-Source Texas Holdem Simulator - + Network Game Netwerkspel - + Internet Game ... Internetspel ... - + Ctrl+I Ctrl+I @@ -1998,162 +1999,162 @@ Wilt u dat profiel overschrijven? mainWindowImpl - + Ctrl+N to start a new game Ctrl+N om een nieuw spel te starten - + F1 - Fold/All-In | F2 - Check/Call | F3 - Bet/Raise F1 - Folden/All-In | F2 - Checken/Callen | F3 - Betten/Raisen - + Network Error Netwerkfout - + Server address was not set. Serveradres is niet ingesteld. - + An invalid port was set (ports 0-1023 are not allowed). Ongeldige poort ingesteld (poorten 0-1023 zijn niet toegestaan). - + Could not create a socket for TCP communication. Kan geen socket maken voor TCP-communicatie. - + Could not set the IP address. Kan het IP-adres niet instellen. - + Could not set the port for this type of address. Kan de poort niet instellen voor dit adrestype. - + The server name could not be resolved. Kan geen server met die naam vinden. - + Bind failed - please choose a different port. Kan niet verbinden - kies een andere poort. - + Internal network error: "listen" failed. Interne netwerkfout: "listen" niet uitvoerbaar. - + Server execution was terminated. Het uitvoeren op de server is afgebroken. - + Could not connect to the server. Kan geen verbinding maken met de server. - + Internal network error: "select" failed. Interne netwerkfout: "select" niet uitvoerbaar. - + Internal network error: "send" failed. Interne netwerkfout: "send" niet uitvoerbaar. - + Internal network error: Duplicate TCP connection. Interne netwerkfout: Dubbele TCP-verbinding. - + An invalid network packet was received. Please make sure that all players use the same version of PokerTH. Ongeldig netwerkpakket ontvangen. Zorg ervoor dat alle spelers dezelfde versie van PokerTH gebruiken. - + Internal state error. Please make sure that all players use the same version of PokerTH. Interne statusfout. Zorg ervoor dat alle spelers dezelfde versie van PokerTH gebruiken. - + The PokerTH server does not support this version of the game. Please update PokerTH. De PokerTH-server ondersteunt deze versie van het spel niet. Zorg ervoor dat u de nieuwste versie van PokerTH heeft. - + Sorry, this server is already full. Deze server is al vol. - + Unable to join - the server has already started the game. Kan niet meedoen - de server heeft het spel al gestart. - + Invalid password when joining the game. Please reenter the password and try again. Ongeldig wachtwoord bij het verbinden. Voer het wachtwoord opnieuw in en probeer het opnieuw. - + The password is too long. Please choose another one. Het wachtwoord is te lang. Kies een ander wachtwoord. - + Your player name is already used by another player. Please choose a different name. Uw spelersnaam is al in gebruik door een andere speler. Kies een andere naam. - + The player name is either too short or too long. Please choose another one. De spelersnaam is te kort of te lang. Kies een andere naam. - + An internal error occured. Interne fout opgetreden. - + Cmd+N to start a new game Cmd+N om een nieuw spel te starten - + Start Start - + Stop Stop - + Connection timed out. Please check the server address. @@ -2164,132 +2165,132 @@ Controleer het serveradres. Als de server zich achter een NAT-router bevindt, controleer dan daar of port forwarding goed ingesteld is. - + Connection was closed by the server. De verbinding is verbroken door de server. - + The server referred to an unknown player. Aborting. De server verwees naar een onbekende speler. Verbinding verbroken. - + You were kicked from the server. U bent verwijderd van de server. - + The client player count is invalid. Het aantal spelers dat meedoet klopt niet. - + The player name is too short, too long or reserved. Please choose another one. De spelersnaam is te kort, te lang, of al opgeëist. Kies een andere naam. - + The game name is either too short or too long. Please choose another one. De naam van het spel is te kort of te lang. Kies een andere naam. - + The game could not be found. Kan het spel niet vinden. - + The chat text is invalid. Ongeldige chattekst. - + Network Notification Netwerkmelding - + You were kicked from the game. U bent uit het spel verwijderd. - + Sorry, this game is already full. Dit spel is al vol. - + F1 - Bet/Raise | F2 - Check/Call | F3 - Fold/All-In F1 - Betten/Raisen | F2 - Checken/Callen | F3 - Folden/All-In - + Chat Chat - + Manual mode set. You've got to choose yourself now. Handmatige modus ingesteld. U moet nu zelf kiezen. - + Auto mode set: Check or call any. Automatische modus ingesteld: altijd checken of callen. - + Auto mode set: Check or fold. Automatische modus ingesteld: checken of folden. - + You cannot join Internet-Game-Lobby with "Human Player" as nickname. Please choose another one. - U kunt met de standaardnaam geen verbinding maken met de internetspellobby. + U kunt met de standaardnaam geen verbinding maken met de lobby van het internetspel. Kies een andere naam. manualBlindsOrderDialog - + Manual Blinds Order Handmatige blinds - + Delete Verwijderen - + Add Toevoegen - + After this: Hierna: - + Always double blinds - Blinds altijd verdubbelen + Blinds blijven verdubbelen - + Always raise about: Blijven verhogen met: - + $ $ - + Stay at last blind Bij laatste blind blijven @@ -2297,12 +2298,12 @@ Kies een andere naam. manualBlindsOrderDialogImpl - + Manual Blinds Order Handmatige blinds - + You cannot set more than 30 manual blinds. U kunt niet meer dan 30 blinds handmatig instellen. @@ -2310,57 +2311,57 @@ Kies een andere naam. newGameDialog - + Start Local Game Lokaal spel starten - + Local Game Settings Instellingen van lokaal spel - + Game Speed: Speelsnelheid: - + Start Cash: Startgeld: - + Small Blind: Kleine blind: - + Number of players: Aantal spelers: - + Hands before raise small blind: Rondes voordat blinds omhooggaan: - + Hands before raise blinds: Rondes voordat de blinds stijgen: - + Blinds Blinds - + Use saved blinds settings Opgeslagen instellingen gebruiken voor de blinds - + Change blinds settings ... Instellingen van de blinds wijzigen ... @@ -2368,27 +2369,27 @@ Kies een andere naam. selectAvatarDialog - + Please select an avatar Selecteer een avatar - + Select an avatar Een avatar selecteren - + Load avatar from external file Een avatar uit een extern bestand laden - + People Mensen - + Miscellaneous Overig @@ -2396,65 +2397,66 @@ Kies een andere naam. selectAvatarDialogImpl - + Avatar File Error Bestandsfout bij het openen van de avatar - + Please select an avatar from the list! Selecteer een avatar uit de lijst! - + The entered avatar picture doesn't exists. Please enter an valid picture! De ingestelde avatar bestaat niet. Stel een geldige afbeelding in! - + Select external avatar picture Een externe avatar selecteren - + Images (*.png) Afbeeldingen (*.png) - + The file size of the chosen picture is too big. (max. 30KB) Please choose a smaller picture! Het gekozen afbeeldingsbestand is te groot. (Max. 30 kB) Kies een kleinere afbeelding! - + Images (*.png *.jpg *.gif) Afbeeldingen (*.png *.jpg *.gif) - + The entered avatar picture doesn't exist. Please enter an valid picture! - + De ingestelde avatar bestaat niet. +Stel een geldige afbeelding in! settingsDialog - + Interface Interface - + Flipside of Cards Kaartachterkant - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -2462,242 +2464,242 @@ p, li { white-space: pre-wrap; } <html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Opmerking: Beste kwaliteit met een hoogte-breedteverhouding gelijk aan </span><span style=" font-weight:600; font-style:italic;">hoogte=140, breedte=100.</span></p></body></html> - + Default Standaard - + Local Game Default Settings Standaardinstellingen van lokaal spel - + Small Blind: Kleine blind: - + Start Cash: Startgeld: - + Engine Version: Simulatorversie: - + Server Settings Server-instellingen - + Server Port: Serverpoort: - + Use IPv6 IPv6 gebruiken - + Server Password: Serverwachtwoord: - + Network Game Default Settings Standaardinstellingen van netwerkspel - + Computer Engine Computertegenstanders - + Opponent 5: Tegenstander 5: - + Opponent 3: Tegenstander 3: - + Opponent 2: Tegenstander 2: - + Opponent 6: Tegenstander 6: - + Opponent 1: Tegenstander 1: - + Opponent 4: Tegenstander 4: - + Human Player: Menselijke Speler: - + Player Nicks Spelersnamen - + Day(s) dag(en) - + Log File Directory: Map voor logbestanden: - + Log Messages Logberichten - + Local Game Settings Instellingen van lokaal spel - + Network Game Settings Instellingen van netwerkspel - + Show flip-card animation Omdraaiende kaarten-animatie weergeven - + Own flipside picture: Eigen afbeelding voor kaartachterkant: - + Show fade-out animation for non-winning cards Fade out-animatie van niet-winnende kaarten weergeven - + Show intro on startup Introductiescherm weergeven bij het starten - + Show right toolbox (F11 to switch on/off) Rechter hulpscherm weergeven (F11 om aan/uit te zetten) - + Show left toolbox (F10 to switch on/off) Linker hulpscherm weergeven (F10 om aan/uit te zetten) - + Show statusbar messages Berichten weergeven in de statusbalk - + Show game settings dialog on every new game Instellingenvenster laten zien voor elk nieuw spel - + Hands before raise small blind: Rondes voordat blinds omhooggaan: - + Number of players: Aantal spelers: - + Game Speed: Speelsnelheid: - + Pause between hands (press "start" button to go on) Stoppen tussen rondes (druk op Start om door te gaan) - + Game Speed for computer opponents: Speelsnelheid van computertegenstanders: - + Engine Version for computer opponents: Simulatorversie van computertegenstanders: - + Enable/Disable Logging Logbestanden schrijven - + Store log files for Bewaar de logbestanden - + Write log after every: Logbestand bijwerken na elke: - + Show buttons for small blind and big blind Buttons voor kleine blind en grote blind weergeven - + Play sound effects Geluidseffecten afspelen - + 0.4 (current) 0.4 (huidige) - + Use SCTP SCTP gebruiken - + <a href="http://en.wikipedia.org/wiki/Ipv6">What is this?</a> <a href="http://nl.wikipedia.org/wiki/Ipv6">Wat is dit?</a> - + <a href="http://en.wikipedia.org/wiki/Stream_Control_Transmission_Protocol">What is this?</a> <a href="http://nl.wikipedia.org/wiki/Stream_Control_Transmission_Protocol">Wat is dit?</a> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -2708,62 +2710,62 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Opmerking: Avatars hebben de beste kwaliteit met een hoogte-breedteverhouding gelijk aan </span><span style=" font-weight:600; font-style:italic;">hoogte=50, breedte=50.</span></p></body></html> - + Settings Instellingen - + Maximum number of players: Maximale aantal spelers: - + Sound Volume: Volume: - + 10 10 - + Timeout for player action (sec): Bedenktijd voor de spelers (sec): - + action (high frequent disc access) handeling (veel schijfactiviteit) - + hand (medium disc access) ronde (matige schijfactiviteit) - + game (low disc access) partij (weinig schijfactiviteit) - + Show own cards only on mouse click Kaarten alleen weergeven bij muisklik - + Sound Geluid - + Network Server Settings Instellingen van netwerkserver - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> @@ -2774,137 +2776,137 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Opmerking: standaard </span><span style=" font-weight:600; font-style:italic;">spelinstellingen</span><span style=" font-style:italic;">, zoals "</span>Maximale aantal spelers", "<span style=" font-style:italic;">Startgeld" en "Kleine blind" worden overgenomen van </span><span style=" font-weight:600; font-style:italic;">Instellingen van netwerkspel.</span></p></body></html> - + Internet Server Settings (Dedicated Server) Instellingen van internetserver (pokerserver) - + Server Address: Serveradres: - + Use password for private game: Wachtwoord gebruiken voor privéspel: - + Internet Game Settings Instellingen van internetspel - + QLabel { font-weight: bold; } QLabel { font-weight: bold; } - + Hands before raise blinds: Rondes voordat de blinds stijgen: - + Lobby Chat Settings (IRC Server) Instellingen voor het chatten in de lobby (IRC-server) - + chat.freenode.net chat.freenode.net - + Channel: Kanaal: - + #pokerth #pokerth - + Reverse order of F-Keys (F1 - F3) Omgekeerde volgorde van F-toetsen (F1 - F3) - + First small blind: Eerste kleine blind: - + Raise blinds: Blinds verhogen: - + Every: Na elke: - + hands rondes - + minutes minuten - + Raise mode: Verhoogmodus: - + Always double blinds Blinds altijd verdubbelen - + Manual blinds order: Handmatige blinds: - + Edit ... Bewerken ... - + Sound Categories Geluidcategorieën - + Play game actions sounds like "check", "call", "raise" Geluiden van spelacties als 'checken', 'callen' en 'raisen' - + Play lobby chat notifications Meldingen van het chatten in de lobby - + Play network/internet game notifications like "player joined the game" Meldingen van netwerk-/internetspellen als 'speler erbij' - + Language: Taal: - + Enable/Disable Lobby Chat (IRC Server) Chatten in de lobby (IRC-server) Aan/Uit - + Player Nicks/Avatars Spelersnamen/Avatars @@ -2912,51 +2914,51 @@ p, li { white-space: pre-wrap; } settingsDialogImpl - + Settings Error Fout in instellingen - + The entered flipside picture doesn't exists. Please enter an valid picture! De ingestelde afbeelding voor de kaartachterkant bestaat niet. Stel een geldige afbeelding in! - + The log file directory doesn't exists. Please select an valid directory! De map voor logbestanden bestaat niet. Selecteer een geldige map! - + Select your flipside picture Uw afbeelding voor de kaartachterkant selecteren - + Images (*.png) Afbeeldingen (*.png) - + Open Directory Open map - + Images (*.png *.jpg *.gif) Afbeeldingen (*.png *.jpg *.gif) - + Blinds Error Fout in blinds - + The first element in your manual-blinds-list is smaller than current first-small-blind! This first-small-blind-value will be set to maximum allowed value. @@ -2965,144 +2967,146 @@ is minder dan de eerste kleine blind! De eerste kleine blind wordt ingesteld op de maximale waarde. - + Dutch Nederlands - + English Engels - + French Frans - + German Duits - + Hungarian Hongaars - + Italien Italiaans - + Norse Noors - + Portuguese Portugees - + Russian Russisch - + Solvak Slowaaks - + Turkish Turks - + Language Changed Taal is gewijzigd - + You have changed application language to %1. Please restart PokerTH to load new language! U heeft de taal van het programma gewijzigd naar %1. Start PokerTH opnieuw om de nieuwe taal te laden! - + Italian - + Italiaans - + Slovak - + Slowaaks - + The entered flipside picture doesn't exist. Please enter an valid picture! - + De ingestelde afbeelding voor de kaartachterkant bestaat niet. +Stel een geldige afbeelding in! - + The log file directory doesn't exist. Please select an valid directory! - + De map voor logbestanden bestaat niet. +Selecteer een geldige map! startNetworkGameDialog - + Start Network Game Netwerkspel starten - + Maximum number of players: Maximale aantal spelers: - + Start Game Spel starten - + Cancel Annuleren - + 0 0 - + Kick Verwijderen - + Connected Players Spelers met verbinding - + Lobby-Chat Lobby - Chat - + Fill up with computer opponents Tafel vol maken met computerspelers - + Kick Player Speler verwijderen @@ -3110,12 +3114,12 @@ Please select an valid directory! startNetworkGameDialogImpl - + Server Error Serverfout - + You should not kick yourself from this game! U mag zichzelf niet uit dit spel verwijderen! @@ -3123,22 +3127,22 @@ Please select an valid directory! waitForServerToStartGameDialog - + Waiting for Server ... Aan het wachten op de server ... - + Cancel Annuleren - + Waiting for the server to start the game ... Aan het wachten tot de server het spel start ... - + Connected Players Spelers met verbinding