--- a/QTfrontend/hwform.cpp Sun Aug 12 16:31:22 2018 +0200
+++ b/QTfrontend/hwform.cpp Mon Aug 13 16:01:58 2018 +0200
@@ -1673,7 +1673,7 @@
if (pnetserver)
return; // we have server - let it care of all things
if (hwnet) {
- QString errorStr = QMessageBox::tr("Connection to server is lost") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Quit reason: ") + '"' + reason +'"'));
+ QString errorStr = QMessageBox::tr("The connection to the server is lost.") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Reason:") + "\n" + reason));
MessageDialog::ShowErrorMessage(errorStr, this);
}
--- a/gameServer/Actions.hs Sun Aug 12 16:31:22 2018 +0200
+++ b/gameServer/Actions.hs Mon Aug 13 16:01:58 2018 +0200
@@ -557,7 +557,7 @@
mapM_ processAction [
AddIP2Bans clHost (loc "60 seconds cooldown after kick") (addUTCTime 60 currentTime)
, ModifyClient (\c -> c{isKickedFromServer = True})
- , ByeClient "Kicked"
+ , ByeClient $ loc "Kicked"
]