From 6de076ae8cd505511388321757f4bf94c22562b2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 19 Jun 2016 15:38:39 +0300 Subject: Add missing translators comment --- src/resources/db/itemdb.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/resources/db/itemdb.cpp') diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index be196f615..935455c9c 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -385,9 +385,14 @@ void ItemDB::loadXmlFile(const std::string &fileName, // TRANSLATORS: item info name itemInfo->setName(name.empty() ? _("unnamed") : name); if (nameEn.empty()) + { + // TRANSLATORS: item info name itemInfo->setNameEn(name.empty() ? _("unnamed") : name); + } else + { itemInfo->setNameEn(nameEn); + } if (description.empty() && inheritItemInfo) description = inheritItemInfo->getDescription(); -- cgit v1.2.3-60-g2f50