DolphinWX: Make the TAS dialog window titles translatable.
This commit is contained in:
parent
9daaf94f3c
commit
3d83433e90
|
@ -720,21 +720,20 @@ void CFrame::OnRecordReadOnly(wxCommandEvent& event)
|
|||
|
||||
void CFrame::OnTASInput(wxCommandEvent& event)
|
||||
{
|
||||
std::string number[4] = {"1","2","3","4"};
|
||||
|
||||
for (int i = 0; i < 4; ++i)
|
||||
{
|
||||
if (SConfig::GetInstance().m_SIDevice[i] != SIDEVICE_NONE && SConfig::GetInstance().m_SIDevice[i] != SIDEVICE_GC_GBA)
|
||||
{
|
||||
g_TASInputDlg[i]->CreateGCLayout();
|
||||
g_TASInputDlg[i]->Show(true);
|
||||
g_TASInputDlg[i]->SetTitle("TAS Input - Controller " + number[i]);
|
||||
g_TASInputDlg[i]->SetTitle(wxString::Format(_("TAS Input - Controller %d"), i + 1));
|
||||
}
|
||||
|
||||
if (g_wiimote_sources[i] == WIIMOTE_SRC_EMU && !(Core::IsRunning() && !SConfig::GetInstance().m_LocalCoreStartupParameter.bWii))
|
||||
{
|
||||
g_TASInputDlg[i+4]->CreateWiiLayout();
|
||||
g_TASInputDlg[i+4]->Show(true);
|
||||
g_TASInputDlg[i+4]->SetTitle("TAS Input - Wiimote " + number[i]);
|
||||
g_TASInputDlg[i+4]->SetTitle(wxString::Format(_("TAS Input - Wiimote %d"), i + 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue