summaryrefslogtreecommitdiff
path: root/src/net/equipmenthandler.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/equipmenthandler.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/equipmenthandler.cpp')
-rw-r--r--src/net/equipmenthandler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/equipmenthandler.cpp b/src/net/equipmenthandler.cpp
index 973de0f6..319d1205 100644
--- a/src/net/equipmenthandler.cpp
+++ b/src/net/equipmenthandler.cpp
@@ -32,6 +32,8 @@
#include "../gui/chat.h"
+#include "../utils/gettext.h"
+
EquipmentHandler::EquipmentHandler()
{
static const Uint16 _messages[] = {
@@ -97,7 +99,7 @@ void EquipmentHandler::handleMessage(MessageIn *msg)
logger->log("Equipping: %i %i %i", index, equipPoint, type);
if (!type) {
- chatWindow->chatLog("Unable to equip.", BY_SERVER);
+ chatWindow->chatLog(_("Unable to equip."), BY_SERVER);
break;
}
@@ -135,7 +137,7 @@ void EquipmentHandler::handleMessage(MessageIn *msg)
type = msg->readInt8();
if (!type) {
- chatWindow->chatLog("Unable to unequip.", BY_SERVER);
+ chatWindow->chatLog(_("Unable to unequip."), BY_SERVER);
break;
}