summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-28 22:04:48 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-28 22:05:52 +0200
commit9c95cf794db33f9c265d414172c439b98e4cc0ba (patch)
treeeba9c59b2749e9f0efff049c7c42de06622a39a8 /src
parent7dda7e2cdbf7b63c316da2baa5627c7e7dc6d5b2 (diff)
downloadmana-9c95cf794db33f9c265d414172c439b98e4cc0ba.tar.gz
mana-9c95cf794db33f9c265d414172c439b98e4cc0ba.tar.bz2
mana-9c95cf794db33f9c265d414172c439b98e4cc0ba.tar.xz
mana-9c95cf794db33f9c265d414172c439b98e4cc0ba.zip
Made two error strings untranslatable
They should never be seen by a user.
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