summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorKess Vargavind <vargavind@gmail.com>2009-07-26 16:52:53 +0200
committerKess Vargavind <vargavind@gmail.com>2009-07-26 16:52:53 +0200
commitc98665d62a089c978189662c3f526464365f08fa (patch)
treeb6ac1a86376827ea411393f10775c2a6c5ae94c9 /src/net/ea/playerhandler.cpp
parentc7d5d825999912892d99c295ba7b583eaaa884ff (diff)
downloadmana-c98665d62a089c978189662c3f526464365f08fa.tar.gz
mana-c98665d62a089c978189662c3f526464365f08fa.tar.bz2
mana-c98665d62a089c978189662c3f526464365f08fa.tar.xz
mana-c98665d62a089c978189662c3f526464365f08fa.zip
Gettext fixes
And a Swedish translation of the desktop file.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 3528eeee..3bc11b83 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -318,9 +318,9 @@ void PlayerHandler::handleMessage(MessageIn &msg)
int curGp = player_node->getMoney();
player_node->setMoney(msg.readInt32());
if (player_node->getMoney() > curGp)
- localChatTab->chatLog(_("You picked up ") +
+ localChatTab->chatLog(strprintf(_("You picked up %s"),
Units::formatCurrency(player_node->getMoney()
- - curGp), BY_SERVER);
+ - curGp).c_str()), BY_SERVER);
}
break;
case 0x0016: