summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-05 04:52:43 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-05 04:52:43 +0200
commit827f91446c550fdf066cb9bec1d6b15ae8662b78 (patch)
treed75fcab56507f26891787f824cf443a248df6bf8 /src/being.cpp
parentc595f66bc9031fd28e5146a7aaee686b4ecb9c67 (diff)
downloadManaVerse-827f91446c550fdf066cb9bec1d6b15ae8662b78.tar.gz
ManaVerse-827f91446c550fdf066cb9bec1d6b15ae8662b78.tar.bz2
ManaVerse-827f91446c550fdf066cb9bec1d6b15ae8662b78.tar.xz
ManaVerse-827f91446c550fdf066cb9bec1d6b15ae8662b78.zip
Add gettext to missing strings. Update POTFILES.in
and update russian translation.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 08893c2f4..3a9285750 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -71,6 +71,7 @@
#include "gui/widgets/chattab.h"
#include "utils/dtor.h"
+#include "utils/gettext.h"
#include "utils/stringutils.h"
#include "utils/xml.h"
@@ -476,7 +477,7 @@ void Being::takeDamage(Being *attacker, int amount, AttackType type)
gcn::Font *font = 0;
std::string damage = amount ? toString(amount) : type == FLEE ?
- "dodge" : "miss";
+ _("dodge") : _("miss");
const gcn::Color *color;
if (gui)