diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-29 20:47:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-29 20:49:47 +0300 |
commit | 468810655ea2f8a696357fdef6b0b311113f5009 (patch) | |
tree | 89b54f0c2a50d4255d441baabffdcba9f46b61ee /src/resources/db/itemdb.cpp | |
parent | 57a6a4ab0fe9143e1cd3b566e5e9a7da1cee2429 (diff) | |
download | plus-468810655ea2f8a696357fdef6b0b311113f5009.tar.gz plus-468810655ea2f8a696357fdef6b0b311113f5009.tar.bz2 plus-468810655ea2f8a696357fdef6b0b311113f5009.tar.xz plus-468810655ea2f8a696357fdef6b0b311113f5009.zip |
Fix translation for default use/equip buttons.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r-- | src/resources/db/itemdb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index 9d9550e82..2768a8cab 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -148,7 +148,7 @@ static std::string useButtonFromItemType(const ItemType::Type &type) { const ItemTypeMap &item = itemTypeMap[f]; if (item.type == type) - return translator->getStr(item.useButton.c_str()); + return gettext(item.useButton.c_str()); } logger->log("Unknown item type"); return std::string(); @@ -161,7 +161,7 @@ static std::string useButton2FromItemType(const ItemType::Type &type) { const ItemTypeMap &item = itemTypeMap[f]; if (item.type == type) - return translator->getStr(item.useButton2.c_str()); + return gettext(item.useButton2.c_str()); } logger->log("Unknown item type"); return std::string(); |