diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-30 16:50:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-30 16:50:50 +0300 |
commit | 143e04546197d75279d41e9eefe0fca4478673d4 (patch) | |
tree | 0a78eb7251943571342bba70210161af603473d8 /src/net/ea | |
parent | dbe40332cd904f8e48504a2e8a3e7f74f4619712 (diff) | |
download | mv-143e04546197d75279d41e9eefe0fca4478673d4.tar.gz mv-143e04546197d75279d41e9eefe0fca4478673d4.tar.bz2 mv-143e04546197d75279d41e9eefe0fca4478673d4.tar.xz mv-143e04546197d75279d41e9eefe0fca4478673d4.zip |
Add ability to open support page if error happend.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/network.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/tradehandler.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp index f83eab629..5214cf7e4 100644 --- a/src/net/ea/network.cpp +++ b/src/net/ea/network.cpp @@ -199,7 +199,7 @@ bool Network::realConnect() const std::string errorMessage = std::string( // TRANSLATORS: error message _("Unable to resolve host \"")).append( - mServer.hostname).append("\""); + mServer.hostname).append("\"."); setError(errorMessage); logger->log("TcpNet::ResolveHost: %s", errorMessage.c_str()); return false; diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp index 03dc1bcac..4fa92e7d8 100644 --- a/src/net/ea/tradehandler.cpp +++ b/src/net/ea/tradehandler.cpp @@ -103,7 +103,8 @@ void TradeHandler::processTradeRequest(Net::MessageIn &msg) confirmDlg = new ConfirmDialog(_("Request for Trade"), // TRANSLATORS: trade message strprintf(_("%s wants to trade with you, do" - " you accept?"), tradePartnerName.c_str()), true); + " you accept?"), tradePartnerName.c_str()), + SOUND_REQUEST, true); confirmDlg->addActionListener(&listener); } else |