summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-24 21:38:28 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-24 21:38:28 +0200
commit18b6856aa416473019bc36ead2c0e9cda3719a44 (patch)
treeb08f3ed09378dd288f3e4605ad9160d901640dc4 /src/net
parent768f3d93019b262ce6aa9f913aed0f45d5e4c929 (diff)
parent4e18e7619e9a8c909dea3374a2a7aa39befe0c16 (diff)
downloadmana-18b6856aa416473019bc36ead2c0e9cda3719a44.tar.gz
mana-18b6856aa416473019bc36ead2c0e9cda3719a44.tar.bz2
mana-18b6856aa416473019bc36ead2c0e9cda3719a44.tar.xz
mana-18b6856aa416473019bc36ead2c0e9cda3719a44.zip
Merge branch '0.0.29'
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/inventoryhandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index e91a1c19..e9c9f91c 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -190,7 +190,9 @@ void InventoryHandler::handleMessage(MessageIn &msg)
{
const ItemInfo &itemInfo = ItemDB::get(itemId);
const std::string amountStr =
- (amount > 1) ? toString(amount) : "a";
+ // TRANSLATORS: Used as in "You picked up a ...", when
+ // picking up only one item.
+ (amount > 1) ? toString(amount) : _("a");
if (config.getValue("showpickupchat", 1))
{