mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
More debug text fixes
Also a few small non-debug text changes.
This commit is contained in:
@ -369,7 +369,7 @@ void CCodeView::OnMouseUpR(wxMouseEvent& event)
|
||||
menu.AppendSeparator();
|
||||
menu.Append(IDM_RUNTOHERE, _("&Run To Here"))->Enable(Core::IsRunning());
|
||||
menu.Append(IDM_ADDFUNCTION, _("&Add function"))->Enable(Core::IsRunning());
|
||||
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_INSERTNOP, _("Insert &nop"))->Enable(Core::IsRunning());
|
||||
// menu.Append(IDM_PATCHALERT, _("Patch alert"))->Enable(Core::IsRunning());
|
||||
|
@ -46,9 +46,12 @@ DSPDebuggerLLE::DSPDebuggerLLE(wxWindow* parent, wxWindowID id)
|
||||
new DolphinAuiToolBar(this, ID_TOOLBAR, wxDefaultPosition, wxDefaultSize, wxAUI_TB_HORZ_TEXT);
|
||||
m_Toolbar->AddTool(ID_RUNTOOL, _("Pause"),
|
||||
wxArtProvider::GetBitmap(wxART_TICK_MARK, wxART_OTHER, m_toolbar_item_size));
|
||||
// i18n: Here, "Step" is a verb. This function is used for
|
||||
// going through code step by step.
|
||||
m_Toolbar->AddTool(ID_STEPTOOL, _("Step"),
|
||||
wxArtProvider::GetBitmap(wxART_GO_DOWN, wxART_OTHER, m_toolbar_item_size));
|
||||
m_Toolbar->AddTool(
|
||||
// i18n: Here, PC is an acronym for program counter, not personal computer.
|
||||
ID_SHOWPCTOOL, _("Show PC"),
|
||||
wxArtProvider::GetBitmap(wxART_GO_TO_PARENT, wxART_OTHER, m_toolbar_item_size));
|
||||
m_Toolbar->AddSeparator();
|
||||
|
@ -116,15 +116,17 @@ void GFXDebuggerPanel::CreateGUIControls()
|
||||
m_pButtonClearTextureCache->Bind(wxEVT_BUTTON, &GFXDebuggerPanel::OnClearTextureCacheButton,
|
||||
this);
|
||||
|
||||
const wxString clear_vertex_shaders = _("Clear Vertex Shaders");
|
||||
m_pButtonClearVertexShaderCache =
|
||||
new wxButton(this, wxID_ANY, _("Clear V Shaders"), wxDefaultPosition, wxDefaultSize, 0,
|
||||
wxDefaultValidator, _("Clear V Shaders"));
|
||||
new wxButton(this, wxID_ANY, clear_vertex_shaders, wxDefaultPosition, wxDefaultSize, 0,
|
||||
wxDefaultValidator, clear_vertex_shaders);
|
||||
m_pButtonClearVertexShaderCache->Bind(wxEVT_BUTTON,
|
||||
&GFXDebuggerPanel::OnClearVertexShaderCacheButton, this);
|
||||
|
||||
const wxString clear_pixel_shaders = _("Clear Pixel Shaders");
|
||||
m_pButtonClearPixelShaderCache =
|
||||
new wxButton(this, wxID_ANY, _("Clear P Shaders"), wxDefaultPosition, wxDefaultSize, 0,
|
||||
wxDefaultValidator, _("Clear P Shaders"));
|
||||
new wxButton(this, wxID_ANY, clear_pixel_shaders, wxDefaultPosition, wxDefaultSize, 0,
|
||||
wxDefaultValidator, clear_pixel_shaders);
|
||||
m_pButtonClearPixelShaderCache->Bind(wxEVT_BUTTON,
|
||||
&GFXDebuggerPanel::OnClearPixelShaderCacheButton, this);
|
||||
|
||||
|
@ -173,9 +173,14 @@ void JitBlockList::Init()
|
||||
InsertColumn(COLUMN_ADDRESS, _("Address"));
|
||||
InsertColumn(COLUMN_PPCSIZE, _("PPC Size"));
|
||||
InsertColumn(COLUMN_X86SIZE, _("x86 Size"));
|
||||
// i18n: The symbolic name of a code block
|
||||
InsertColumn(COLUMN_NAME, _("Symbol"));
|
||||
// i18n: These are the kinds of flags that a CPU uses (e.g. carry),
|
||||
// not the kinds of flags that represent e.g. countries
|
||||
InsertColumn(COLUMN_FLAGS, _("Flags"));
|
||||
// i18n: The number of times a code block has been executed
|
||||
InsertColumn(COLUMN_NUMEXEC, _("NumExec"));
|
||||
// i18n: Performance cost, not monetary cost
|
||||
InsertColumn(COLUMN_COST, _("Cost"));
|
||||
}
|
||||
|
||||
|
@ -250,6 +250,8 @@ void CMemoryView::OnMouseDownR(wxMouseEvent& event)
|
||||
menu.Append(IDM_COPYADDRESS, _("Copy &address"));
|
||||
menu.Append(IDM_COPYHEX, _("Copy &hex"));
|
||||
#endif
|
||||
// i18n: This kind of "watch" is used for watching emulated memory.
|
||||
// It's not related to timekeeping devices.
|
||||
menu.Append(IDM_WATCHADDRESS, _("Add to &watch"));
|
||||
menu.AppendCheckItem(IDM_TOGGLEMEMORY, _("Toggle &memory"))->Check(memory != 0);
|
||||
|
||||
|
@ -483,6 +483,8 @@ void CRegisterView::OnMouseDownR(wxGridEvent& event)
|
||||
TryParse("0x" + WxStrToStr(strNewVal), &m_selectedAddress);
|
||||
|
||||
wxMenu menu;
|
||||
// i18n: This kind of "watch" is used for watching emulated memory.
|
||||
// It's not related to timekeeping devices.
|
||||
menu.Append(IDM_WATCHADDRESS, _("Add to &watch"));
|
||||
menu.Append(IDM_VIEWMEMORY, _("View &memory"));
|
||||
menu.Append(IDM_VIEWCODE, _("View &code"));
|
||||
@ -495,11 +497,13 @@ void CRegisterView::OnMouseDownR(wxGridEvent& event)
|
||||
menu.Append(IDM_VIEW_HEX8, _("View as hexadecimal"));
|
||||
menu.Append(IDM_VIEW_INT, _("View as signed integer"));
|
||||
menu.Append(IDM_VIEW_UINT, _("View as unsigned integer"));
|
||||
// i18n: Float means floating point number
|
||||
menu.Append(IDM_VIEW_FLOAT, _("View as float"));
|
||||
}
|
||||
else
|
||||
{
|
||||
menu.Append(IDM_VIEW_HEX16, _("View as hexadecimal"));
|
||||
// i18n: Double means double-precision floating point number
|
||||
menu.Append(IDM_VIEW_DOUBLE, _("View as double"));
|
||||
}
|
||||
}
|
||||
|
@ -87,6 +87,7 @@ static wxString GetValueByRowCol(int row, int col)
|
||||
case 3:
|
||||
return _("Decimal");
|
||||
case 4:
|
||||
// i18n: Data type used in computing
|
||||
return _("String");
|
||||
default:
|
||||
return wxEmptyString;
|
||||
@ -258,7 +259,11 @@ void CWatchView::OnMouseDownR(wxGridEvent& event)
|
||||
|
||||
wxMenu menu;
|
||||
if (row != 0 && row != (int)(PowerPC::watches.GetWatches().size() + 1))
|
||||
{
|
||||
// i18n: This kind of "watch" is used for watching emulated memory.
|
||||
// It's not related to timekeeping devices.
|
||||
menu.Append(IDM_DELETEWATCH, _("&Delete watch"));
|
||||
}
|
||||
|
||||
if (row != 0 && row != (int)(PowerPC::watches.GetWatches().size() + 1) && (col == 1 || col == 2))
|
||||
{
|
||||
|
@ -14,6 +14,8 @@ class CWatchWindow : public wxPanel
|
||||
public:
|
||||
CWatchWindow(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL | wxNO_BORDER,
|
||||
// i18n: This kind of "watch" is used for watching emulated memory.
|
||||
// It's not related to timekeeping devices.
|
||||
const wxString& name = _("Watch"));
|
||||
~CWatchWindow();
|
||||
|
||||
|
Reference in New Issue
Block a user