diff options
author | Kess Vargavind <vargavind@gmail.com> | 2009-05-21 09:38:06 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-23 21:44:50 +0200 |
commit | ee6aea38c7d3dba0c4b6dab7f22f303dfbc14019 (patch) | |
tree | de48c84dabb09e8307760f0bf90e6479366a6bfa /src/net/ea/inventoryhandler.cpp | |
parent | cf9caaefeb69cafcf273028d12f074d5d1737bf9 (diff) | |
download | mana-ee6aea38c7d3dba0c4b6dab7f22f303dfbc14019.tar.gz mana-ee6aea38c7d3dba0c4b6dab7f22f303dfbc14019.tar.bz2 mana-ee6aea38c7d3dba0c4b6dab7f22f303dfbc14019.tar.xz mana-ee6aea38c7d3dba0c4b6dab7f22f303dfbc14019.zip |
Fixed a few strings for better translation
Just a few notes that would help us translators immensly:
* Please do not split one sentence into several strings
* Please try to refrain from inserting extra spaces into the strings
(cherry picked from commit 9712489ef67f95d6a5fa1fc3102bb7c4ee6a1f59)
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index 30c583b8..e91a1c19 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -181,7 +181,10 @@ void InventoryHandler::handleMessage(MessageIn &msg) if (msg.readInt8() > 0) { if (config.getValue("showpickupchat", 1)) - localChatTab->chatLog(_("Unable to pick up item"), BY_SERVER); + { + localChatTab->chatLog(_("Unable to pick up item."), + BY_SERVER); + } } else { @@ -191,7 +194,7 @@ void InventoryHandler::handleMessage(MessageIn &msg) if (config.getValue("showpickupchat", 1)) { - localChatTab->chatLog(strprintf(_("You picked up %s [@@%d|%s@@]"), + localChatTab->chatLog(strprintf(_("You picked up %s [@@%d|%s@@]."), amountStr.c_str(), itemInfo.getId(), itemInfo.getName().c_str()), BY_SERVER); } @@ -237,7 +240,7 @@ void InventoryHandler::handleMessage(MessageIn &msg) amount = msg.readInt16(); if (msg.readInt8() == 0) { - localChatTab->chatLog(_("Failed to use item"), BY_SERVER); + localChatTab->chatLog(_("Failed to use item."), BY_SERVER); } else { if (Item *item = inventory->getItem(index)) item->setQuantity(amount); |