mirror of https://github.com/PCSX2/pcsx2.git
pcsx2:gui: Make the presets tooltip translatable again
This commit is contained in:
parent
6452ae077c
commit
bb5e91a377
|
@ -125,16 +125,16 @@ void Dialogs::SysConfigDialog::AddPresetsControl()
|
|||
wxDefaultPosition, wxDefaultSize, wxHORIZONTAL /*| wxSL_AUTOTICKS | wxSL_LABELS */);
|
||||
m_slider_presets->SetMinSize(wxSize(100,25));
|
||||
|
||||
const wchar_t* presetTooltip = L"Presets apply some speed hacks that may boost speed on underpowered systems, or speed up games that have unusual performance requirements. Uncheck this box to apply settings manually.\n\n1) Safest - No speed hacks. Most reliable, but possibly slow setting.\n2) Safe - Default. A few speed hacks known to provide boosts, with minimal to no side effects.\n3) Balanced - May help quad core CPUs.\n4) Aggressive - May help underpowered CPUs on less demanding games, but risks causing problems in other cases.\n5) Very Aggressive - May help underpowered CPUs on less demanding games, but is likely to cause problems in other cases.\n6) Mostly Harmful - Harsh application of speed hacks. May help a very small set of games that have unusual performance requirements, but have adverse effects on most others. Not recommended for underpowered PCs.";
|
||||
const wchar_t* presetTooltip = pxEt(L"Presets apply some speed hacks that may boost speed on underpowered systems, or speed up games that have unusual performance requirements. Uncheck this box to apply settings manually.\n\n1) Safest - No speed hacks. Most reliable, but possibly slow setting.\n2) Safe - Default. A few speed hacks known to provide boosts, with minimal to no side effects.\n3) Balanced - May help quad core CPUs.\n4) Aggressive - May help underpowered CPUs on less demanding games, but risks causing problems in other cases.\n5) Very Aggressive - May help underpowered CPUs on less demanding games, but is likely to cause problems in other cases.\n6) Mostly Harmful - Harsh application of speed hacks. May help a very small set of games that have unusual performance requirements, but have adverse effects on most others. Not recommended for underpowered PCs.");
|
||||
|
||||
m_slider_presets->SetToolTip(
|
||||
pxEt(presetTooltip)
|
||||
presetTooltip
|
||||
);
|
||||
m_slider_presets->Enable(g_Conf->EnablePresets);
|
||||
|
||||
m_check_presets = new pxCheckBox( this, _("Preset:"), 0);
|
||||
m_check_presets->SetToolTip(
|
||||
pxEt(presetTooltip)
|
||||
presetTooltip
|
||||
);
|
||||
m_check_presets->SetValue(!!g_Conf->EnablePresets);
|
||||
//Console.WriteLn("--> SysConfigDialog::AddPresetsControl: EnablePresets: %s", g_Conf->EnablePresets?"true":"false");
|
||||
|
|
Loading…
Reference in New Issue