From 2cb4a3efbcec838250c6861a90cf14e3b5f7295c Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 4 Mar 2015 14:45:36 +0100 Subject: [PATCH] Call SetUserDirectory before InitLanguageSupport Fixes a regression from 4.0-5692 where only the system language was used. --- Source/Core/DolphinWX/Main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Main.cpp b/Source/Core/DolphinWX/Main.cpp index ecc7ca6e57..d644448589 100644 --- a/Source/Core/DolphinWX/Main.cpp +++ b/Source/Core/DolphinWX/Main.cpp @@ -135,8 +135,6 @@ bool DolphinApp::OnInit() Bind(wxEVT_QUERY_END_SESSION, &DolphinApp::OnEndSession, this); Bind(wxEVT_END_SESSION, &DolphinApp::OnEndSession, this); - InitLanguageSupport(); - // Declarations and definitions bool UseDebugger = false; bool UseLogger = false; @@ -246,6 +244,7 @@ bool DolphinApp::OnInit() UICommon::SetUserDirectory(userPath.ToStdString()); UICommon::CreateDirectories(); + InitLanguageSupport(); // The language setting is loaded from the user directory UICommon::Init(); if (selectPerfDir)