summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/emotepopup.cpp4
-rw-r--r--src/resources/npcdb.cpp3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/gui/emotepopup.cpp b/src/gui/emotepopup.cpp
index 036a25ec..707f4bfa 100644
--- a/src/gui/emotepopup.cpp
+++ b/src/gui/emotepopup.cpp
@@ -35,8 +35,6 @@
#include "resources/resourcemanager.h"
#include "utils/dtor.h"
-#include "utils/gettext.h"
-#include "utils/stringutils.h"
#include <guichan/mouseinput.hpp>
#include <guichan/selectionlistener.hpp>
@@ -61,7 +59,7 @@ EmotePopup::EmotePopup():
ResourceManager *resman = ResourceManager::getInstance();
mSelectionImage = resman->getImage("graphics/gui/selection.png");
if (!mSelectionImage)
- logger->error(_("Unable to load selection.png"));
+ logger->error("Unable to load selection.png");
mSelectionImage->setAlpha(config.getValue("guialpha", 0.8));
diff --git a/src/resources/npcdb.cpp b/src/resources/npcdb.cpp
index 6a880faa..57fa9fc0 100644
--- a/src/resources/npcdb.cpp
+++ b/src/resources/npcdb.cpp
@@ -23,7 +23,6 @@
#include "log.h"
-#include "utils/gettext.h"
#include "utils/xml.h"
namespace
@@ -50,7 +49,7 @@ void NPCDB::load()
if (!rootNode || !xmlStrEqual(rootNode->name, BAD_CAST "npcs"))
{
- logger->error(_("NPC Database: Error while loading npcs.xml!"));
+ logger->error("NPC Database: Error while loading npcs.xml!");
}
//iterate <npc>s