summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp
diff options
context:
space:
mode:
authorLéo Lam <leolino.lam@gmail.com>2018-01-24 10:39:11 +0100
committerGitHub <noreply@github.com>2018-01-24 10:39:11 +0100
commit432ebe793ef021b2e47aca9aece0a500dabc19d7 (patch)
treeffdc0fc64d1736fc0b1c37c3049ab70eb38f739d /Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp
parenta9728928211f32b973d488a81e2a32299ced93df (diff)
parent04b9310bb6364ccb334e3e577fe3c2bff18c1134 (diff)
Merge pull request #6318 from JosJuice/qt-debugger-strings
Tweak Qt debugger strings to be more translation friendly
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp37
1 files changed, 17 insertions, 20 deletions
diff --git a/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp b/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp
index ac870c8804..084fc855c9 100644
--- a/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp
+++ b/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp
@@ -35,26 +35,23 @@ MemoryCheckDlg::MemoryCheckDlg(wxWindow* parent)
m_pEditStartAddress->Disable();
m_pEditEndAddress = new wxTextCtrl(this, wxID_ANY);
m_pEditEndAddress->Disable();
- m_radioAddress = new wxRadioButton(this, wxID_ANY, _("With an address"), wxDefaultPosition,
+ m_radioAddress = new wxRadioButton(this, wxID_ANY, _("With an Address"), wxDefaultPosition,
wxDefaultSize, wxRB_GROUP);
- m_radioRange = new wxRadioButton(this, wxID_ANY, _("Within a range"));
- // i18n: This string is used for a radio button that represents the type of
- // memory breakpoint that gets triggered when a read operation occurs.
- // The string does not mean "read-only" in the sense that something cannot be written to.
- m_radioRead = new wxRadioButton(this, wxID_ANY, _("Read only"), wxDefaultPosition, wxDefaultSize,
- wxRB_GROUP);
- // i18n: This string is used for a radio button that represents the type of
- // memory breakpoint that gets triggered when a write operation occurs.
- // The string does not mean "write-only" in the sense that something cannot be read from.
- m_radioWrite = new wxRadioButton(this, wxID_ANY, _("Write only"));
- // i18n: This string is used for a radio button that represents the type of
- // memory breakpoint that gets triggered when a read operation or write operation occurs.
- // The string is not a command to read and write something or to allow reading and writing.
- m_radioReadWrite = new wxRadioButton(this, wxID_ANY, _("Read and write"));
- m_radioLog =
- new wxRadioButton(this, wxID_ANY, _("Log"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP);
+ m_radioRange = new wxRadioButton(this, wxID_ANY, _("Within a Range"));
+ m_radioRead =
+ // i18n: This is a selectable condition when adding a breakpoint
+ new wxRadioButton(this, wxID_ANY, _("Read"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP);
+ // i18n: This is a selectable condition when adding a breakpoint
+ m_radioWrite = new wxRadioButton(this, wxID_ANY, _("Write"));
+ // i18n: This is a selectable condition when adding a breakpoint
+ m_radioReadWrite = new wxRadioButton(this, wxID_ANY, _("Read or Write"));
+ // i18n: This is a selectable action when adding a breakpoint
+ m_radioLog = new wxRadioButton(this, wxID_ANY, _("Write to Log"), wxDefaultPosition,
+ wxDefaultSize, wxRB_GROUP);
+ // i18n: This is a selectable action when adding a breakpoint
m_radioBreak = new wxRadioButton(this, wxID_ANY, _("Break"));
- m_radioBreakLog = new wxRadioButton(this, wxID_ANY, _("Break and log"));
+ // i18n: This is a selectable action when adding a breakpoint
+ m_radioBreakLog = new wxRadioButton(this, wxID_ANY, _("Write to Log and Break"));
m_radioBreakLog->SetValue(true);
auto* sAddressBox = new wxBoxSizer(wxHORIZONTAL);
@@ -75,13 +72,13 @@ MemoryCheckDlg::MemoryCheckDlg(wxWindow* parent)
sAddressRangeBox->Add(m_pEditEndAddress, 1, wxALIGN_CENTER_VERTICAL);
sAddressRangeBox->AddSpacer(space5);
- auto* sActions = new wxStaticBoxSizer(wxVERTICAL, this, _("Action"));
+ auto* sActions = new wxStaticBoxSizer(wxVERTICAL, this, _("Condition"));
sActions->Add(m_radioRead, 0, wxEXPAND);
sActions->Add(m_radioWrite, 0, wxEXPAND);
sActions->Add(m_radioReadWrite, 0, wxEXPAND);
m_radioWrite->SetValue(true);
- auto* sFlags = new wxStaticBoxSizer(wxVERTICAL, this, _("Flags"));
+ auto* sFlags = new wxStaticBoxSizer(wxVERTICAL, this, _("Action"));
sFlags->Add(m_radioLog);
sFlags->Add(m_radioBreak);
sFlags->Add(m_radioBreakLog);