Make strings more consistent between DolphinWX and DolphinQt2

Reduces the number of strings to translate.
This commit is contained in:
JosJuice 2018-03-19 18:52:46 +01:00
parent f335790623
commit a71c615435
3 changed files with 9 additions and 9 deletions

View File

@ -372,7 +372,7 @@ void MenuBar::AddOptionsMenu()
options_menu->addSeparator(); options_menu->addSeparator();
// Debugging mode only // Debugging mode only
m_boot_to_pause = options_menu->addAction(tr("Boot To Pause")); m_boot_to_pause = options_menu->addAction(tr("Boot to Pause"));
m_boot_to_pause->setCheckable(true); m_boot_to_pause->setCheckable(true);
m_boot_to_pause->setChecked(SConfig::GetInstance().bBootToPause); m_boot_to_pause->setChecked(SConfig::GetInstance().bBootToPause);
@ -386,7 +386,7 @@ void MenuBar::AddOptionsMenu()
connect(m_automatic_start, &QAction::toggled, this, connect(m_automatic_start, &QAction::toggled, this,
[this](bool enable) { SConfig::GetInstance().bAutomaticStart = enable; }); [this](bool enable) { SConfig::GetInstance().bAutomaticStart = enable; });
m_change_font = AddAction(options_menu, tr("Font..."), this, &MenuBar::ChangeDebugFont); m_change_font = AddAction(options_menu, tr("&Font..."), this, &MenuBar::ChangeDebugFont);
} }
void MenuBar::AddHelpMenu() void MenuBar::AddHelpMenu()
@ -596,7 +596,7 @@ void MenuBar::AddSymbolsMenu()
AddAction(m_symbols, tr("&Clear Symbols"), this, &MenuBar::ClearSymbols); AddAction(m_symbols, tr("&Clear Symbols"), this, &MenuBar::ClearSymbols);
auto* generate = m_symbols->addMenu(tr("Generate Symbols From")); auto* generate = m_symbols->addMenu(tr("&Generate Symbols From"));
AddAction(generate, tr("Address"), this, &MenuBar::GenerateSymbolsFromAddress); AddAction(generate, tr("Address"), this, &MenuBar::GenerateSymbolsFromAddress);
AddAction(generate, tr("Signature Database"), this, &MenuBar::GenerateSymbolsFromSignatureDB); AddAction(generate, tr("Signature Database"), this, &MenuBar::GenerateSymbolsFromSignatureDB);
AddAction(generate, tr("RSO Modules"), this, &MenuBar::GenerateSymbolsFromRSO); AddAction(generate, tr("RSO Modules"), this, &MenuBar::GenerateSymbolsFromRSO);
@ -606,7 +606,7 @@ void MenuBar::AddSymbolsMenu()
AddAction(m_symbols, tr("&Save Symbol Map"), this, &MenuBar::SaveSymbolMap); AddAction(m_symbols, tr("&Save Symbol Map"), this, &MenuBar::SaveSymbolMap);
m_symbols->addSeparator(); m_symbols->addSeparator();
AddAction(m_symbols, tr("&Load &Other Map File..."), this, &MenuBar::LoadOtherSymbolMap); AddAction(m_symbols, tr("Load &Other Map File..."), this, &MenuBar::LoadOtherSymbolMap);
AddAction(m_symbols, tr("Save Symbol Map &As..."), this, &MenuBar::SaveSymbolMapAs); AddAction(m_symbols, tr("Save Symbol Map &As..."), this, &MenuBar::SaveSymbolMapAs);
m_symbols->addSeparator(); m_symbols->addSeparator();

View File

