summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-10 23:08:35 +0100
committerIra Rice <irarice@gmail.com>2009-02-11 08:43:59 -0700
commit1ea7d80aff0961e6f55ee467b8cbe26d146828f8 (patch)
tree4e635e72541c3df3493a2a5871348f02b9f48bfe /src/game.cpp
parent4a41ce55224ad7b54c6b5ea78126d8d314f5ef41 (diff)
downloadmana-1ea7d80aff0961e6f55ee467b8cbe26d146828f8.tar.gz
mana-1ea7d80aff0961e6f55ee467b8cbe26d146828f8.tar.bz2
mana-1ea7d80aff0961e6f55ee467b8cbe26d146828f8.tar.xz
mana-1ea7d80aff0961e6f55ee467b8cbe26d146828f8.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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9b11fad2..bc0c86b5 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -389,7 +389,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);
@@ -595,9 +595,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();
}
@@ -774,7 +774,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