summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/itemdb.cpp')
-rw-r--r--src/resources/itemdb.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index f5d6e54ce..346ddb9de 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -58,9 +58,13 @@ static int parseDirectionName(const std::string &name);
static const char *const fields[][2] =
{
+ // TRANSLATORS: item info label
{ "attack", N_("Attack %+d") },
+ // TRANSLATORS: item info label
{ "defense", N_("Defense %+d") },
+ // TRANSLATORS: item info label
{ "hp", N_("HP %+d") },
+ // TRANSLATORS: item info label
{ "mp", N_("MP %+d") }
};
@@ -164,6 +168,7 @@ void ItemDB::load()
mTags["Equipment"] = tagNum ++;
mUnknown = new ItemInfo;
+ // TRANSLATORS: item name
mUnknown->setName(_("Unknown item"));
mUnknown->setDisplay(SpriteDisplay());
std::string errFile = paths.getStringValue("spriteErrorFile");
@@ -258,6 +263,7 @@ void ItemDB::load()
ItemInfo *const itemInfo = new ItemInfo;
itemInfo->setId(id);
+ // TRANSLATORS: item info name
itemInfo->setName(name.empty() ? _("unnamed") : name);
itemInfo->setDescription(description);
itemInfo->setType(itemTypeFromString(typeStr));