diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-24 18:37:37 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-24 18:47:08 +0200 |
commit | 8804e57c206281551b6d4c29ef5fbe8d571dd18c (patch) | |
tree | 3c28d5b6f06105b6cfa34d6ee8b7007362bbee5d /src/net/ea/inventoryhandler.cpp | |
parent | 33fdceaa4c44745184d44b626741c73d3f35fdbb (diff) | |
download | mana-8804e57c206281551b6d4c29ef5fbe8d571dd18c.tar.gz mana-8804e57c206281551b6d4c29ef5fbe8d571dd18c.tar.bz2 mana-8804e57c206281551b6d4c29ef5fbe8d571dd18c.tar.xz mana-8804e57c206281551b6d4c29ef5fbe8d571dd18c.zip |
Made the "a" part in "You picked up a ..." translatable
Mantis-issue: 704
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 4 |
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)) { |