diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-30 22:15:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-30 22:15:24 +0300 |
commit | d70d41864853924a456595875b6811b74222dd7c (patch) | |
tree | 99485951528734a54cd2f8ad297e76860f7ba9d4 /src/inventory.cpp | |
parent | a619290b502486ea5b1ff5dd604864ab78c5edc9 (diff) | |
download | plus-d70d41864853924a456595875b6811b74222dd7c.tar.gz plus-d70d41864853924a456595875b6811b74222dd7c.tar.bz2 plus-d70d41864853924a456595875b6811b74222dd7c.tar.xz plus-d70d41864853924a456595875b6811b74222dd7c.zip |
Fix code style.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp index c6376825c..7969dfcc3 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -293,6 +293,7 @@ std::string Inventory::getName() const switch (mType) { case InventoryType::INVENTORY: + case InventoryType::TYPE_END: default: { // TRANSLATORS: inventory type name @@ -308,6 +309,16 @@ std::string Inventory::getName() const // TRANSLATORS: inventory type name return N_("Cart"); } + case InventoryType::NPC: + { + // TRANSLATORS: inventory type name + return N_("Npc"); + } + case InventoryType::TRADE: + { + // TRANSLATORS: inventory type name + return N_("Trade"); + } } } |