summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 9fa755e54..81c988d53 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1714,20 +1714,28 @@ void LocalPlayer::processEvent(Mana::Channels channel,
if (!mMessages.empty())
{
MessagePair pair = mMessages.back();
- if (pair.first.find(" xp") == pair.first.size() - 3)
+ // TRANSLATORS: this is normal experience
+ if (pair.first.find(strprintf(" %s",
+ _("xp"))) == pair.first.size() - 3)
{
mMessages.pop_back();
- pair.first += ", " + toString(change) + " job";
+ // TRANSLATORS: this is job experience
+ pair.first += strprintf (", %d %s",
+ change, _("job"));
mMessages.push_back(pair);
}
else
{
- addMessageToQueue(toString(change) + " job");
+ // TRANSLATORS: this is job experience
+ addMessageToQueue(strprintf("%d %s",
+ change, _("job")));
}
}
else
{
- addMessageToQueue(toString(change) + " job");
+ // TRANSLATORS: this is job experience
+ addMessageToQueue(strprintf(
+ "%d %s", change, _("job")));
}
}
}