mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fixed translation of strings at runtime.
Static strings can not be translated until wxLocale is initialised.
This reverts commit 0004b6004b
.
Conflicts:
Source/Core/DolphinWX/VideoConfigDiag.cpp
This commit is contained in:
@ -18,13 +18,10 @@
|
||||
#include "DolphinWX/Config/GeneralConfigPane.h"
|
||||
#include "DolphinWX/Debugger/CodeWindow.h"
|
||||
|
||||
|
||||
struct CPUCore
|
||||
GeneralConfigPane::GeneralConfigPane(wxWindow* parent, wxWindowID id)
|
||||
: wxPanel(parent, id)
|
||||
{
|
||||
int CPUid;
|
||||
wxString name;
|
||||
};
|
||||
static const CPUCore cpu_cores[] = {
|
||||
cpu_cores = {
|
||||
{ 0, _("Interpreter (VERY slow)") },
|
||||
#ifdef _M_X86_64
|
||||
{ 1, _("JIT Recompiler (recommended)") },
|
||||
@ -34,11 +31,8 @@ static const CPUCore cpu_cores[] = {
|
||||
#elif defined(_M_ARM_64)
|
||||
{ 4, _("Arm64 JIT (experimental)") },
|
||||
#endif
|
||||
};
|
||||
};
|
||||
|
||||
GeneralConfigPane::GeneralConfigPane(wxWindow* parent, wxWindowID id)
|
||||
: wxPanel(parent, id)
|
||||
{
|
||||
InitializeGUI();
|
||||
LoadGUIValues();
|
||||
RefreshGUI();
|
||||
|
Reference in New Issue
Block a user