diff options
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r-- | src/resources/db/itemdb.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |