diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-19 19:53:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-19 19:53:09 +0300 |
commit | 79737ab60e31048233eabf09da10447358b3c79e (patch) | |
tree | 14300d856b74ee0685acd42a7baaa9471e23c604 | |
parent | 444f1a80978fd16aa70a97436c9b7e5ce380a92b (diff) | |
download | manaplus-79737ab60e31048233eabf09da10447358b3c79e.tar.gz manaplus-79737ab60e31048233eabf09da10447358b3c79e.tar.bz2 manaplus-79737ab60e31048233eabf09da10447358b3c79e.tar.xz manaplus-79737ab60e31048233eabf09da10447358b3c79e.zip |
Change translation string by adding %s.
-rw-r--r-- | src/localplayer.cpp | 3 |
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); |