diff options
Diffstat (limited to 'src/resources')
-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(); |