This commit is contained in:
doitux
2007-06-16 22:08:52 +00:00
parent 9aaca43608
commit 1e493a8276
17 changed files with 134 additions and 67 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ win32{
}
unix{
LIBS += -lboost_thread -lcrypto -lSDL_mixer
LIBS += -lboost_thread-mt_static -lcrypto -lSDL_mixer
## My release static libs
#LIBS += -lboost_thread-mt_static -lcrypto -lSDL_mixer -lmikmod -lSDL
# -lmikmod -lSDL -laa -lgpm -lncurses
+7 -12
View File
@@ -45,11 +45,13 @@ ConfigFile::ConfigFile(int argc, char **argv) : noWriteAccess(0)
{
int i;
myQtToolsInterface = new QtToolsWrapper;
for (i=0; i<argc; i++) {
if(strcmp(argv[i], "--nowriteaccess") == 0) { noWriteAccess = 1; }
}
// !!!! Revisionsnummer der Configdefaults !!!!!
configRev = 25;
configRev = 26;
//standard defaults
logOnOffDefault = "1";
@@ -135,6 +137,7 @@ ConfigFile::ConfigFile(int argc, char **argv) : noWriteAccess(0)
ostringstream tempIntToString;
tempIntToString << configRev;
configList.push_back(ConfigInfo("ConfigRevision", CONFIG_TYPE_INT, tempIntToString.str()));
configList.push_back(ConfigInfo("Language", CONFIG_TYPE_INT, myQtToolsInterface->getDefaultLanguage()));
configList.push_back(ConfigInfo("ShowLeftToolBox", CONFIG_TYPE_INT, "1"));
configList.push_back(ConfigInfo("ShowRightToolBox", CONFIG_TYPE_INT, "1"));
configList.push_back(ConfigInfo("ShowStatusbarMessages", CONFIG_TYPE_INT, "1"));
@@ -221,13 +224,14 @@ ConfigFile::ConfigFile(int argc, char **argv) : noWriteAccess(0)
ConfigFile::~ConfigFile()
{
delete myQtToolsInterface;
myQtToolsInterface = 0;
}
void ConfigFile::fillBuffer() {
QtToolsInterface *myQtToolsInterface = new QtToolsWrapper;
size_t i;
string tempString("");
@@ -251,9 +255,6 @@ void ConfigFile::fillBuffer() {
// cout << configBufferList[i].name << " " << configBufferList[i].defaultValue << endl;
}
}
delete myQtToolsInterface;
myQtToolsInterface = 0;
}
void ConfigFile::writeBuffer() {
@@ -286,8 +287,6 @@ void ConfigFile::writeBuffer() {
void ConfigFile::updateConfig(ConfigState myConfigState) {
size_t i;
QtToolsInterface *myQtToolsInterface = new QtToolsWrapper;
if(myConfigState == NONEXISTING) {
@@ -368,10 +367,6 @@ void ConfigFile::updateConfig(ConfigState myConfigState) {
}
delete myQtToolsInterface;
myQtToolsInterface = 0;
}
string ConfigFile::readConfigString(string varName)
+2
View File
@@ -29,6 +29,7 @@
enum ConfigState { NONEXISTING, OLD };
enum ConfigType { CONFIG_TYPE_INT, CONFIG_TYPE_STRING };
class QtToolsInterface;
class ConfigFile{
public:
@@ -72,6 +73,7 @@ private:
std::string claNoWriteAccess;
ConfigState myConfigState;
QtToolsInterface *myQtToolsInterface;
};
#endif
@@ -286,4 +286,4 @@ void joinNetworkGameDialogImpl::checkIp() {
//remove whitespaces
QString tmp = lineEdit_ipAddress->text();
lineEdit_ipAddress->setText(tmp.remove(" "));
}
}
+1 -1
View File
@@ -57,7 +57,7 @@
using namespace std;
mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
: QMainWindow(parent), myConfig(c), gameSpeed(0), myActionIsBet(0), myActionIsRaise(0), debugMode(0), breakAfterActualHand(FALSE)
: QMainWindow(parent), myConfig(c), gameSpeed(0), myActionIsBet(0), myActionIsRaise(0), debugMode(1), breakAfterActualHand(FALSE)
{
int i;
+1
View File
@@ -28,3 +28,4 @@ std::string QtHelper::stringToUtf8(const std::string &myString) {
return myUtf8String;
}
std::string QtHelper::getDefaultLanguage() { return QLocale::system().name().toStdString(); }
+1
View File
@@ -23,6 +23,7 @@ public:
~QtHelper();
std::string stringToUtf8(const std::string &);
std::string getDefaultLanguage();
};
+1 -1
View File
@@ -37,4 +37,4 @@ QtToolsWrapper::~QtToolsWrapper()
}
std::string QtToolsWrapper::stringToUtf8(const std::string &myString) { return myQtHelper->stringToUtf8(myString); }
std::string QtToolsWrapper::getDefaultLanguage() { return myQtHelper->getDefaultLanguage(); }
+1
View File
@@ -35,6 +35,7 @@ public:
~QtToolsWrapper();
std::string stringToUtf8(const std::string &myString);
std::string getDefaultLanguage();
private:
Binary file not shown.
Binary file not shown.
+6 -6
View File
@@ -60,17 +60,17 @@ void SDLPlayer::playSound(string audioString, int playerID) {
switch (playerID) {
case 0: { position = 180; distance = 30; }
case 0: { position = 180; distance = 10; }
break;
case 1: { position = 281; distance = 40; }
case 1: { position = 281; distance = 30; }
break;
case 2: { position = 315; distance = 80; }
case 2: { position = 315; distance = 90; }
break;
case 3: { position = 338; distance = 100; }
case 3: { position = 338; distance = 130; }
break;
case 4: { position = 23; distance = 100; }
case 4: { position = 23; distance = 130; }
break;
case 5: { position = 45; distance = 80; }
case 5: { position = 45; distance = 90; }
break;
case 6: { position = 79; distance = 30; }
break;
+1
View File
@@ -28,6 +28,7 @@ public:
//qthelper.cpp
virtual std::string stringToUtf8(const std::string &) =0;
virtual std::string getDefaultLanguage() =0;
};
+2 -4
View File
@@ -82,14 +82,12 @@ int main( int argc, char **argv )
#endif
Q_INIT_RESOURCE(resources);
QString locale = QLocale::system().name();
QTranslator qtTranslator;
qtTranslator.load(QString(":/translations/resources/translations/qt_") + locale);
qtTranslator.load(QString(":/translations/resources/translations/qt_") + QString::fromStdString(myConfig->readConfigString("Language")));
a.installTranslator(&qtTranslator);
QTranslator translator;
translator.load(QString(":/translations/resources/translations/pokerth_") + locale);
translator.load(QString(":/translations/resources/translations/pokerth_") + QString::fromStdString(myConfig->readConfigString("Language")));
a.installTranslator(&translator);
+46 -13
View File
@@ -473,7 +473,19 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt;&lt;span style=&quot; font-weight:400;&quot;&gt;© 2006-2007, FHammer &amp;amp; FThauer&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
<translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;PokerTH 0.5&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Engine für die popupuläre &quot;Texas Holdem&quot; Poker Variante&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Einzelspielermodus mit bis zu 6 Computer-Gegnern&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Mehrspielermodus im Netzwerk&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Programmiert in C++ / QT4&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt;&lt;span style=&quot; font-weight:400;&quot;&gt;© 2006-2007, FHammer &amp;amp; FThauer&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../src/gui/qt/aboutpokerth.ui" line="138"/>
@@ -487,7 +499,12 @@ p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&amp;lt;your translator name&amp;gt; - &amp;lt;your language&amp;gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; &amp;lt;if you like your mail address&amp;gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
<translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Mirko Albrecht - deutsch&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Felix Hammer - deutsch&lt;/p&gt;
&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../src/gui/qt/aboutpokerth.ui" line="177"/>
@@ -505,7 +522,20 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;doc_dos&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - for self recorded chip sounds&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
<translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://commons.wikimedia.org/wiki/Main_Page&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;Wikimedia Commons&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt; - &lt;span style=&quot; font-weight:400;&quot;&gt;für diverses Bildmaterial von bekannten Persönlichkeiten&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Viktoria, Benedikt, Erhard, Felix, Florian, Linus, Lothar, Mark&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - für ihre Avatare&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://kde-look.org/&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;http://kde-look.org/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - für diverse GPL lizensierte Sounds&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;doc_dos&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - für selbst aufgenommene Chip Sounds&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
</context>
<context>
@@ -523,7 +553,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/changehumanplayernamedialog.ui" line="35"/>
<source>Name:</source>
<translation type="unfinished"></translation>
<translation>Name:</translation>
</message>
</context>
<context>
@@ -599,7 +629,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/createnetworkgamedialog.ui" line="147"/>
<source>Game Speed for computer opponents:</source>
<translation type="unfinished">Spielgeschwindigkeit für Computergegner:</translation>
<translation>Spielgeschwindigkeit für Computergegner:</translation>
</message>
</context>
<context>
@@ -776,7 +806,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="2341"/>
<source>Speed:</source>
<translation>Geschwindigkeit:</translation>
<translation>Tempo:</translation>
</message>
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="2754"/>
@@ -796,7 +826,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="6110"/>
<source>Ctrl+N</source>
<translation type="unfinished">Ctrl+N</translation>
<translation>Ctrl+N</translation>
</message>
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="6115"/>
@@ -836,7 +866,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="841"/>
<source>Hands</source>
<translation>Runden</translation>
<translation>Blätter</translation>
</message>
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="864"/>
@@ -1361,7 +1391,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="2021"/>
<source>Write log after every: </source>
<translation>Schreibe Logdateien nach jedem:</translation>
<translation type="unfinished">Schreibe Logdateien nach jedem/jeder:</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="2026"/>
@@ -1419,7 +1449,10 @@ p, li { white-space: pre-wrap; }
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Note: Best avatar quality with image ratio like &lt;/span&gt;&lt;span style=&quot; font-weight:600; font-style:italic;&quot;&gt;width=50, height=50.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation></translation>
<translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Hinweis: Die beste Avatar Qualität erhalten Sie mit Seitenverhältnissen wie: &lt;/span&gt;&lt;span style=&quot; font-weight:600; font-style:italic;&quot;&gt;Breite = 50, Höhe = 50.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="1041"/>
@@ -1449,17 +1482,17 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="696"/>
<source>Timeout for player action (sec):</source>
<translation type="unfinished">Zeit für Spieleraktion (Sek.):</translation>
<translation>Zeit für Spieleraktion (Sek.):</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="814"/>
<source>Opponent 6:</source>
<translation type="unfinished">Gegner 7: {6:?}</translation>
<translation>Gegner 6:</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="2037"/>
<source>action (high frequent disc access)</source>
<translation type="unfinished"></translation>
<translation type="unfinished">Aktion</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="2042"/>
+21 -3
View File
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS><TS version="1.1" language="es">
<defaultcodec></defaultcodec>
<context>
<name>aboutPokerth</name>
<message>
@@ -883,7 +884,11 @@ p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&amp;lt;your translator name&amp;gt; - &amp;lt;your language&amp;gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; &amp;lt;if you like your mail address&amp;gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
<translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Miguel Revilla - Castellano&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; yo@miguelrevilla.com&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../src/gui/qt/aboutpokerth.ui" line="177"/>
@@ -901,7 +906,20 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;doc_dos&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - for self recorded chip sounds&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
<translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://commons.wikimedia.org/wiki/Main_Page&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;Wikimedia Commons&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt; - &lt;span style=&quot; font-weight:400;&quot;&gt;por los populares recursos de imágenes de avatares&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Viktoria, Benedikt, Erhard, Felix, Florian, Linus, Lothar, Mark&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - por las imágenes de avatares&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://kde-look.org/&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;http://kde-look.org/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - por diferentes sonidos con licencia GPL&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;doc_dos&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - por la grabación de los sonidos de las fichas&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
</context>
<context>
@@ -919,7 +937,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/changehumanplayernamedialog.ui" line="35"/>
<source>Name:</source>
<translation type="unfinished"></translation>
<translation>Nombre:</translation>
</message>
</context>
<context>
+42 -25
View File
@@ -32,10 +32,10 @@ p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;PokerTH 0.5&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Движок для популярного поrера &quot;Texas Holdem&quot;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Движок покера Texas Holdem c открытым кодом&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Режим одиночной игры с 6 компьютерными оппонентами&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Режим сетевой мультиплейерной игры&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Написано на C++ / QT4&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Написан на C++ / QT4&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt;&lt;span style=&quot; font-weight:400;&quot;&gt;© 2006-2007, FHammer &amp;amp; FThauer&lt;/span&gt;&lt;/p&gt;
@@ -488,7 +488,11 @@ p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&amp;lt;your translator name&amp;gt; - &amp;lt;your language&amp;gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; &amp;lt;if you like your mail address&amp;gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
<translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&amp;lt;Arseny Krasutsky&amp;gt; - &amp;lt;Russian&amp;gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; &amp;lt;dtiger at mail.ru&amp;gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../src/gui/qt/aboutpokerth.ui" line="177"/>
@@ -506,7 +510,20 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;doc_dos&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - for self recorded chip sounds&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
<translation>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Nimbus Sans L&apos;; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://commons.wikimedia.org/wiki/Main_Page&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;Wikimedia Commons&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt; - &lt;span style=&quot; font-weight:400;&quot;&gt;за различные ресурсы с картинками для аватар&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Viktoria, Benedikt, Erhard, Felix, Florian, Linus, Lothar, Mark&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - за картинки аватар&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://kde-look.org/&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline; color:#0000ff;&quot;&gt;http://kde-look.org/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - за разразличные наборы звуков под лицензией GPL&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;doc_dos&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt; - за записанные звуки фишек&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
</context>
<context>
@@ -524,7 +541,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/changehumanplayernamedialog.ui" line="35"/>
<source>Name:</source>
<translation type="unfinished"></translation>
<translation>Имя:</translation>
</message>
</context>
<context>
@@ -580,7 +597,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/createnetworkgamedialog.ui" line="130"/>
<source>Hands before raise small blind:</source>
<translation>Количество раздач для повышения малой ставки:</translation>
<translation>Количество партий для повышения малой ставки:</translation>
</message>
<message>
<location filename="../src/gui/qt/createnetworkgamedialog.ui" line="147"/>
@@ -600,7 +617,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/createnetworkgamedialog.ui" line="147"/>
<source>Game Speed for computer opponents:</source>
<translation type="unfinished">Скорость игры компьютерных оппонентов:</translation>
<translation>Скорость игры компьютерных оппонентов:</translation>
</message>
</context>
<context>
@@ -775,7 +792,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="502"/>
<source>PokerTH 0.5 - The Open-Source Texas Holdem Engine</source>
<translation>PokerTH 0.5 - Движок c открытым кодом для игры Texas Holdem</translation>
<translation>PokerTH 0.5 - Движок Texas Holdem c открытым кодом</translation>
</message>
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="505"/>
@@ -790,7 +807,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="841"/>
<source>Hands</source>
<translation>Розыгрыши</translation>
<translation>Партии</translation>
</message>
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="864"/>
@@ -815,7 +832,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="6086"/>
<source>View</source>
<translation>Просмотр</translation>
<translation>Вид</translation>
</message>
<message>
<location filename="../src/gui/qt/mainwindow.ui" line="6092"/>
@@ -1097,7 +1114,7 @@ Please choose a different name.</source>
<message>
<location filename="../src/gui/qt/newgamedialog.ui" line="127"/>
<source>Hands before raise small blind:</source>
<translation>Количество розыгрышей для повышения малой ставки:</translation>
<translation>Количество партий для повышения малой ставки:</translation>
</message>
</context>
<context>
@@ -1105,7 +1122,7 @@ Please choose a different name.</source>
<message>
<location filename="../src/gui/qt/selectavatardialog.ui" line="33"/>
<source>Please select an avatar</source>
<translation>Выберите аватару</translation>
<translation>Пожалуйста, выберите аватару</translation>
</message>
<message>
<location filename="../src/gui/qt/selectavatardialog.ui" line="61"/>
@@ -1194,7 +1211,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="246"/>
<source>Show fade-out animation for non-winning cards</source>
<translation>Показывать постепенное исчезновение изображения для невыигрышных карт</translation>
<translation>Показывать постепенное исчезновение невыигрышных карт</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="253"/>
@@ -1234,7 +1251,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="689"/>
<source>Hands before raise small blind:</source>
<translation>Количество розыгрышей для повышения малой ставки:</translation>
<translation>Количество партий для повышения малой ставки:</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="351"/>
@@ -1355,7 +1372,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="774"/>
<source>Computer Engine</source>
<translation>Движок оппонента-компьютера</translation>
<translation>Компьютерные противники</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="1041"/>
@@ -1405,12 +1422,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="1926"/>
<source>Store log files for</source>
<translation>Сохранять логи для </translation>
<translation>Сохранять логи</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="1952"/>
<source>Day(s)</source>
<translation>Дней</translation>
<translation>дней</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="1982"/>
@@ -1420,7 +1437,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="2021"/>
<source>Write log after every: </source>
<translation>Записывать лог после каждых: </translation>
<translation>Записывать лог после каждого: </translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="2026"/>
@@ -1455,37 +1472,37 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="84"/>
<source>Sound Volume:</source>
<translation type="unfinished"></translation>
<translation>Уровень звука:</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="97"/>
<source>10</source>
<translation type="unfinished">10</translation>
<translation>10</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="814"/>
<source>Opponent 6:</source>
<translation type="unfinished">Оппонент 1: {6:?}</translation>
<translation>Оппонент 6:</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="696"/>
<source>Timeout for player action (sec):</source>
<translation type="unfinished">Тайм-аут для хода игрока (сек):</translation>
<translation>Тайм-аут для хода игрока (сек):</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="2037"/>
<source>action (high frequent disc access)</source>
<translation type="unfinished"></translation>
<translation>действия (много обращений к диску)</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="2042"/>
<source>hand (medium disc access)</source>
<translation type="unfinished"></translation>
<translation>партии (средняя частота обращений к диску)</translation>
</message>
<message>
<location filename="../src/gui/qt/settingsdialog.ui" line="2047"/>
<source>game (low disc access)</source>
<translation type="unfinished"></translation>
<translation>игры (малое количество обращения к диску)</translation>
</message>
</context>
<context>