Localisation, using Locale class

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@113 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-12 16:09:05 +00:00
parent c2a03bc445
commit ca42f31ccc
24 changed files with 540 additions and 40 deletions
+2
View File
@@ -11,6 +11,7 @@
#include <data/game.hpp>
#include <data/set.hpp>
#include <data/settings.hpp>
#include <data/locale.hpp>
#include <data/format/formats.hpp>
#include <gui/welcome_window.hpp>
#include <gui/update_checker.hpp>
@@ -45,6 +46,7 @@ bool MSE::OnInit() {
init_file_formats();
packages.init();
settings.read();
the_locale = Locale::byName(settings.locale);
// check for updates
check_updates();
//Window* wnd = new SymbolWindow(nullptr);