summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 12:35:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 12:51:43 +0300
commit9510979d65738fb03b2c48425fa59984c2a4b938 (patch)
treed546c5e932da966d4bddcebb5ae9a0f6f4820881 /src/being.cpp
parenta7c723b681ddefdcaa84cb9b16681c65818d7110 (diff)
downloadmv-9510979d65738fb03b2c48425fa59984c2a4b938.tar.gz
mv-9510979d65738fb03b2c48425fa59984c2a4b938.tar.bz2
mv-9510979d65738fb03b2c48425fa59984c2a4b938.tar.xz
mv-9510979d65738fb03b2c48425fa59984c2a4b938.zip
add comments for translators.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp
index f06de55c7..de5ecc56e 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -268,6 +268,7 @@ void Being::setSubtype(const uint16_t subtype)
if (!ItemDB::exists(id))
{
id = -100;
+ // TRANSLATORS: default race name
setRaceName(_("Human"));
}
else
@@ -467,6 +468,7 @@ void Being::takeDamage(Being *const attacker, const int amount,
return;
gcn::Font *font = nullptr;
+ // TRANSLATORS: hit or miss message in attacks
const std::string damage = amount ? toString(amount) : type == FLEE ?
_("dodge") : _("miss");
const gcn::Color *color;