diff options
-rw-r--r-- | src/gui/skill.cpp | 2 | ||||
-rw-r--r-- | src/resources/itemdb.cpp | 2 | ||||
-rw-r--r-- | src/resources/monsterdb.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp index 2ff82030..44f77253 100644 --- a/src/gui/skill.cpp +++ b/src/gui/skill.cpp @@ -36,7 +36,7 @@ #include "../utils/strprintf.h" #include "../utils/xml.h" -static const char *SKILLS_FILE = "skills.xml"; +static const char *SKILLS_FILE = _("skills.xml"); struct SkillInfo { std::string name; diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp index 270083ef..7091abed 100644 --- a/src/resources/itemdb.cpp +++ b/src/resources/itemdb.cpp @@ -57,7 +57,7 @@ void ItemDB::load() mUnknown->setSprite("error.xml", GENDER_MALE); mUnknown->setSprite("error.xml", GENDER_FEMALE); - XML::Document doc("items.xml"); + XML::Document doc(_("items.xml")); xmlNodePtr rootNode = doc.rootNode(); if (!rootNode || !xmlStrEqual(rootNode->name, BAD_CAST "items")) diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp index 92009826..4ee7b89e 100644 --- a/src/resources/monsterdb.cpp +++ b/src/resources/monsterdb.cpp @@ -45,7 +45,7 @@ void MonsterDB::load() logger->log(_("Initializing monster database...")); - XML::Document doc("monsters.xml"); + XML::Document doc(_("monsters.xml")); xmlNodePtr rootNode = doc.rootNode(); if (!rootNode || !xmlStrEqual(rootNode->name, BAD_CAST "monsters")) |