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/game.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/game.cpp')
-rw-r--r-- | src/game.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game.cpp b/src/game.cpp index b79df4f5..f09e06e6 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -390,7 +390,7 @@ static bool saveScreenshot() else { chatWindow->chatLog(_("Saving screenshot failed!"), BY_SERVER); - logger->log(_("Error: could not save screenshot.")); + logger->log("Error: could not save screenshot."); } SDL_FreeSurface(screenshot); @@ -597,9 +597,9 @@ void Game::handleInput() case KeyboardConfig::KEY_QUIT: if (!exitConfirm) { - exitConfirm = new ConfirmDialog( _("Quit"), - _("Are you sure you " - "want to quit?")); + exitConfirm = new ConfirmDialog(_("Quit"), + _("Are you sure you " + "want to quit?")); exitConfirm->addActionListener(&exitListener); exitConfirm->requestMoveToTop(); } @@ -778,7 +778,7 @@ void Game::handleInput() catch (gcn::Exception e) { const char* err = e.getMessage().c_str(); - logger->log(_("Warning: guichan input exception: %s"), err); + logger->log("Warning: guichan input exception: %s", err); } } } // End while |