@ -450,7 +450,7 @@ void CCodeView::OnMouseUpR(wxMouseEvent& event)
menu.Append(IDM_JITRESULTS, _("PPC vs x86"))->Enable(Core::IsRunning()); menu.Append(IDM_JITRESULTS, _("PPC vs x86"))->Enable(Core::IsRunning());
menu.Append(IDM_INSERTBLR, _("&Insert blr"))->Enable(Core::IsRunning()); menu.Append(IDM_INSERTBLR, _("&Insert blr"))->Enable(Core::IsRunning());
menu.Append(IDM_INSERTNOP, _("Insert &nop"))->Enable(Core::IsRunning()); menu.Append(IDM_INSERTNOP, _("Insert &nop"))->Enable(Core::IsRunning());
menu.Append(IDM_ASSEMBLE, _("Re&place Instruction"))->Enable(Core::IsRunning()); menu.Append(IDM_ASSEMBLE, _("Re&place instruction"))->Enable(Core::IsRunning());
// menu.Append(IDM_PATCHALERT, _("Patch alert"))->Enable(Core::IsRunning()); // menu.Append(IDM_PATCHALERT, _("Patch alert"))->Enable(Core::IsRunning());
PopupMenu(&menu); PopupMenu(&menu);
event.Skip(); event.Skip();

View File

@ -293,7 +293,7 @@ void CISOProperties::CreateGUIControls()
wxBoxSizer* const gpu_determinism_sizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* const gpu_determinism_sizer = new wxBoxSizer(wxHORIZONTAL);
wxStaticText* const gpu_determinism_text = wxStaticText* const gpu_determinism_text =
new wxStaticText(m_GameConfig, wxID_ANY, _("Deterministic dual core: ")); new wxStaticText(m_GameConfig, wxID_ANY, _("Deterministic dual core:"));
m_gpu_determinism_string.Add(_("Not Set")); m_gpu_determinism_string.Add(_("Not Set"));
m_gpu_determinism_string.Add(_("auto")); m_gpu_determinism_string.Add(_("auto"));
m_gpu_determinism_string.Add(_("none")); m_gpu_determinism_string.Add(_("none"));
@ -311,7 +311,7 @@ void CISOProperties::CreateGUIControls()
// Stereoscopy // Stereoscopy
wxBoxSizer* const depth_percentage = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* const depth_percentage = new wxBoxSizer(wxHORIZONTAL);
wxStaticText* const depth_percentage_text = wxStaticText* const depth_percentage_text =
new wxStaticText(m_GameConfig, wxID_ANY, _("Depth Percentage: ")); new wxStaticText(m_GameConfig, wxID_ANY, _("Depth Percentage:"));
m_depth_percentage = new DolphinSlider(m_GameConfig, ID_DEPTHPERCENTAGE, 100, 0, 200); m_depth_percentage = new DolphinSlider(m_GameConfig, ID_DEPTHPERCENTAGE, 100, 0, 200);
m_depth_percentage->SetToolTip( m_depth_percentage->SetToolTip(
_("This value is multiplied with the depth set in the graphics configuration.")); _("This value is multiplied with the depth set in the graphics configuration."));
@ -320,7 +320,7 @@ void CISOProperties::CreateGUIControls()
wxBoxSizer* const convergence_sizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* const convergence_sizer = new wxBoxSizer(wxHORIZONTAL);
wxStaticText* const convergence_text = wxStaticText* const convergence_text =
new wxStaticText(m_GameConfig, wxID_ANY, _("Convergence: ")); new wxStaticText(m_GameConfig, wxID_ANY, _("Convergence:"));
m_convergence = new wxSpinCtrl(m_GameConfig, ID_CONVERGENCE); m_convergence = new wxSpinCtrl(m_GameConfig, ID_CONVERGENCE);
m_convergence->SetRange(0, INT32_MAX); m_convergence->SetRange(0, INT32_MAX);
m_convergence->SetToolTip( m_convergence->SetToolTip(
@ -335,7 +335,7 @@ void CISOProperties::CreateGUIControls()
wxBoxSizer* const emustate_sizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* const emustate_sizer = new wxBoxSizer(wxHORIZONTAL);
wxStaticText* const emustate_text = wxStaticText* const emustate_text =
new wxStaticText(m_GameConfig, wxID_ANY, _("Emulation State: ")); new wxStaticText(m_GameConfig, wxID_ANY, _("Emulation State:"));
m_emustate_string.Add(_("Not Set")); m_emustate_string.Add(_("Not Set"));
m_emustate_string.Add(_("Broken")); m_emustate_string.Add(_("Broken"));
m_emustate_string.Add(_("Intro")); m_emustate_string.Add(_("Intro"));