mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user