diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-19 15:38:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-19 15:38:39 +0300 |
commit | 6de076ae8cd505511388321757f4bf94c22562b2 (patch) | |
tree | aa1a00b2431fb19e5950e32bc57dbd1a11ba6b65 /src | |
parent | bc94e3dbe141ca257363850077d3faf48338fb87 (diff) | |
download | manaplus-6de076ae8cd505511388321757f4bf94c22562b2.tar.gz manaplus-6de076ae8cd505511388321757f4bf94c22562b2.tar.bz2 manaplus-6de076ae8cd505511388321757f4bf94c22562b2.tar.xz manaplus-6de076ae8cd505511388321757f4bf94c22562b2.zip |
Add missing translators comment
Diffstat (limited to 'src')
-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(); |