Index: ps/trunk/binaries/data/mods/public/gui/lobby/prelobby.js
===================================================================
--- ps/trunk/binaries/data/mods/public/gui/lobby/prelobby.js
+++ ps/trunk/binaries/data/mods/public/gui/lobby/prelobby.js
@@ -162,7 +162,8 @@
case "error":
case "disconnected":
{
- Engine.GetGUIObjectByName("feedback").caption = message.text;
+ Engine.GetGUIObjectByName("feedback").caption = message.text ||
+ translate("Unknown error. This usually occurs because the same IP address is not allowed to register more than one account within one hour.");
g_DisplayingSystemMessage = true;
Engine.StopXmppClient();
break;
Index: ps/trunk/binaries/data/mods/public/gui/lobby/prelobby.xml
===================================================================
--- ps/trunk/binaries/data/mods/public/gui/lobby/prelobby.xml
+++ ps/trunk/binaries/data/mods/public/gui/lobby/prelobby.xml
@@ -8,7 +8,7 @@
-
-
+ Cancel
Index: ps/trunk/source/lobby/XmppClient.cpp
===================================================================
--- ps/trunk/source/lobby/XmppClient.cpp
+++ ps/trunk/source/lobby/XmppClient.cpp
@@ -1094,7 +1094,7 @@
DEBUG_CASE(RegistrationUnexpectedRequest, "This client is unregistered with the server");
DEBUG_CASE(RegistrationNotAllowed, "Server does not permit password changes");
default:
- return g_L10n.Translate("Unknown error");
+ return "";
}
#undef DEBUG_CASE
#undef CASE