summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/network.cpp2
-rw-r--r--src/net/ea/tradehandler.cpp3
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