aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorJohannes Schickel2010-06-26 18:07:41 +0000
committerJohannes Schickel2010-06-26 18:07:41 +0000
commit58fcda82f33e3ba8f813eeac412612ae09a34c9f (patch)
tree12d706da8a48a7a937e4dc2b5221010ba6613726 /base
parent9a0e2e9c461547b1a2d8bf32a3e7ba52853358f5 (diff)
downloadscummvm-rg350-58fcda82f33e3ba8f813eeac412612ae09a34c9f.tar.gz
scummvm-rg350-58fcda82f33e3ba8f813eeac412612ae09a34c9f.tar.bz2
scummvm-rg350-58fcda82f33e3ba8f813eeac412612ae09a34c9f.zip
Remove support for translation of console messages.
In recent discussions on -devel it turned out, that this feature is rather superfluous and instead we should rather implement a proper error reporting in our GUI. I also removed the dependency on iconv along with this. svn-id: r50335
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 1e3edb1534..7ea5344ba2 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -103,20 +103,20 @@ static const EnginePlugin *detectPlugin() {
ConfMan.set("gameid", gameid);
// Query the plugins and find one that will handle the specified gameid
- printf(_t("User picked target '%s' (gameid '%s')...\n"), ConfMan.getActiveDomainName().c_str(), gameid.c_str());
- printf("%s", _t(" Looking for a plugin supporting this gameid... "));
+ printf("User picked target '%s' (gameid '%s')...\n", ConfMan.getActiveDomainName().c_str(), gameid.c_str());
+ printf("%s", " Looking for a plugin supporting this gameid... ");
GameDescriptor game = EngineMan.findGame(gameid, &plugin);
if (plugin == 0) {
- printf("%s", _t("failed\n"));
- warning(_t("%s is an invalid gameid. Use the --list-games option to list supported gameid"), gameid.c_str());
+ printf("failed\n");
+ warning("%s is an invalid gameid. Use the --list-games option to list supported gameid", gameid.c_str());
return 0;
} else {
printf("%s\n", plugin->getName());
}
// FIXME: Do we really need this one?
- printf(_t(" Starting '%s'\n"), game.description().c_str());
+ printf(" Starting '%s'\n", game.description().c_str());
return plugin;
}
@@ -145,7 +145,7 @@ static Common::Error runGame(const EnginePlugin *plugin, OSystem &system, const
//GUI::displayErrorDialog("ScummVM could not find any game in the specified directory!");
const char *errMsg = _(Common::errorToString(err));
- warning(_t("%s failed to instantiate engine: %s (target '%s', path '%s')"),
+ warning("%s failed to instantiate engine: %s (target '%s', path '%s')",
plugin->getName(),
errMsg,
ConfMan.getActiveDomainName().c_str(),