diff options
author | Kess Vargavind <vargavind@gmail.com> | 2009-07-17 14:31:36 +0200 |
---|---|---|
committer | Kess Vargavind <vargavind@gmail.com> | 2009-07-17 15:21:53 +0200 |
commit | 8b0a65f00c0e5afb2c177462acd30013afa99b64 (patch) | |
tree | e34427ff57870c0e96065ccdacd296e9dddd445a /src/gui/popupmenu.cpp | |
parent | 18aaa873abcaa617bbd296f73138d062423662b8 (diff) | |
download | mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.tar.gz mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.tar.bz2 mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.tar.xz mana-8b0a65f00c0e5afb2c177462acd30013afa99b64.zip |
Various gettext fixes
* Merged a few split strings
* Fixed some spellings and wordings
* Turned a couple of std::cout and std::cerr into logger messages
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index e12ca822..60ee7353 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -34,6 +34,7 @@ #include "graphics.h" #include "item.h" #include "localplayer.h" +#include "log.h" #include "npc.h" #include "playerrelations.h" @@ -332,7 +333,7 @@ void PopupMenu::handleLink(const std::string &link) // Unknown actions else if (link != "cancel") { - std::cout << link << std::endl; + logger->log("PopupMenu: Warning, unknown action '%s'", link.c_str()); } setVisible(false); |