diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-10 23:08:35 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-11 08:43:59 -0700 |
commit | 1ea7d80aff0961e6f55ee467b8cbe26d146828f8 (patch) | |
tree | 4e635e72541c3df3493a2a5871348f02b9f48bfe /src/gui/updatewindow.cpp | |
parent | 4a41ce55224ad7b54c6b5ea78126d8d314f5ef41 (diff) | |
download | mana-client-1ea7d80aff0961e6f55ee467b8cbe26d146828f8.tar.gz mana-client-1ea7d80aff0961e6f55ee467b8cbe26d146828f8.tar.bz2 mana-client-1ea7d80aff0961e6f55ee467b8cbe26d146828f8.tar.xz mana-client-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/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 5a6f3f28..a25d57d4 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -76,7 +76,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; } @@ -194,7 +194,7 @@ void UpdaterWindow::loadNews() { if (!mMemoryBuffer) { - logger->log(_("Couldn't load news")); + logger->log("Couldn't load news"); return; } @@ -411,7 +411,7 @@ void UpdaterWindow::download() if (!mThread) { - logger->log(_("Unable to create mThread")); + logger->log("Unable to create mThread"); mDownloadStatus = UPDATE_ERROR; } } @@ -505,7 +505,7 @@ void UpdaterWindow::logic() } else { - logger->log(_("%s already here"), mCurrentFile.c_str()); + logger->log("%s already here", mCurrentFile.c_str()); } mLineIndex++; } |