diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-28 22:04:48 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-28 22:05:52 +0200 |
commit | 9c95cf794db33f9c265d414172c439b98e4cc0ba (patch) | |
tree | eba9c59b2749e9f0efff049c7c42de06622a39a8 | |
parent | 7dda7e2cdbf7b63c316da2baa5627c7e7dc6d5b2 (diff) | |
download | mana-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.
-rw-r--r-- | po/POTFILES.in | 2 | ||||
-rw-r--r-- | src/gui/emotepopup.cpp | 4 | ||||
-rw-r--r-- | 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 <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 |