From 468810655ea2f8a696357fdef6b0b311113f5009 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Dec 2014 20:47:39 +0300 Subject: Fix translation for default use/equip buttons. --- src/resources/db/itemdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources') 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(); -- cgit v1.2.3-70-g09d2