diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-04 15:44:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-04 16:24:42 +0300 |
commit | bc2c095db69be01837d07af1151b0f0a3061713f (patch) | |
tree | 98009b4483d873f45f7b4f2897a4a7ba5118d39e /src/being | |
parent | 9b5b48739b62fca4bb30cd04be1031ac3f80095d (diff) | |
download | plus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.gz plus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.bz2 plus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.xz plus-bc2c095db69be01837d07af1151b0f0a3061713f.zip |
Add missing TRANSLATORS comments to translation strings.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 6 | ||||
-rw-r--r-- | src/being/localplayer.cpp | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 785961e47..194bfb526 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -660,9 +660,9 @@ void Being::takeDamage(Being *restrict const attacker, BLOCK_START("Being::takeDamage1") Font *font = nullptr; - // TRANSLATORS: hit or miss message in attacks - const std::string damage = amount ? toString(amount) - : type == AttackType::FLEE ? _("dodge") : _("miss"); + const std::string damage = amount ? toString(amount) : + // TRANSLATORS: dodge or miss message in attacks + type == AttackType::FLEE ? _("dodge") : _("miss"); const Color *color; if (gui) diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 91a601711..1d0fd92aa 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -1085,8 +1085,9 @@ void LocalPlayer::addJobMessage(const int change) { MessagePair pair = mMessages.back(); // TRANSLATORS: this is normal experience - if (pair.first.find(strprintf(" %s", _("xp"))) - == pair.first.size() - strlen(_("xp")) - 1) + if (pair.first.find(strprintf(" %s", _("xp"))) == + // TRANSLATORS: this is normal experience + pair.first.size() - strlen(_("xp")) - 1) { mMessages.pop_back(); // TRANSLATORS: this is job experience |