summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-19 15:38:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-19 15:38:39 +0300
commit6de076ae8cd505511388321757f4bf94c22562b2 (patch)
treeaa1a00b2431fb19e5950e32bc57dbd1a11ba6b65 /src/resources
parentbc94e3dbe141ca257363850077d3faf48338fb87 (diff)
downloadplus-6de076ae8cd505511388321757f4bf94c22562b2.tar.gz
plus-6de076ae8cd505511388321757f4bf94c22562b2.tar.bz2
plus-6de076ae8cd505511388321757f4bf94c22562b2.tar.xz
plus-6de076ae8cd505511388321757f4bf94c22562b2.zip
Add missing translators comment
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/itemdb.cpp5
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();