summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-19 19:53:09 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-19 19:53:09 +0300
commit79737ab60e31048233eabf09da10447358b3c79e (patch)
tree14300d856b74ee0685acd42a7baaa9471e23c604
parent444f1a80978fd16aa70a97436c9b7e5ce380a92b (diff)
downloadmanaverse-79737ab60e31048233eabf09da10447358b3c79e.tar.gz
manaverse-79737ab60e31048233eabf09da10447358b3c79e.tar.bz2
manaverse-79737ab60e31048233eabf09da10447358b3c79e.tar.xz
manaverse-79737ab60e31048233eabf09da10447358b3c79e.zip
Change translation string by adding %s.
-rw-r--r--src/localplayer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 01e864a6b..89eb3b40a 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -381,7 +381,8 @@ void LocalPlayer::setAction(Action action, int attackType)
mLastTarget = -1;
if (!mLastHitFrom.empty())
{
- debugMsg(_("You were killed by ") + mLastHitFrom);
+ debugMsg(strprintf(_("You were killed by %s"),
+ mLastHitFrom.c_str()));
mLastHitFrom = "";
}
setTarget(nullptr);