From 9c95cf794db33f9c265d414172c439b98e4cc0ba Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 28 May 2009 22:04:48 +0200 Subject: Made two error strings untranslatable They should never be seen by a user. --- po/POTFILES.in | 2 -- src/gui/emotepopup.cpp | 4 +--- src/resources/npcdb.cpp | 3 +-- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index 1d7aef26..fc5de932 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -14,7 +14,6 @@ src/gui/charselectdialog.cpp src/gui/chat.cpp src/gui/confirmdialog.cpp src/gui/connection.cpp -src/gui/emotepopup.cpp src/gui/equipmentwindow.cpp src/gui/guildwindow.cpp src/gui/help.cpp @@ -82,6 +81,5 @@ src/net/tmwserv/generalhandler.cpp src/net/tmwserv/loginhandler.cpp src/resources/itemdb.cpp src/resources/monsterdb.cpp -src/resources/npcdb.cpp src/utils/gettext.h src/utils/stringutils.h 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 #include @@ -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 s -- cgit v1.2.3-70-g09d2