[Scummvm-cvs-logs] SF.net SVN: scummvm:[52865] scummvm/trunk/base/main.cpp
anotherguest at users.sourceforge.net
anotherguest at users.sourceforge.net
Thu Sep 23 12:39:59 CEST 2010
Revision: 52865
http://scummvm.svn.sourceforge.net/scummvm/?rev=52865&view=rev
Author: anotherguest
Date: 2010-09-23 10:39:59 +0000 (Thu, 23 Sep 2010)
Log Message:
-----------
COMMON : Initialize translation after system has been initialized (to be able to access system specific search paths for translations.dat)
Modified Paths:
--------------
scummvm/trunk/base/main.cpp
Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp 2010-09-23 10:37:10 UTC (rev 52864)
+++ scummvm/trunk/base/main.cpp 2010-09-23 10:39:59 UTC (rev 52865)
@@ -321,9 +321,6 @@
// 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 @@
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();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list