diff options
author | Lars Persson | 2010-09-23 10:39:59 +0000 |
---|---|---|
committer | Lars Persson | 2010-09-23 10:39:59 +0000 |
commit | cc4a01433517b683ce9db7f912b269fcc9aa3eb3 (patch) | |
tree | ceb19f8972344fcd29dff9ad2501e9d0fa74316b | |
parent | 3a3b2cf8623b0da297a0dca906ca032379b202ff (diff) | |
download | scummvm-rg350-cc4a01433517b683ce9db7f912b269fcc9aa3eb3.tar.gz scummvm-rg350-cc4a01433517b683ce9db7f912b269fcc9aa3eb3.tar.bz2 scummvm-rg350-cc4a01433517b683ce9db7f912b269fcc9aa3eb3.zip |
COMMON : Initialize translation after system has been initialized (to be able to access system specific search paths for translations.dat)
svn-id: r52865
-rw-r--r-- | base/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp index e651456ace..4858501126 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -321,9 +321,6 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { // Update the config file ConfMan.set("versioninfo", gScummVMVersion, Common::ConfigManager::kApplicationDomain); - // Enable translation - TransMan.setLanguage(ConfMan.get("gui_language").c_str()); - // Load and setup the debuglevel and the debug flags. We do this at the // soonest possible moment to ensure debug output starts early on, if // requested. @@ -365,6 +362,9 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { setupGraphics(system); + // Enable translation + TransMan.setLanguage(ConfMan.get("gui_language").c_str()); + // Init the event manager. As the virtual keyboard is loaded here, it must // take place after the backend is initiated and the screen has been setup system.getEventManager()->init(); |