diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-10 23:08:35 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-10 23:13:43 +0100 |
commit | db3de66d52a9e8d65c657f7438f033144e8087c7 (patch) | |
tree | 2abd33c41a6c06ebae8341d3bcfcceb15620a8fd /src/resources/emotedb.cpp | |
parent | 19db8d94d88db56dc9484cc85308906add21826d (diff) | |
download | mana-db3de66d52a9e8d65c657f7438f033144e8087c7.tar.gz mana-db3de66d52a9e8d65c657f7438f033144e8087c7.tar.bz2 mana-db3de66d52a9e8d65c657f7438f033144e8087c7.tar.xz mana-db3de66d52a9e8d65c657f7438f033144e8087c7.zip |
Don't make log statements translatable
The log is mainly used to aid the developers, hence shouldn't be
translated to the user's local language. Also introduces unnecessary
work for all translators.
Diffstat (limited to 'src/resources/emotedb.cpp')
-rw-r--r-- | src/resources/emotedb.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/resources/emotedb.cpp b/src/resources/emotedb.cpp index ac41b59c..6a14eeb3 100644 --- a/src/resources/emotedb.cpp +++ b/src/resources/emotedb.cpp @@ -23,7 +23,6 @@ #include "../log.h" -#include "../utils/gettext.h" #include "../utils/xml.h" namespace @@ -47,14 +46,14 @@ void EmoteDB::load() unknownSprite->variant = 0; mUnknown.sprites.push_back(unknownSprite); - logger->log(_("Initializing emote database...")); + logger->log("Initializing emote database..."); XML::Document doc("emotes.xml"); xmlNodePtr rootNode = doc.rootNode(); if (!rootNode || !xmlStrEqual(rootNode->name, BAD_CAST "emotes")) { - logger->log(_("Emote Database: Error while loading emotes.xml!")); + logger->log("Emote Database: Error while loading emotes.xml!"); return; } @@ -67,7 +66,7 @@ void EmoteDB::load() int id = XML::getProperty(emoteNode, "id", -1); if (id == -1) { - logger->log(_("Emote Database: Emote with missing ID in emotes.xml!")); + logger->log("Emote Database: Emote with missing ID in emotes.xml!"); continue; } @@ -126,7 +125,7 @@ const EmoteInfo& EmoteDB::get(int id) if (i == mEmoteInfos.end()) { - logger->log(_("EmoteDB: Warning, unknown emote ID %d requested"), id); + logger->log("EmoteDB: Warning, unknown emote ID %d requested", id); return mUnknown; } else |