summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-20 18:29:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-20 18:29:07 +0300
commitd1f339761cb44aab9af3d862138b194a459f15f5 (patch)
treea864f15ee9e034814c1b1cd89b36df3ee50fa315 /src/net
parent326e4bdd20fadadf374fba45c06f0ca74a5863c0 (diff)
downloadmv-d1f339761cb44aab9af3d862138b194a459f15f5.tar.gz
mv-d1f339761cb44aab9af3d862138b194a459f15f5.tar.bz2
mv-d1f339761cb44aab9af3d862138b194a459f15f5.tar.xz
mv-d1f339761cb44aab9af3d862138b194a459f15f5.zip
In client too old error messages, show manaplus.org url.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/loginrecv.cpp3
-rw-r--r--src/net/eathena/loginrecv.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/net/ea/loginrecv.cpp b/src/net/ea/loginrecv.cpp
index 84899476b..df96e9848 100644
--- a/src/net/ea/loginrecv.cpp
+++ b/src/net/ea/loginrecv.cpp
@@ -138,7 +138,8 @@ void LoginRecv::processLoginError(Net::MessageIn &msg)
break;
case 5:
// TRANSLATORS: error message
- errorMessage = _("Client too old or wrong server type.");
+ errorMessage = _("Client too old or wrong server type.\n"
+ "Please update client on http://manaplus.org");
break;
case 6:
// TRANSLATORS: error message
diff --git a/src/net/eathena/loginrecv.cpp b/src/net/eathena/loginrecv.cpp
index c9164e4e2..cc5b4ac4e 100644
--- a/src/net/eathena/loginrecv.cpp
+++ b/src/net/eathena/loginrecv.cpp
@@ -76,7 +76,8 @@ void LoginRecv::processLoginError2(Net::MessageIn &msg)
break;
case 5:
// TRANSLATORS: error message
- errorMessage = _("Client too old or wrong server type.");
+ errorMessage = _("Client too old or wrong server type.\n"
+ "Please update client on http://manaplus.org");
break;
case 6:
// TRANSLATORS: error message