summaryrefslogtreecommitdiff
path: root/src/resources/db/petdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/petdb.cpp')
-rw-r--r--src/resources/db/petdb.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/db/petdb.cpp b/src/resources/db/petdb.cpp
index c2f6508c3..6c56f3437 100644
--- a/src/resources/db/petdb.cpp
+++ b/src/resources/db/petdb.cpp
@@ -150,6 +150,12 @@ void PETDB::loadXmlFile(const std::string &fileName)
currentInfo->setAttackDirectionType(XML::getProperty(petNode,
"attackDirectionType", 4));
+ const std::string returnMessage = XML::langProperty(petNode,
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: pet return to egg
+ "removeMessage", _("Return to egg"));
+ currentInfo->setString(0, returnMessage);
+
SpriteDisplay display;
for_each_xml_child_node(spriteNode, petNode)
{