summaryrefslogtreecommitdiff
path: root/src/net/maploginhandler.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-05 14:19:44 -0700
committerIra Rice <irarice@gmail.com>2009-02-05 14:19:44 -0700
commitf001a53b494e8b357eba6f7c0cad9afe3258dda8 (patch)
treedf9022247ff6a3a26d01c66c0389a9c386b636c2 /src/net/maploginhandler.cpp
parent69d6f5fce3ee7ac1888c537e8e222431f8fc45da (diff)
downloadmana-f001a53b494e8b357eba6f7c0cad9afe3258dda8.tar.gz
mana-f001a53b494e8b357eba6f7c0cad9afe3258dda8.tar.bz2
mana-f001a53b494e8b357eba6f7c0cad9afe3258dda8.tar.xz
mana-f001a53b494e8b357eba6f7c0cad9afe3258dda8.zip
Exposed some more strings I found to be translatable.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/net/maploginhandler.cpp')
-rw-r--r--src/net/maploginhandler.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/net/maploginhandler.cpp b/src/net/maploginhandler.cpp
index b851117e..b5192bd7 100644
--- a/src/net/maploginhandler.cpp
+++ b/src/net/maploginhandler.cpp
@@ -27,6 +27,8 @@
#include "../log.h"
#include "../main.h"
+#include "../utils/gettext.h"
+
MapLoginHandler::MapLoginHandler()
{
static const Uint16 _messages[] = {
@@ -50,13 +52,13 @@ void MapLoginHandler::handleMessage(MessageIn *msg)
switch (code) {
case 0:
- errorMessage = "Authentication failed";
+ errorMessage = _("Authentication failed");
break;
case 2:
- errorMessage = "This account is already logged in";
+ errorMessage = _("This account is already logged in");
break;
default:
- errorMessage = "Unknown connection error";
+ errorMessage = _("Unknown connection error");
break;
}
state = ERROR_STATE;