summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/network.cpp2
-rw-r--r--src/net/ea/tradehandler.cpp3
-rw-r--r--src/net/serverinfo.h4
3 files changed, 7 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
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index 515595f1f..c9a2d4f91 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -55,6 +55,7 @@ public:
std::string description;
std::string registerUrl;
std::string onlineListUrl;
+ std::string supportUrl;
VersionString version;
bool save;
@@ -68,6 +69,7 @@ public:
description(),
registerUrl(),
onlineListUrl(),
+ supportUrl(),
version(),
save(false)
{
@@ -83,6 +85,7 @@ public:
description(info.description),
registerUrl(info.registerUrl),
onlineListUrl(info.onlineListUrl),
+ supportUrl(info.supportUrl),
version(),
save(info.save)
{
@@ -105,6 +108,7 @@ public:
description.clear();
registerUrl.clear();
onlineListUrl.clear();
+ supportUrl.clear();
version.first = 0;
version.second.clear();
save = false;