summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-09 01:23:41 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-09 01:23:41 +0300
commit8edd314b746e7c9fbf3af8581f38a6f1d2c0752e (patch)
treecaeb46c041264967c56531ebce616aaab3622a39 /src/localplayer.cpp
parent5faa825f7920a90016ef56f8b41033e466269d12 (diff)
downloadmv-8edd314b746e7c9fbf3af8581f38a6f1d2c0752e.tar.gz
mv-8edd314b746e7c9fbf3af8581f38a6f1d2c0752e.tar.bz2
mv-8edd314b746e7c9fbf3af8581f38a6f1d2c0752e.tar.xz
mv-8edd314b746e7c9fbf3af8581f38a6f1d2c0752e.zip
Separate commands and text for translation.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 81a8e6b89..bcc78dd1b 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1397,13 +1397,11 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, int amount,
if (config.getBoolValue("showpickupchat") && localChatTab)
{
- // TRANSLATORS: This sentence may be translated differently
- // for different grammatical numbers (singular, plural, ...)
-
+ // TRANSLATORS: %d is number,
+ // [@@%d|%s@@] - here player can see link to item
localChatTab->chatLog(strprintf(ngettext("You picked up %d "
- "[@@%d|%s@@].", "You picked up %d [@@%d|%s@@].", amount),
- amount, itemInfo.getId(), str.c_str()),
- BY_SERVER);
+ "[@@%d|%s@@].", "You picked up %d [@@%d|%s@@].", amount),
+ amount, itemInfo.getId(), str.c_str()), BY_SERVER);
}
if (mMap && config.getBoolValue("showpickupparticle"))