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/gui/updatewindow.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/gui/updatewindow.cpp')
-rw-r--r-- | src/gui/updatewindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp index 1f62bd2d..01c28aca 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -75,7 +75,7 @@ std::vector<std::string> loadTextFile(const std::string &fileName) std::ifstream fin(fileName.c_str()); if (!fin) { - logger->log(_("Couldn't load text file: %s"), fileName.c_str()); + logger->log("Couldn't load text file: %s", fileName.c_str()); return lines; } @@ -193,7 +193,7 @@ void UpdaterWindow::loadNews() { if (!mMemoryBuffer) { - logger->log(_("Couldn't load news")); + logger->log("Couldn't load news"); return; } @@ -410,7 +410,7 @@ void UpdaterWindow::download() if (mThread == NULL) { - logger->log(_("Unable to create mThread")); + logger->log("Unable to create mThread"); mDownloadStatus = UPDATE_ERROR; } } @@ -504,7 +504,7 @@ void UpdaterWindow::logic() } else { - logger->log(_("%s already here"), mCurrentFile.c_str()); + logger->log("%s already here", mCurrentFile.c_str()); } mLineIndex++; } |